instance live resize

Registered by Claudiu Belu on 2014-12-07

In Windows Hyper-V / Server 2012 R2 a new feature was introduced, allowing users to resize the virtual hard disks and memory while the virtual machines are still running. Because of this, no down time for the spawned instances is necessary when performing nova resize. Some restrictions apply though, the virtual hard disk must have the VHDX format and must be attached to a SCSI controller.

For Windows Hyper-V / Server 2012 R2, hot resize is possible only if the new nova flavor has the same CPU requirements as the old flavor, cold resize is unavoidable otherwise.

Details: http://technet.microsoft.com/en-us/library/dn282286.aspx

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
Claudiu Belu
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Slow progress
Milestone target:
None
Started by
Claudiu Belu on 2015-06-12

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/141219
    Adds spec for Hyper-V instance hot resize

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

Addressed by: https://review.openstack.org/184584
    Adds instance live resize nova-api microversion

Addressed by: https://review.openstack.org/184585
    Adds live resize task states and instance action

Addressed by: https://review.openstack.org/185961
    db: Adds live-resize to Migration model migration_type

Addressed by: https://review.openstack.org/185962
    objects: Adds live-resize to Migration object migration_type

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

Addressed by: https://review.openstack.org/248579
    conductor: add live_resize task

Addressed by: https://review.openstack.org/248581
    compute: Adds instance live resize

Addressed by: https://review.openstack.org/257925
    Amends the spec for instance live resize

Addressed by: https://review.openstack.org/259082
    objects: Adds os_live_resize field to ImageMetaProps

Addressed by: https://review.openstack.org/272903
    libvirt driver: Add instance live-resize

Addressed by: https://review.openstack.org/275379
    virt/libvirt: Consider live-resize limmits when booting an instance.

Addressed by: https://review.openstack.org/275383
    Compute: Add check on live-resize constraints

Addressed by: https://review.openstack.org/275388
    libvirt: Add methods to parse of domain metadata from xml

Addressed by: https://review.openstack.org/275412
    libvirt: live-resize vcpus

Addressed by: https://review.openstack.org/275922
    virt/libvirt: Consider live-resize limits when booting an instance

Addressed by: https://review.openstack.org/276337
    Libvirt: Add methods to parse domain metadata from xml

Addressed by: https://review.openstack.org/276445
    Libvirt: live-resize vcpus without NUMA

Addressed by: https://review.openstack.org/276884
    Compute: Check live-resize constraints

Addressed by: https://review.openstack.org/548535
    hyper-v: Adds instance live-resize

(?)

Work Items