Comment 4 for bug 1030143

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/10574
Committed: http://github.com/openstack/nova/commit/cf8b2a2026cf8606de0f9474bd2e1563d662b4ab
Submitter: Jenkins
Branch: master

commit cf8b2a2026cf8606de0f9474bd2e1563d662b4ab
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: Id1717e64bc29092ce9ffe13b7c254a3867fe8342