Cells: compute.instance.exists notification prior to rebuild has incorrect OS information
Bug #1292181 reported by
Andrew Laski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Andrew Laski |
Bug Description
Prior to a rebuild, nova issues a compute.
It should have the info for the instance prior to the rebuild, so if you are rebuilding from Centos 6.0 to Ubuntu 10.04, it should list a os_distribution of centos and an os_version of 6.0 Instead it's listing a distribution of Ubuntu and an os_version of 10.04 (i.e. the info for after the rebuild).
tags: | added: cells |
Changed in nova: | |
importance: | Undecided → Medium |
tags: | added: icehouse-rc-potential |
Changed in nova: | |
milestone: | none → icehouse-rc1 |
importance: | Medium → High |
tags: | removed: icehouse-rc-potential |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Before objects the rebuild method would put the new image into system_metadata and save it at the global level. When rebuild got to the cell the original system_metadata would be pulled from the db and held for notification purposes before the local system_metadata was updated. Now with instance objects when the system_metadata is saved at the global level that gets pushed down to the cell as well, so when it's pulled in rebuild at the cell level it has already been updated with the new image.