diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-25 11:15:14 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2012-09-25 14:17:41 -0700 |
| commit | 69564763960cddc249138469811a0a771db16e19 (patch) | |
| tree | 792a87845c1ab6ff2dc418e2e3d9393af65d53c0 /openstack-common.conf | |
| parent | 6e89cd0b8cec0c233e55ea8f4e2bf4f2855073af (diff) | |
| download | nova-69564763960cddc249138469811a0a771db16e19.tar.gz nova-69564763960cddc249138469811a0a771db16e19.tar.xz nova-69564763960cddc249138469811a0a771db16e19.zip | |
Fix issues with device autoassignment in xenapi
This is a workaround for two issues in xenapi. The first is that
does not set the instance default_root_device to /dev/xvda so it
defaults to /dev/sda. The proper fix for this involves setting the
default_root_device in xenapi and a db migration to set the proper
default_root_device for existing instances.
This patch works around this issue by explicitly setting the prefix
to /dev/xvd if the compute driver is xenapi.
The second issue is that xenapi never updates the instance record
to include default_swap_device and default_ephemeral device. The
fix for this involes adding the appropriate update to the instance
record and a migration that sets the proper values for all existing
instances.
This patch works around this issue by explicily checking the
instance_type and removing the devices from the list if the compute
driver is xenapi.
Fixes bug 1055715 and bug 1055712
Change-Id: I61aa15e69eb0a22430bb22ea5149b1f0735b3328
Diffstat (limited to 'openstack-common.conf')
0 files changed, 0 insertions, 0 deletions
