Activity log for bug #1614094

Date Who What changed Old value New value Message
2016-08-17 13:03:37 Lucas Alvares Gomes bug added bug
2016-08-17 13:03:42 Lucas Alvares Gomes ironic: assignee Lucas Alvares Gomes (lucasagomes)
2016-08-17 13:03:45 Lucas Alvares Gomes ironic: importance Undecided High
2016-08-17 13:06:38 Lucas Alvares Gomes description Ironic is not recreating the PXE configuration file when you update the port address of an active instance (see https://bugs.launchpad.net/ironic/+bug/1611744) resulting in a boot error if the instance is rebooted. This problem does not affect nodes configured to boot from the local disk. Logs: [stack@localhost ~]$ ironic node-list +--------------------------------------+--------+--------------------------------------+-------------+--------------------+-------------+ | UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+--------+--------------------------------------+-------------+--------------------+-------------+ | ecee7930-bd62-461c-98ef-6761d5420b63 | node-0 | 5439d859-c473-4ccd-acb0-37655e5de38f | power on | active | False | | 5160b357-6c3b-4254-9103-7173fb1c0e6c | node-1 | None | power off | available | False | +--------------------------------------+--------+--------------------------------------+-------------+--------------------+-------------+ [stack@localhost ~]$ ironic node-port-list node-0 +--------------------------------------+-------------------+ | UUID | Address | +--------------------------------------+-------------------+ | 3ce9fc9b-a790-4325-bbdb-d4208bb42bba | 52:54:00:ff:3f:81 | +--------------------------------------+-------------------+ [stack@localhost ~]$ ls /opt/stack/data/ironic/httpboot/pxelinux.cfg/ 52-54-00-ff-3f-81 [stack@localhost ~]$ ironic node-set-maintenance node-0 True # Changed the last digit from 1 to 2 [stack@localhost ~]$ ironic port-update 3ce9fc9b-a790-4325-bbdb-d4208bb42bba add address="52:54:00:ff:3f:82" +-----------------------+-----------------------------------------------------------+ | Property | Value | +-----------------------+-----------------------------------------------------------+ | address | 52:54:00:ff:3f:82 | | created_at | 2016-08-15T16:35:48+00:00 | | extra | {u'vif_port_id': u'03104679-1a8a-4e6e-b09f-62868feb7eeb'} | | local_link_connection | | | node_uuid | ecee7930-bd62-461c-98ef-6761d5420b63 | | pxe_enabled | | | updated_at | 2016-08-15T21:26:08+00:00 | | uuid | 3ce9fc9b-a790-4325-bbdb-d4208bb42bba | +-----------------------+-----------------------------------------------------------+ [stack@localhost ~]$ ls /opt/stack/data/ironic/httpboot/pxelinux.cfg/ 52-54-00-ff-3f-81 Ironic is not recreating the PXE configuration file when you update the port address of an active instance (see https://bugs.launchpad.net/ironic/+bug/1611744) resulting in a boot error if the instance is rebooted. This problem does not affect nodes configured to boot from the local disk. Workaround: Rename the PXE configuration to match the new mac address Logs: [stack@localhost ~]$ ironic node-list +--------------------------------------+--------+--------------------------------------+-------------+--------------------+-------------+ | UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance | +--------------------------------------+--------+--------------------------------------+-------------+--------------------+-------------+ | ecee7930-bd62-461c-98ef-6761d5420b63 | node-0 | 5439d859-c473-4ccd-acb0-37655e5de38f | power on | active | False | | 5160b357-6c3b-4254-9103-7173fb1c0e6c | node-1 | None | power off | available | False | +--------------------------------------+--------+--------------------------------------+-------------+--------------------+-------------+ [stack@localhost ~]$ ironic node-port-list node-0 +--------------------------------------+-------------------+ | UUID | Address | +--------------------------------------+-------------------+ | 3ce9fc9b-a790-4325-bbdb-d4208bb42bba | 52:54:00:ff:3f:81 | +--------------------------------------+-------------------+ [stack@localhost ~]$ ls /opt/stack/data/ironic/httpboot/pxelinux.cfg/ 52-54-00-ff-3f-81 [stack@localhost ~]$ ironic node-set-maintenance node-0 True # Changed the last digit from 1 to 2 [stack@localhost ~]$ ironic port-update 3ce9fc9b-a790-4325-bbdb-d4208bb42bba add address="52:54:00:ff:3f:82" +-----------------------+-----------------------------------------------------------+ | Property | Value | +-----------------------+-----------------------------------------------------------+ | address | 52:54:00:ff:3f:82 | | created_at | 2016-08-15T16:35:48+00:00 | | extra | {u'vif_port_id': u'03104679-1a8a-4e6e-b09f-62868feb7eeb'} | | local_link_connection | | | node_uuid | ecee7930-bd62-461c-98ef-6761d5420b63 | | pxe_enabled | | | updated_at | 2016-08-15T21:26:08+00:00 | | uuid | 3ce9fc9b-a790-4325-bbdb-d4208bb42bba | +-----------------------+-----------------------------------------------------------+ [stack@localhost ~]$ ls /opt/stack/data/ironic/httpboot/pxelinux.cfg/ 52-54-00-ff-3f-81
2016-08-17 15:31:42 Bob Fournier bug added subscriber Bob Fournier
2016-08-22 14:33:16 Dmitry Tantsur ironic: status New Triaged
2016-08-22 14:33:24 Dmitry Tantsur tags pxe
2017-12-01 08:40:44 wangzhengwei information type Public Public Security
2017-12-01 08:40:53 wangzhengwei information type Public Security Public
2018-02-19 13:49:17 Dmitry Tantsur ironic: assignee Lucas Alvares Gomes (lucasagomes) Dmitry Tantsur (divius)
2018-03-19 13:18:20 Dmitry Tantsur ironic: assignee Dmitry Tantsur (divius)