Updating the port address for an active instance does not regenerate the PXE configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Triaged
|
High
|
Unassigned |
Bug Description
Ironic is not recreating the PXE configuration file when you update the port address of an active instance (see https:/
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-
| 5160b357-
+------
[stack@localhost ~]$ ironic node-port-list node-0
+------
| UUID | Address |
+------
| 3ce9fc9b-
+------
[stack@localhost ~]$ ls /opt/stack/
52-54-00-ff-3f-81
[stack@localhost ~]$ ironic node-set-
# Changed the last digit from 1 to 2
[stack@localhost ~]$ ironic port-update 3ce9fc9b-
+------
| Property | Value |
+------
| address | 52:54:00:ff:3f:82 |
| created_at | 2016-08-
| extra | {u'vif_port_id': u'03104679-
| local_link_
| node_uuid | ecee7930-
| pxe_enabled | |
| updated_at | 2016-08-
| uuid | 3ce9fc9b-
+------
[stack@localhost ~]$ ls /opt/stack/
52-54-00-ff-3f-81
Changed in ironic: | |
assignee: | nobody → Lucas Alvares Gomes (lucasagomes) |
importance: | Undecided → High |
description: | updated |
Changed in ironic: | |
status: | New → Triaged |
tags: | added: pxe |
information type: | Public → Public Security |
information type: | Public Security → Public |
Changed in ironic: | |
assignee: | Lucas Alvares Gomes (lucasagomes) → Dmitry Tantsur (divius) |
Changed in ironic: | |
assignee: | Dmitry Tantsur (divius) → nobody |