1. Set other_config:'osvol':'True' on VBD during attach.
2. Use this (instead of nodestroys list) to determine which volumes
should not be destroyed on instance terminate.
3. Ensure that the SRs for the attached volumes are forgotten when
instance is terminated.
In the virt/xenapi layer, there is no way to determine which of the
VDIs are nova volumes. This information is required when terminating
and instance, to ensure the volumes are kept intact, as well as other
operations like migrate.
Reviewed: https:/ /review. openstack. org/10574 github. com/openstack/ nova/commit/ cf8b2a2026cf860 6de0f9474bd2e15 63d662b4ab
Committed: http://
Submitter: Jenkins
Branch: master
commit cf8b2a2026cf860 6de0f9474bd2e15 63d662b4ab
Author: Renuka Apte <email address hidden>
Date: Mon Jul 30 14:56:24 2012 -0700
xenapi: Tag nova volumes during attach_volume
1. Set other_config: 'osvol' :'True' on VBD during attach.
2. Use this (instead of nodestroys list) to determine which volumes
should not be destroyed on instance terminate.
3. Ensure that the SRs for the attached volumes are forgotten when
instance is terminated.
In the virt/xenapi layer, there is no way to determine which of the
VDIs are nova volumes. This information is required when terminating
and instance, to ensure the volumes are kept intact, as well as other
operations like migrate.
Fixes bug 1030143.
Change-Id: Id1717e64bc2909 2ce9ffe13b7c254 a3867fe8342