← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2078999] Re: nova_manage: Image property restored after migration

 

Reviewed:  https://review.opendev.org/c/openstack/nova/+/924319
Committed: https://opendev.org/openstack/nova/commit/2a1fad41453ca7ce15b1cd9b517055c4ccdd12cf
Submitter: "Zuul (22348)"
Branch:    master

commit 2a1fad41453ca7ce15b1cd9b517055c4ccdd12cf
Author: zhong.zhou <zhong.zhou@xxxxxxxxxxxx>
Date:   Wed Jul 17 18:29:46 2024 +0800

    nova-manage: modify image properties in request_spec
    
    At present, we can modify the properties in the instance
    system_metadata through the sub command image_property of
    nova-manage, but there may be inconsistencies between their
    values and those in request_specs.
    
    And the migration is based on request_specs, so the same image
    properties are also written to request_specs.
    
    Closes-Bug: 2078999
    Change-Id: Id36ecd022cb6f7f9a0fb131b0d202b79715870a9


** 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/2078999

Title:
  nova_manage: Image property restored after migration

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Description
  ===========

  I use "nova-manage image_property" to modify image meta of an
  instance, however, the change lost and restored to the older prop
  after migration.

  Steps to reproduce
  ==================

  1.create an instance and set a property in image like hw_qemu_guest_agent=False
  2.use nova-manage image_property set to modify the instance and the prop expected to True
  3.migration the instance

  Expected result
  ===============
  hw_qemu_guest_agent is always True after migration

  Actual result
  =============
  hw_qemu_guest_agent was restored to False after migration

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



References