Bug 1686128
| Summary: | Need to document the proper way to replace old style drivers ironic with new-style drivers. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alexander Chuzhoy <sasha> | ||||
| Component: | documentation | Assignee: | RHOS Documentation Team <rhos-docs> | ||||
| Status: | CLOSED DEFERRED | QA Contact: | RHOS Documentation Team <rhos-docs> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 13.0 (Queens) | CC: | astillma, bfournie, dtantsur, jkreger, mburns, sasha | ||||
| Target Milestone: | --- | Keywords: | Documentation, FutureFeature, ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2022-01-19 21:35:29 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1665032 | ||||||
| Attachments: |
|
||||||
|
Description
Alexander Chuzhoy
2019-03-06 19:10:55 UTC
Note that ironic.conf got updated: [root@undercloud ~]# crudini --get /etc/ironic/ironic.conf DEFAULT enabled_hardware_types redfish,ipmi,idrac,ilo (undercloud) [stack@undercloud ~]$ sudo systemctl restart openstack-ironi* (undercloud) [stack@undercloud ~]$ openstack baremetal driver list +---------------------+-----------------------+ | Supported driver(s) | Active host(s) | +---------------------+-----------------------+ | idrac | localhost.localdomain | | ilo | localhost.localdomain | | ipmi | localhost.localdomain | | pxe_drac | localhost.localdomain | | pxe_ilo | localhost.localdomain | | pxe_ipmitool | localhost.localdomain | | redfish | localhost.localdomain | +---------------------+-----------------------+ Created attachment 1541586 [details]
undercloud.conf
The w/a was to manually hack the ironic.conf file and bounce ironic-conductor. Hi, The pxe_* stuff are old-style drivers, they're updated via enabled_drivers, not via enabled_hardware_types. Please check with enabled_drivers instead. Ack, so having the following in undercloud.conf: [DEFAULT] enabled_hardware_types = ipmi,redfish,ilo,idrac enabled_drivers = pxe_ipmitool,pxe_drac,pxe_ilo Resulted in: +---------------------+-----------------------+ | Supported driver(s) | Active host(s) | +---------------------+-----------------------+ | idrac | localhost.localdomain | | ilo | localhost.localdomain | | ipmi | localhost.localdomain | | pxe_drac | localhost.localdomain | | pxe_ilo | localhost.localdomain | | pxe_ipmitool | localhost.localdomain | | redfish | localhost.localdomain | +---------------------+-----------------------+ Changing to: [DEFAULT] enabled_hardware_types = ipmi,redfish,ilo,idrac enabled_drivers = and re-running 'openstack undercloud install' resulted in: (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 | +---------------------+-----------------------+ Switching it to doc bug. We need to make it clear in the downstream doc, that removing old style drivers needs 2 entries: 1. new style drivers with enabled_hardware_types 2. old style drivers with enabled_drivers (should be empty) Closing out as this is a stale item and the underlying change went into effect some time ago. |