Bug 1652998

Summary: After upgrade from previous release, impossible to configure node if the driver wasn't set to new format.
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: openstack-ironicAssignee: Iury Gregory Melo Ferreira <imelofer>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: medium Docs Contact:
Priority: medium    
Version: 14.0 (Rocky)CC: bfournie, dmacpher, dtantsur, imelofer, mburns, tvignaud
Target Milestone: asyncKeywords: Reopened, Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-ironic-11.1.1-0.20181012152843.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-24 14:01:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ironic-conductor logs none

Description Alexander Chuzhoy 2018-11-24 02:00:52 UTC
After upgrade from previous release, impossible to configure node if the driver wasn't set to new format.

Environment:
openstack-ironic-common-11.1.1-0.20181012152841.el7ost.noarch
instack-undercloud-9.4.1-0.20180928005746.15cda5a.el7ost.noarch
python2-ironicclient-2.5.0-0.20180810135843.fb94fb8.el7ost.noarch
openstack-ironic-conductor-11.1.1-0.20181012152841.el7ost.noarch
openstack-ironic-staging-drivers-0.10.1-0.20180820161038.39c4e93.el7ost.noarch
puppet-ironic-13.3.1-0.20181013115250.el7ost.noarch
python-ironic-lib-2.14.0-0.20180810074837.344161b.el7ost.noarch
openstack-ironic-api-11.1.1-0.20181012152841.el7ost.noarch
openstack-ironic-inspector-8.0.1-0.20180924215820.e89450c.el7ost.noarch
python2-ironic-inspector-client-3.3.0-0.20180810080932.53bf4e8.el7ost.noarch
python2-ironic-neutron-agent-1.2.1-0.20180831194318.af95c72.el7ost.noarch
python2-openstackclient-3.16.1-0.20180925042058.3e5a2d2.el7ost.noarch


Steps to reproduce:
1. Complete upgrade from osp13 to osp14
2. Try to change the driver from pxe_ipmitool to ipmi


Result:

(undercloud) [stack@undercloud-0 ~]$ openstack baremetal node set --driver ipmi ceph-0
Could not find the following driver(s) or hardware type(s): pxe_ipmitool. (HTTP 404)


(undercloud) [stack@undercloud-0 ~]$ openstack baremetal node show ceph-0 --fields driver -f value 
pxe_ipmitool

Comment 1 Alexander Chuzhoy 2018-11-26 14:09:40 UTC
(undercloud) [stack@undercloud-0 ~]$ openstack baremetal driver list
+---------------------+---------------------------+
| Supported driver(s) | Active host(s)            |
+---------------------+---------------------------+
| idrac               | undercloud-0.redhat.local |
| ilo                 | undercloud-0.redhat.local |
| ipmi                | undercloud-0.redhat.local |
| redfish             | undercloud-0.redhat.local |
+---------------------+---------------------------+

Comment 2 Alexander Chuzhoy 2018-11-26 14:26:15 UTC
Created attachment 1508580 [details]
ironic-conductor logs

Comment 5 Iury Gregory Melo Ferreira 2019-01-09 12:45:10 UTC

*** This bug has been marked as a duplicate of bug 1661804 ***

Comment 7 Alexander Chuzhoy 2019-01-22 14:33:52 UTC
Verified:
Environment:
openstack-ironic-common-11.1.1-0.20181012152843.el7ost.noarch
openstack-ironic-conductor-11.1.1-0.20181012152843.el7ost.noarch
openstack-ironic-staging-drivers-0.10.1-0.20180820161038.39c4e93.el7ost.noarch

Switching the driver works:

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

Comment 8 Alexander Chuzhoy 2019-01-22 14:34:13 UTC
Verified:
Environment:
openstack-ironic-common-11.1.1-0.20181012152843.el7ost.noarch
openstack-ironic-conductor-11.1.1-0.20181012152843.el7ost.noarch
openstack-ironic-staging-drivers-0.10.1-0.20180820161038.39c4e93.el7ost.noarch

Switching the driver works:

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

Comment 10 errata-xmlrpc 2019-01-24 14:01:13 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:0151