Virtuozzo instance resize support

Registered by Maxim Nestratov

Resize feature isn't supported for now in Virtuozzo OpenStack (former Parallels Cloud Server or PCS) instances. This change is about filling this gap.

The main difference between disks based on qcow and ploop images is that ploop ones are actually directories containing disk descriptor xml file. As the support of PCS is made as a subdriver in libvirt the blueprint proposes to use prl_disk_tool in "extend" api function instead of qemu-img and to change "cp" and "rsync" execution by adding "-r" parameter to take into account directory nature of parallels disks.

Blueprint information

Status:
Complete
Approver:
John Garbutt
Priority:
Low
Drafter:
Maxim Nestratov
Direction:
Approved
Assignee:
Mikhail Feoktistov
Definition:
Approved
Series goal:
Accepted for newton
Implementation:
Implemented
Milestone target:
milestone icon newton-2
Started by
Maxim Nestratov
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:tmp-hyp-matrix,n,z

We decided to approve the blueprint in the recent nova-meeting, but with a note that if the code seems like it needs more design work, we may revert this and force a spec review --johnthetubaguy 11 June 2015

Gerrit topic: https://review.openstack.org/#q,topic:xyz,n,z

Addressed by: https://review.openstack.org/182390
    libvirt: resize ploop disks with prl_disk_tool

Sorry, we have now hit the non-priority feature freeze for Liberty. You will need to resubmit this blueprint for Mitaka or apply for an exception. For more details on why this is happening, and the rest of the process details, please see: https://wiki.openstack.org/wiki/Nova/Liberty_Release_Schedule
--johnthetubaugy 3rd July 2015

I'm in favor of re-approving this for mitaka w/o a spec, it was approved in liberty and the code was up and I think they had CI running on it, it just came kind of late with the CI so missed the feature freeze. -- mriedem 20151014

Re-approved for mitaka --johnthetubaguy 20151019

Pending patches
==============

Gerrit topic: https://review.openstack.org/#q,topic:bp/virtuozzo-instance-resize-support,n,z

Addressed by: https://review.openstack.org/182257
    Virtuozzo instance resize support

Sorry, we have now hit the Non-Priority Feature Freeze for Mitaka. For more details please see: http://docs.openstack.org/releases/schedules/mitaka.html#m-nova-npff and http://docs.openstack.org/developer/nova/process.html#non-priority-feature-freeze
--johnthetubaguy 2016.01.31

Re-approved without a spec (this is feature parity in the virt driver) for Newton. Just make sure your compute CI is testing this. -- mriedem 20160429

Addressed by: https://review.openstack.org/222567
    libvirt: fix disk size calculation for VZ container instances

Addressed by: https://review.openstack.org/260636
    add ploop support into qemu-img info

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.