rebuild with new image does not update kernel and ramdisk images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Matthew Gilliard | ||
Juno |
Fix Released
|
Medium
|
Matthew Gilliard |
Bug Description
A nova rebuild which specifies a new image does not seem to update the kernel and ramdisk images (which are properties of the rootfs image). This means that the old kernel and ramdisk are booted for the new image.
Glance image #1
glance image-show 8a073314-
+------
| Property | Value |
+------
| Property 'build_no' | 5 |
| Property 'kernel_id' | a339c5bb-
| Property 'ramdisk_id' | 12cc8c05-
| checksum | 1a5ce92631afb0e
| container_format | bare |
| created_at | 2014-12-10T08:28:00 |
| deleted | False |
| disk_format | qcow2 |
| id | 8a073314-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | undercloud_5 |
| owner | 84c706a15c744fa
| protected | False |
| size | 1209008128 |
| status | active |
| updated_at | 2014-12-10T09:52:52 |
+------
Glance image #2
+------
| Property | Value |
+------
| Property 'build_no' | 0 |
| Property 'kernel_id' | 89214eda-
| Property 'ramdisk_id' | d301f03c-
| checksum | 0f5ce408d516bb7
| container_format | bare |
| created_at | 2014-12-10T09:53:27 |
| deleted | False |
| disk_format | qcow2 |
| id | f2f5f338-
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | undercloud |
| owner | 84c706a15c744fa
| protected | False |
| size | 1276649472 |
| status | active |
| updated_at | 2014-12-10T09:53:35 |
+------
After a nova rebuild
ironic node-show 7acc0e02-
+------
| Property | Value |
+------
| instance_uuid | 1015d70f-
| target_power_state | None |
| properties | {u'memory_mb': u'8192', u'cpu_arch': u'amd64', u'local_gb': u'512', |
| | u'cpus': u'1', u'capabilities': u'role:Undercloud'} |
| maintenance | False |
| driver_info | {u'pxe_
| | u'pxe_deploy_
| | u'ssh_username': u'root', u'ssh_key_
| | u'/mnt/
| | u'192.168.122.1', u'ssh_virt_type': u'virsh'} |
| extra | {} |
| last_error | None |
| created_at | 2014-12-
| target_
| driver | pxe_ssh |
| updated_at | 2014-12-
| maintenance_reason | None |
| instance_info | {u'ramdisk': u'12cc8c05-
| | 'a339c5bb-
| | u'image_source': u'f2f5f338-
| | u'ephemeral_
| | u'preserve_
| | u'HD4AZL3MVP9F4
| chassis_uuid | |
| provision_state | active |
| reservation | None |
| power_state | power on |
| console_enabled | False |
| uuid | 7acc0e02-
+------
Changed in ironic: | |
status: | New → Confirmed |
Changed in ironic: | |
assignee: | nobody → Matthew Gilliard (matthew-gilliard-u) |
Changed in ironic: | |
assignee: | Matthew Gilliard (matthew-gilliard-u) → nobody |
Changed in ironic: | |
assignee: | nobody → Matthew Gilliard (matthew-gilliard-u) |
Changed in ironic: | |
importance: | Undecided → Medium |
Changed in ironic: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/142782
Review: https:/