Bug 2239356
| Summary: | Introspection using Redfish virtual media failed with "Failed to resolve the hostname ([2001:DB8::1]) for node <nodeID>" | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Mircea Vutcovici <mircea.vutcovici> |
| Component: | openstack-ironic-inspector | Assignee: | Harald Jensås <hjensas> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 17.1 (Wallaby) | CC: | hjensas, jparoly, mariel, sbaker |
| Target Milestone: | z4 | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-ironic-inspector-10.6.3-17.1.20240826030757.9fef41d.el9ost | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-11-21 09:38:50 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: | |||
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 (RHOSP 17.1.4 bug fix and enhancement 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-2024:9974 |
Description of problem: The introspection fails because the URL is using an IPv6 address in the host part, which is interpreted as a hostname and not as an IPv6 address, and fails to resolve with DNS. The introspection fails with the following error. 0080-sosreport ... /home/stack/ansible.log 2023-09-15 20:29:10,389 p=778223 u=stack n=ansible | 2023-09-15 20:29:10.388761 | 52540069-8482-324b-76d9-000000000011 | TASK | Introspection log 2023-09-15 20:29:10,457 p=778223 u=stack n=ansible | 2023-09-15 20:29:10.456687 | 52540069-8482-324b-76d9-000000000011 | OK | Introspection log | localhost | result={ "baremetal_introspection_result.logging": [ "2023-09-15 20:29:05,843 INFO os_tripleo_baremetal_node_introspection: Preparing for attempt 1 for node: 6d91c763-42a9-4107-b868-e7a68ce7f2ec", "2023-09-15 20:29:05,844 INFO os_tripleo_baremetal_node_introspection: Introspecting node: 6d91c763-42a9-4107-b868-e7a68ce7f2ec", "2023-09-15 20:29:05,850 INFO os_tripleo_baremetal_node_introspection: Preparing for attempt 1 for node: fd32575b-da36-4243-9dce-82676c6605bf", "2023-09-15 20:29:05,850 INFO os_tripleo_baremetal_node_introspection: Introspecting node: fd32575b-da36-4243-9dce-82676c6605bf", "2023-09-15 20:29:05,854 INFO os_tripleo_baremetal_node_introspection: Preparing for attempt 1 for node: 49eaca78-6e52-496f-a611-c5c238e9a9c8", "2023-09-15 20:29:05,854 INFO os_tripleo_baremetal_node_introspection: Introspecting node: 49eaca78-6e52-496f-a611-c5c238e9a9c8", "2023-09-15 20:29:08,002 ERROR os_tripleo_baremetal_node_introspection: Introspection of node 6d91c763-42a9-4107-b868-e7a68ce7f2ec failed on attempt 1: Node 6d91c763-42a9-4107-b868-e7a68ce7f2ec reached failure state \"inspect failed\"; the last error is Failed to start inspection: BadRequestException: 400: Client Error for url: http://172.20.4.102:5050/v1/introspection/6d91c763-42a9-4107-b868-e7a68ce7f2ec, Failed to resolve the hostname ([2001:DB8::1:9e40]) for node 6d91c763-42a9-4107-b868-e7a68ce7f2ec", "2023-09-15 20:29:08,047 INFO os_tripleo_baremetal_node_introspection: Preparing for attempt 2 for node: 6d91c763-42a9-4107-b868-e7a68ce7f2ec", "2023-09-15 20:29:08,047 INFO os_tripleo_baremetal_node_introspection: Introspecting node: 6d91c763-42a9-4107-b868-e7a68ce7f2ec", "2023-09-15 20:29:08,052 ERROR os_tripleo_baremetal_node_introspection: Introspection of node 49eaca78-6e52-496f-a611-c5c238e9a9c8 failed on attempt 1: Node 49eaca78-6e52-496f-a611-c5c238e9a9c8 reached failure state \"inspect failed\"; the last error is Failed to start inspection: BadRequestException: 400: Client Error for url: http://172.20.4.102:5050/v1/introspection/49eaca78-6e52-496f-a611-c5c238e9a9c8, Failed to resolve the hostname ([2001:DB8::2:3d82]) for node 49eaca78-6e52-496f-a611-c5c238e9a9c8", "2023-09-15 20:29:08,057 ERROR os_tripleo_baremetal_node_introspection: Introspection of node fd32575b-da36-4243-9dce-82676c6605bf failed on attempt 1: Node fd32575b-da36-4243-9dce-82676c6605bf reached failure state \"inspect failed\"; the last error is Failed to start inspection: BadRequestException: 400: Client Error for url: http://172.20.4.102:5050/v1/introspection/fd32575b-da36-4243-9dce-82676c6605bf, Failed to resolve the hostname ([2001:DB8::3::a089]) for node fd32575b-da36-4243-9dce-82676c6605bf", "2023-09-15 20:29:08,078 INFO os_tripleo_baremetal_node_introspection: Preparing for attempt 2 for node: 49eaca78-6e52-496f-a611-c5c238e9a9c8", "2023-09-15 20:29:08,078 INFO os_tripleo_baremetal_node_introspection: Introspecting node: 49eaca78-6e52-496f-a611-c5c238e9a9c8", "2023-09-15 20:29:08,083 INFO os_tripleo_baremetal_node_introspection: Preparing for attempt 2 for node: fd32575b-da36-4243-9dce-82676c6605bf", "2023-09-15 20:29:08,083 INFO os_tripleo_baremetal_node_introspection: Introspecting node: fd32575b-da36-4243-9dce-82676c6605bf", "2023-09-15 20:29:10,183 ERROR os_tripleo_baremetal_node_introspection: Introspection of node 6d91c763-42a9-4107-b868-e7a68ce7f2ec failed on attempt 2: Node 6d91c763-42a9-4107-b868-e7a68ce7f2ec reached failure state \"inspect failed\"; the last error is Failed to start inspection: BadRequestException: 400: Client Error for url: http://172.20.4.102:5050/v1/introspection/6d91c763-42a9-4107-b868-e7a68ce7f2ec, Failed to resolve the hostname ([2001:DB8::1:9e40]) for node 6d91c763-42a9-4107-b868-e7a68ce7f2ec", "2023-09-15 20:29:10,247 ERROR os_tripleo_baremetal_node_introspection: Introspection of node 49eaca78-6e52-496f-a611-c5c238e9a9c8 failed on attempt 2: Node 49eaca78-6e52-496f-a611-c5c238e9a9c8 reached failure state \"inspect failed\"; the last error is Failed to start inspection: BadRequestException: 400: Client Error for url: http://172.20.4.102:5050/v1/introspection/49eaca78-6e52-496f-a611-c5c238e9a9c8, Failed to resolve the hostname ([2001:DB8::2:3d82]) for node 49eaca78-6e52-496f-a611-c5c238e9a9c8", "2023-09-15 20:29:10,251 ERROR os_tripleo_baremetal_node_introspection: Introspection of node fd32575b-da36-4243-9dce-82676c6605bf failed on attempt 2: Node fd32575b-da36-4243-9dce-82676c6605bf reached failure state \"inspect failed\"; the last error is Failed to start inspection: BadRequestException: 400: Client Error for url: http://172.20.4.102:5050/v1/introspection/fd32575b-da36-4243-9dce-82676c6605bf, Failed to resolve the hostname ([2001:DB8::3::a089]) for node fd32575b-da36-4243-9dce-82676c6605bf", "" ], "changed": false } 2023-09-15 20:29:10,463 p=778223 u=stack n=ansible | 2023-09-15 20:29:10.463149 | 52540069-8482-324b-76d9-000000000012 | TASK | Node introspection summary 2023-09-15 20:29:10,542 p=778223 u=stack n=ansible | 2023-09-15 20:29:10.541761 | 52540069-8482-324b-76d9-000000000012 | OK | Node introspection summary | localhost | result={ "changed": false, "msg": "Passed: []\nFailed: [fd32575b-da36-4243-9dce-82676c6605bf]\nNo nodes passed introspection\n" } 2023-09-15 20:29:10,547 p=778223 u=stack n=ansible | 2023-09-15 20:29:10.547572 | 52540069-8482-324b-76d9-000000000013 | TASK | Node introspection failed and no results are provided 2023-09-15 20:29:10,617 p=778223 u=stack n=ansible | 2023-09-15 20:29:10.616385 | 52540069-8482-324b-76d9-000000000013 | FATAL | Node introspection failed and no results are provided | localhost | error={"changed": false, "msg": "Nodes failed introspection"} 2023-09-15 20:29:10,618 p=778223 u=stack n=ansible | NO MORE HOSTS LEFT ************************************************************* 2023-09-15 20:29:10,620 p=778223 u=stack n=ansible | PLAY RECAP ********************************************************************* 2023-09-15 20:29:10,620 p=778223 u=stack n=ansible | localhost : ok=5 changed=1 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0