Bug 1665564

Summary: Cleaning nodes reports success, although one node is in "clean wait"
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: openstack-ironicAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: mlammon
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14.0 (Rocky)CC: bfournie, mburns, sasha
Target Milestone: ---Keywords: 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: 2019-01-11 20:43: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 Alexander Chuzhoy 2019-01-11 19:36:26 UTC
Cleaning nodes reports success, although one node is in "clean wait"
Environment:
python2-ironicclient-2.5.0-0.20180810135843.fb94fb8.el7ost.noarch
python2-ironic-inspector-client-3.3.0-0.20180810080932.53bf4e8.el7ost.noarch
openstack-ironic-conductor-11.1.1-0.20181012152842.el7ost.noarch
openstack-ironic-staging-drivers-0.10.1-0.20180820161038.39c4e93.el7ost.noarch
python-ironic-lib-2.14.0-0.20180810074837.344161b.el7ost.noarch
puppet-ironic-13.3.1-0.20181013115250.el7ost.noarch
openstack-ironic-common-11.1.1-0.20181012152842.el7ost.noarch
instack-undercloud-9.4.1-0.20180928005746.15cda5a.el7ost.noarch



(undercloud) [stack@undercloud ~]$    openstack overcloud node clean --all-manageable
Waiting for messages on queue 'tripleo' with no timeout.




Cleaned 7 node(s)
(undercloud) [stack@undercloud ~]$ 


for node in `openstack baremetal node list -f value -c Name`; do echo $; openstack baremetal node provide $node; done

The requested action "provide" can not be performed on node "6ff75b1c-14e5-4797-b326-70b8a3caf004" while it is in state "clean wait". (HTTP 400)
(undercloud) [stack@undercloud ~]$


(undercloud) [stack@undercloud ~]$ openstack baremetal node list
+--------------------------------------+--------------------+---------------+-------------+--------------------+-------------+
| UUID                                 | Name               | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+--------------------+---------------+-------------+--------------------+-------------+
| 76b76797-f028-48d4-a019-4c7a5d1e8184 | compute-0-leaf0    | None          | power off   | available          | False       |
| 3bf89ae8-7a26-4c35-bf5b-33359796c4b9 | compute-1-leaf0    | None          | power off   | available          | False       |
| 6ff75b1c-14e5-4797-b326-70b8a3caf004 | compute-0-leaf1    | None          | power on    | clean wait         | False       |
| 08b3dcba-0217-48ce-9ffe-fc1ea644cc3c | compute-1-leaf1    | None          | power off   | available          | False       |
| 19b4561c-4098-403d-a8c5-35e81a419099 | controller-0-leaf1 | None          | power off   | available          | False       |
| 88e17181-bf32-431c-9363-f23d0e374524 | controller-1-leaf1 | None          | power off   | available          | False       |
| 4e12f741-e442-470c-be76-3887ededbf50 | controller-2-leaf1 | None          | power off   | available          | False       |
+--------------------------------------+--------------------+---------------+-------------+--------------------+-------------+

Comment 2 Bob Fournier 2019-01-11 20:31:13 UTC
Sasha - I assume this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1631454, no?

Comment 3 Alexander Chuzhoy 2019-01-11 20:43:12 UTC

*** This bug has been marked as a duplicate of bug 1631454 ***