← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1562681] Re: Post instance evacuation, image metadata is not retained when using shared storage

 

Reviewed:  https://review.openstack.org/309440
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=82098d06dbaf401966a70c873b8aa97e7eab4b10
Submitter: Jenkins
Branch:    master

commit 82098d06dbaf401966a70c873b8aa97e7eab4b10
Author: Kashyap Chamarthy <kchamart@xxxxxxxxxx>
Date:   Fri Apr 22 12:12:26 2016 +0200

    compute: Retain instance metadata for 'evacuate' on shared storage
    
    When performing instance evacuation (which is essentially "rebuild an
    instance elsewhere"), image metadata is not persistent -- this manifests
    only when instances are on shared storage.
    
    So, supply the original instance metadata to 'image_meta' parameter,
    instead of an empty dict.
    
    Change-Id: Ibea4954c149b9dcb162c5962ab8e9a4f17e51a1d
    Co-Authored-By: Diana Clarke <diana.joan.clarke@xxxxxxxxx>
    Closes-Bug: 1562681


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1562681

Title:
  Post instance evacuation, image metadata is not retained when using
  shared storage

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) liberty series:
  New
Status in OpenStack Compute (nova) mitaka series:
  New

Bug description:
  when we boot a instance with image , and the image has metadata,  eg.
  hw_qemu_guest_agent=yes.that means the instance enable qemu-guest-
  agent,but the qemu-guest-agent was disappeared after the instance
  evacuated.

  nova evacuate 10836590-b600-429c-a106-3e67b14f572e node58 --on-shared-
  storage

  # dpkg -l |grep nova
  ii  nova-common                         2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - common files
  ii  nova-compute                        2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - compute node base
  ii  nova-compute-kvm                    2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - compute node (KVM)
  ii  nova-compute-libvirt                2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute - compute node libvirt support
  ii  python-nova                         2:12.0.1-0ubuntu1~cloud0              all          OpenStack Compute Python libraries
  ii  python-novaclient                   2:2.30.1-1~cloud0                     all          client library for OpenStack Compute API

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1562681/+subscriptions


References