Bug 1041070 - [RFE][nova]: XenAPI: migrate ephemeral disks instead of re-creating
Summary: [RFE][nova]: XenAPI: migrate ephemeral disks instead of re-creating
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: Upstream M1
: 5.0 (RHEL 7)
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/nova...
Whiteboard: upstream_milestone_icehouse-1 upstrea...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 13:33 UTC by RHOS Integration
Modified: 2019-09-09 13:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-12 21:31:47 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 13:33:50 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/xenapi-migrate-ephemeral-disks.

Description:

When migrating, the xenapi driver currently drops the ephemeral disk, and re-creates it on the destination. This doesn't really fit the use cases properly, we should migrate both the root and ephemeral disks.

If machine is dead, use evacuate:
* volume root disk: reattach
* other disks: re-create, or download from glance

if machine is alive, use migrate:
* attempt to move disks to new host
* optionally turn off the VM to reduce stress on server

Where machine can still run a VM, as failure is not iminent, attempt live-migrate:
* only works with VM running (XenAPI limitation)
* does put a lot of stress on servers with mirroring the disk while copying the disk

Note: currently in the above middle migrate case, the ephemeral disk is deleted, rather than migrated. This blueprint aims to fix this, so the above use cases all make more sense.

Snapshots still do not backup the ephemeral disk, but this data should be kept during migrates, as this should just be a "maintenance" operation that is as transparent to the user as possible.

For consistency, this also means we should correctly resize ephemeral disk, rather than delete then re-create them on the destination.

Specification URL (additional information):

None

Comment 2 Stephen Gordon 2013-12-12 21:31:47 UTC
Xen is not formally supported in RHELOSP at this time.


Note You need to log in before you can comment on or make changes to this bug.