Bug 1665032 - [OSP 13] Ironic cannot update nodes with broken driver (e.g. removed pxe_ipmitool)
Summary: [OSP 13] Ironic cannot update nodes with broken driver (e.g. removed pxe_ipmi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: z5
: 13.0 (Queens)
Assignee: Dmitry Tantsur
QA Contact: mlammon
URL:
Whiteboard:
Depends On: 1661804 1686128
Blocks: 1664710
TreeView+ depends on / blocked
 
Reported: 2019-01-10 10:48 UTC by Dmitry Tantsur
Modified: 2019-03-14 13:54 UTC (History)
4 users (show)

Fixed In Version: openstack-ironic-10.1.6-5.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, an issue in the node update code prevented the `openstack baremetal node set --driver` command from working on nodes for which the old driver was unavailable. As a result, it was impossible to update nodes if the old node driver was removed or disabled. With this update, the new driver is always used for node update operations and it is possible to recover nodes with removed or disabled drivers by setting the driver field to an active driver.
Clone Of: 1661804
Environment:
Last Closed: 2019-03-14 13:54:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 629829 0 None None None 2019-01-10 10:48:43 UTC
Red Hat Product Errata RHBA-2019:0559 0 None None None 2019-03-14 13:54:48 UTC
Storyboard 2004741 0 None None None 2019-01-10 10:49:57 UTC

Comment 17 Alexander Chuzhoy 2019-03-06 19:41:48 UTC
Verified:
Environment: openstack-ironic-common-10.1.7-1.el7ost.noarch

(undercloud) [stack@undercloud ~]$ openstack baremetal driver list
+---------------------+-----------------------+
| Supported driver(s) | Active host(s)        |
+---------------------+-----------------------+
| idrac               | localhost.localdomain |
| ilo                 | localhost.localdomain |
| ipmi                | localhost.localdomain |
| pxe_ipmitool        | localhost.localdomain |
| redfish             | localhost.localdomain |
+---------------------+-----------------------+


(undercloud) [stack@undercloud ~]$ openstack baremetal node show ceph0-leaf0 -f value -c driver
pxe_ipmitool
(undercloud) [stack@undercloud ~]$ sudo vi /etc/ironic/ironic.conf 
(undercloud) [stack@undercloud ~]$ sudo systemctl restart openstack-ironic-conductor
(undercloud) [stack@undercloud ~]$ openstack baremetal driver list
+---------------------+-----------------------+
| Supported driver(s) | Active host(s)        |
+---------------------+-----------------------+
| idrac               | localhost.localdomain |
| ilo                 | localhost.localdomain |
| ipmi                | localhost.localdomain |
| redfish             | localhost.localdomain |
+---------------------+-----------------------+
(undercloud) [stack@undercloud ~]$ openstack baremetal node show ceph0-leaf0 -f value -c driver
pxe_ipmitool

(undercloud) [stack@undercloud ~]$ openstack baremetal node set --driver ipmi ceph0-leaf0
(undercloud) [stack@undercloud ~]$ openstack baremetal node show ceph0-leaf0 -f value -c driver
ipmi

(undercloud) [stack@undercloud ~]$ openstack baremetal node power on ceph0-leaf0
(undercloud) [stack@undercloud ~]$ openstack baremetal node list|grep ceph0-leaf0
| 57faf65f-8256-40b2-95fb-c33cb9c59072 | ceph0-leaf0        | None          | power off   | available          | False       |
(undercloud) [stack@undercloud ~]$ openstack baremetal node list|grep ceph0-leaf0
| 57faf65f-8256-40b2-95fb-c33cb9c59072 | ceph0-leaf0        | None          | power on    | available          | False       |

Comment 19 errata-xmlrpc 2019-03-14 13:54:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0559


Note You need to log in before you can comment on or make changes to this bug.