Bug 1613645
| Summary: | [RFE] Make the driver list command clearly indicate that the empty list means no conductors are running | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alexander Chuzhoy <sasha> |
| Component: | python-ironicclient | Assignee: | RHOS Maint <rhos-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | mlammon |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 13.0 (Queens) | CC: | apevec, bfournie, dtantsur, jkreger, lhh, mburns, srevivo |
| Target Milestone: | --- | Keywords: | FutureFeature, Reopened |
| 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: | 2020-08-31 18:12:39 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: | 1596763 | ||
|
Description
Alexander Chuzhoy
2018-08-08 04:31:19 UTC
Hi! If the logs were posted to this bug ;) you'd see that ironic-conductor crashed because pxe_ucs (like anything starting with pxe_) is a classic driver, not a hardware type. Use enabled_drivers for it or use the cisco-ucs-managed hardware type (OSP 14+). If you add 'foo' to the list, the driver list also becomes empty. Can we use this bug to add validation instead of successfully running and ending with an empty list? Re-opening for now. Let's rephrase accordingly then. However, since any change will be breaking, I doubt we'll do it. Is the issue that setting an invalid string, i.e. not a valid hardware type, in enabled_hardware_types causes a ironic-conductor crash? > Is the issue that setting an invalid string, i.e. not a valid hardware type, in
enabled_hardware_types causes a ironic-conductor crash?
This is by design. I assumed Sasha is talking about returning something more obvious than an empty list from the 'driver list' command.
Right, best would be to show error even before running undercloud installation. Otherwise, IMHO we should just fail during uc installation. Note: enabled_drivers is deprecated and isn't even shown in OSP14 sample file. It's actually a good question why the installation proceeds even if one service failed to start. Given the age of this item, it seems like we're not going to change the command as originally requested. Realistically tooling around changing these settings should be validating the contents of the list and the driver list changing any behavior would be a breaking change regardless, which as noted is unlikely to be accepted upstream. Marking Closed/Wontfix. |