Bug 1599065
| Summary: | Could not find the following items in the 'ironic.hardware.types' entrypoint: fake | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Johan Swensson <jswensso> |
| Component: | documentation | Assignee: | RHOS Documentation Team <rhos-docs> |
| Status: | CLOSED NOTABUG | QA Contact: | RHOS Documentation Team <rhos-docs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 13.0 (Queens) | CC: | amcleod, bfournie, djuran, igallagh, jkreger, mburns, mori, mputhenp, srevivo, trdillon07 |
| Target Milestone: | --- | ||
| 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-03-23 14:18:12 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: | |||
|
Description
Johan Swensson
2018-07-08 12:29:49 UTC
Greetings. Looks like the documentation is wrong. For the hardware type, it is "fake-hardware", not "fake" which was the "classic drivers" driver name. Using fake-hardware doesn't seem to work either. I get this in ironic-conductor.log 2018-07-31 12:35:29.840 12080 ERROR ironic.conductor.base_manager [req-87b6e263-9f76-4256-91cf-028606267596 - - - - -] Failed to register hardware types. For hardware type 'fake-hardware', no default value found for deploy interface.: NoValidDefaultForInterface: For hardware type 'fake-hardware', no default value found for deploy interface. And trying to import nodes gives this error: Started Mistral Workflow tripleo.baremetal.v1.register_or_update. Execution ID: fe5c3441-0de0-4472-9519-e056474ac0a4 Waiting for messages on queue 'tripleo' with no timeout. No valid host was found. Reason: No conductor service registered which supports driver fake-hardware. (HTTP 400) Exception registering nodes: No valid host was found. Reason: No conductor service registered which supports driver fake-hardware. (HTTP 400) So the default interface used is a union of the enabled interfaces with the hardware-type, so you'll need to set enabled_deploy_interfaces to at least include fake in the list, along with the other interfaces. The setup.cfg in the ironic repo lists all of the *_interfaces along with the individual possible values. https://git.openstack.org/cgit/openstack/ironic/tree/setup.cfg?h=11.0.0 Alternatively, if those are not set or not matching the nodes your trying to create, you may need a default_<interface>_interface setting, such as default_deploy_interface = fake setting. Julia's answer appears correct. I added manual-management to the enable_hardware_types and the error went away. Hosts are not enrolling properly. enabled_hardware_types = manual-management,ipmi,redfish,ilo,idrac I alse test adding to discovery_default_driver and it worked properly as well: discovery_default_driver = manual-management We have tried what Travis has done, but still having the same issue. Can anyone please update with a correct way of doing it ? Hi, I found another bugzilla[1] which says manual-management is not yet supported in OSP13. I also would like to know how to set up fake driver in OSP13. https://bugzilla.redhat.com/show_bug.cgi?id=1607720 This bug has been closed as NOTABUG because the requested content seems to already exist in our documentation. If you believe this bug has been closed in error, please re-open and provide a comment telling us what additional documentation you require, and provide a link to your active support case. Thank you for your help! |