← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1420597] Re: metadata missed after aggregate's az updated

 

** Also affects: nova/icehouse
   Importance: Undecided
       Status: New

** Changed in: nova
       Status: Incomplete => Invalid

-- 
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/1420597

Title:
  metadata missed after aggregate's az updated

Status in OpenStack Compute (Nova):
  Invalid
Status in OpenStack Compute (nova) icehouse series:
  New

Bug description:
  After changing aggregate's availability_zone to another, the other
  metadatas of this aggregate missed.

  Reproduce:
  1. create one aggregate which belong to "nova";
  # nova aggregate-create hagg-test nova
  +-----+-----------+-------------------+-------+--------------------------+
  | Id  | Name      | Availability Zone | Hosts | Metadata                 |
  +-----+-----------+-------------------+-------+--------------------------+
  | 134 | hagg-test | nova              |       | 'availability_zone=nova' |
  +-----+-----------+-------------------+-------+--------------------------+
  2. set metadata: foo=bar
  # nova aggregate-set-metadata hagg-test foo=bar
  Metadata has been successfully updated for aggregate 134.
  +-----+-----------+-------------------+-------+-------------------------------------+
  | Id  | Name      | Availability Zone | Hosts | Metadata                            |
  +-----+-----------+-------------------+-------+-------------------------------------+
  | 134 | hagg-test | nova              |       | 'availability_zone=nova', 'foo=bar' |
  +-----+-----------+-------------------+-------+-------------------------------------+
  3. change the availability_zone
  # nova aggregate-update 134 hagg-test az-test
  Aggregate 136 has been successfully updated.
  +-----+-----------+-------------------+-------+-----------------------------+
  | Id  | Name      | Availability Zone | Hosts | Metadata                    |
  +-----+-----------+-------------------+-------+-----------------------------+
  | 136 | hagg-test | az-test           |       | 'availability_zone=az-test' |
  +-----+-----------+-------------------+-------+-----------------------------+

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


References