Bug 2092063
| Summary: | OSP17 Delete of unreachable node fails | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | David Rosenfeld <drosenfe> |
| Component: | python-tripleoclient | Assignee: | Rabi Mishra <ramishra> |
| Status: | CLOSED ERRATA | QA Contact: | David Rosenfeld <drosenfe> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 17.0 (Wallaby) | CC: | cjeanner, hbrock, jschluet, jslagle, mburns, ramishra, slinaber |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 17.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-tripleoclient-16.4.1-0.20220629155516.d451aaa.el9ost | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-21 12:22: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: | |||
|
Description
David Rosenfeld
2022-05-31 16:33:40 UTC
This is from logs of Phase 3 job that deletes an unreachable node:
- Power off compute-0:
2022-07-09 02:53:52.843 | TASK [wait for node "compute-0" to go down] ************************************
2022-07-09 02:53:52.845 | task path: /home/rhos-ci/jenkins/workspace/DFG-df-rfe-17.0-virsh-3cont_3comp_1ceph-blacklist-1compute-scaledown/infrared/plugins/cloud-config/post_tasks/scale_down.yml:75
2022-07-09 02:53:52.848 | Saturday 09 July 2022 02:53:52 +0000 (0:00:03.585) 0:00:40.651 *********
2022-07-09 02:53:56.216 | FAILED - RETRYING: wait for node "compute-0" to go down (20 retries left).
2022-07-09 02:54:02.775 | FAILED - RETRYING: wait for node "compute-0" to go down (19 retries left).
2022-07-09 02:54:09.257 | changed: [undercloud-0] => {
2022-07-09 02:54:09.259 | "attempts": 3,
2022-07-09 02:54:09.261 | "changed": true,
2022-07-09 02:54:09.263 | "cmd": "source ~/stackrc\nopenstack baremetal node show compute-0 -c power_state -f value\n",
2022-07-09 02:54:09.265 | "delta": "0:00:03.226230",
2022-07-09 02:54:09.267 | "end": "2022-07-09 02:54:09.225864",
2022-07-09 02:54:09.270 | "rc": 0,
2022-07-09 02:54:09.272 | "start": "2022-07-09 02:54:05.999634"
2022-07-09 02:54:09.273 | }
2022-07-09 02:54:09.275 |
2022-07-09 02:54:09.277 | STDOUT:
2022-07-09 02:54:09.280 |
2022-07-09 02:54:09.282 | power off
- Execute delete command:
openstack overcloud node delete -y --stack overcloud --baremetal-deployment \"/home/stack/virt/network/baremetal_deployment.yaml
- See in logs that it couldn't reach compute-0:
2022-07-09 03:10:14.114 | PLAY [Gather facts] ************************************************************
2022-07-09 03:10:14.116 | 2022-07-09 02:54:29.903770 | 52540072-e6b4-b269-807d-00000000003e | TASK | Gathering Facts
2022-07-09 03:10:14.118 | [WARNING]: Unhandled error in Python interpreter discovery for host compute-0:
2022-07-09 03:10:14.120 | Failed to connect to the host via ssh: ssh: connect to host 192.168.24.25 port
2022-07-09 03:10:14.122 | 22: No route to host
2022-07-09 03:10:14.124 | 2022-07-09 03:09:57.027282 | 52540072-e6b4-b269-807d-00000000003e | UNREACHABLE | Gathering Facts | compute-0
2022-07-09 03:10:14.126 | 2022-07-09 03:09:57.029641 | 52540072-e6b4-b269-807d-00000000003e | TIMING | Gathering Facts | compute-0 | 0:15:27.219228 | 927.12s
2022-07-09 03:10:14.128 |
2022-07-09 03:10:14.130 | NO MORE HOSTS LEFT *************************************************************
- see that compute-0 was set to available:
[stack@undercloud-0 ~]$ openstack baremetal node list | grep compute-0
| 6696911a-589f-4b7a-ac0f-dc36e5651545 | compute-0 | None | power off | available | False |
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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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/RHEA-2022:6543 |