openstack overcloud node introspect --all-manageable --provide no longer works
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Alex Schultz |
Bug Description
--all-manageable no longer picks up on the nodes in 'available' and using a uuid errors.
(undercloud) [centos@undercloud ~]$ openstack overcloud node import nodes.rdo.json
Waiting for messages on queue 'tripleo' with no timeout.
3 node(s) successfully moved to the "manageable" state.
Successfully registered node UUID ebc0d52f-
Successfully registered node UUID 0b3f9b16-
Successfully registered node UUID 0cacc47d-
(undercloud) [centos@undercloud ~]$ openstack overcloud node introspect --all-manageable --provide
PLAY [Baremetal Introspection for multiple Ironic Nodes] *******
TASK [Check for required inputs] *******
Thursday 05 March 2020 19:48:25 +0000 (0:00:00.103) 0:00:00.103 ********
skipping: [localhost] => (item=node_uuids)
TASK [Set node_uuids_intro fact] *******
Thursday 05 March 2020 19:48:25 +0000 (0:00:00.064) 0:00:00.168 ********
ok: [localhost]
TASK [Notice] *******
Thursday 05 March 2020 19:48:25 +0000 (0:00:00.064) 0:00:00.233 ********
ok: [localhost] =>
msg: No nodes are manageable at this time.
PLAY RECAP *******
localhost : ok=2 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
Thursday 05 March 2020 19:48:25 +0000 (0:00:00.068) 0:00:00.301 ********
=======
Notice -------
Check for required inputs -------
Set node_uuids_intro fact -------
Waiting for messages on queue 'tripleo' with no timeout.
3 node(s) successfully moved to the "available" state.
(undercloud) [centos@undercloud ~]$ openstack baremetal node list
+------
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+------
| ebc0d52f-
| 0b3f9b16-
| 0cacc47d-
+------
(undercloud) [centos@undercloud ~]$ openstack overcloud node introspect --help
usage: openstack overcloud node introspect [-h] [--all-manageable] [--provide]
Introspect specified nodes or all nodes in 'manageable' state.
positional arguments:
<node_uuid> Baremetal Node UUIDs for the node(s) to be
optional arguments:
-h, --help show this help message and exit
--all-manageable Introspect all nodes currently in 'manageable' state
--provide Provide (make available) the nodes once introspected
--run-validations Run the pre-deployment validations. These external
--concurrency CONCURRENCY
This command is provided by the python-
(undercloud) [centos@undercloud ~]$ openstack overcloud node introspect --provide ebc0d52f-
PLAY [Baremetal Introspection for multiple Ironic Nodes] *******
TASK [Check for required inputs] *******
Thursday 05 March 2020 19:50:41 +0000 (0:00:00.085) 0:00:00.085 ********
skipping: [localhost] => (item=node_uuids)
TASK [Set node_uuids_intro fact] *******
Thursday 05 March 2020 19:50:41 +0000 (0:00:00.065) 0:00:00.150 ********
ok: [localhost]
TASK [Notice] *******
Thursday 05 March 2020 19:50:41 +0000 (0:00:00.066) 0:00:00.217 ********
skipping: [localhost]
TASK [Run Validations] *******
Thursday 05 March 2020 19:50:41 +0000 (0:00:00.071) 0:00:00.289 ********
skipping: [localhost]
TASK [Start baremetal introspection] *******
Thursday 05 March 2020 19:50:41 +0000 (0:00:00.061) 0:00:00.351 ********
changed: [localhost]
TASK [Viewing introspection progress] *******
Thursday 05 March 2020 19:50:41 +0000 (0:00:00.568) 0:00:00.919 ********
ok: [localhost] =>
msg: Introspection progress can been viewed in the syslog
TASK [Wait for introspection to complete] *******
Thursday 05 March 2020 19:50:42 +0000 (0:00:00.067) 0:00:00.987 ********
FAILED - RETRYING: Wait for introspection to complete (1000 retries left).
fatal: [localhost]: FAILED! => changed=true
ansible_job_id: '528155422113.
attempts: 2
failed_nodes:
- ebc0d52f-
- 0cacc47d-
- 0b3f9b16-
finished: 1
introspection
0b3f9b16-
error: 'Error for introspection node 0b3f9b16-
failed: true
status: ''
0cacc47d-
error: 'Error for introspection node 0cacc47d-
failed: true
status: ''
ebc0d52f-
error: 'Error for introspection node ebc0d52f-
failed: true
status: ''
msg: Introspection completed with failures. 3 node(s) failed.
passed_nodes: []
...ignoring
TASK [Nodes that passed introspection] *******
Thursday 05 March 2020 19:50:47 +0000 (0:00:05.468) 0:00:06.455 ********
ok: [localhost] =>
msg: ' No nodes completed introspection successfully!'
TASK [Nodes that failed introspection] *******
Thursday 05 March 2020 19:50:47 +0000 (0:00:00.063) 0:00:06.519 ********
fatal: [localhost]: FAILED! =>
msg: ' ebc0d52f-
NO MORE HOSTS LEFT *******
PLAY RECAP *******
localhost : ok=5 changed=2 unreachable=0 failed=1 skipped=3 rescued=0 ignored=1
Thursday 05 March 2020 19:50:47 +0000 (0:00:00.062) 0:00:06.582 ********
=======
Wait for introspection to complete -------
Start baremetal introspection -------
Notice -------
Viewing introspection progress -------
Check for required inputs -------
Set node_uuids_intro fact -------
Nodes that passed introspection -------
Nodes that failed introspection -------
Run Validations -------
Ansible execution failed. playbook: /usr/share/
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
extra_
File "/usr/lib/
raise RuntimeError(
RuntimeError: Ansible execution failed. playbook: /usr/share/
Ansible execution failed. playbook: /usr/share/
(undercloud) [centos@undercloud ~]$ ^C
(undercloud) [centos@undercloud ~]$ openstack overcloud node introspect --provide ebc0d52f-
PLAY [Baremetal Introspection for multiple Ironic Nodes] *******
TASK [Check for required inputs] *******
Thursday 05 March 2020 19:53:17 +0000 (0:00:00.084) 0:00:00.084 ********
skipping: [localhost] => (item=node_uuids)
TASK [Set node_uuids_intro fact] *******
Thursday 05 March 2020 19:53:17 +0000 (0:00:00.063) 0:00:00.147 ********
ok: [localhost]
TASK [Notice] *******
Thursday 05 March 2020 19:53:17 +0000 (0:00:00.063) 0:00:00.211 ********
skipping: [localhost]
TASK [Run Validations] *******
Thursday 05 March 2020 19:53:17 +0000 (0:00:00.073) 0:00:00.284 ********
skipping: [localhost]
TASK [Start baremetal introspection] *******
Thursday 05 March 2020 19:53:17 +0000 (0:00:00.062) 0:00:00.347 ********
changed: [localhost]
TASK [Viewing introspection progress] *******
Thursday 05 March 2020 19:53:18 +0000 (0:00:00.515) 0:00:00.862 ********
ok: [localhost] =>
msg: Introspection progress can been viewed in the syslog
TASK [Wait for introspection to complete] *******
Thursday 05 March 2020 19:53:18 +0000 (0:00:00.065) 0:00:00.928 ********
FAILED - RETRYING: Wait for introspection to complete (1000 retries left).
fatal: [localhost]: FAILED! => changed=true
ansible_job_id: '120849419049.
attempts: 2
failed_nodes:
- ebc0d52f-
finished: 1
introspection
ebc0d52f-
error: 'Error for introspection node ebc0d52f-
failed: true
status: ''
msg: Introspection completed with failures. 1 node(s) failed.
passed_nodes: []
...ignoring
TASK [Nodes that passed introspection] *******
Thursday 05 March 2020 19:53:23 +0000 (0:00:05.453) 0:00:06.381 ********
ok: [localhost] =>
msg: ' No nodes completed introspection successfully!'
TASK [Nodes that failed introspection] *******
Thursday 05 March 2020 19:53:23 +0000 (0:00:00.064) 0:00:06.446 ********
fatal: [localhost]: FAILED! =>
msg: ' ebc0d52f-
NO MORE HOSTS LEFT *******
PLAY RECAP *******
localhost : ok=5 changed=2 unreachable=0 failed=1 skipped=3 rescued=0 ignored=1
Thursday 05 March 2020 19:53:23 +0000 (0:00:00.061) 0:00:06.507 ********
=======
Wait for introspection to complete -------
Start baremetal introspection -------
Notice -------
Viewing introspection progress -------
Nodes that passed introspection -------
Check for required inputs -------
Run Validations -------
Set node_uuids_intro fact -------
Nodes that failed introspection -------
Ansible execution failed. playbook: /usr/share/
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
super(Command, self).run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
extra_
File "/usr/lib/
raise RuntimeError(
RuntimeError: Ansible execution failed. playbook: /usr/share/
Ansible execution failed. playbook: /usr/share/
Changed in tripleo: | |
assignee: | nobody → Alex Schultz (alex-schultz) |
status: | Triaged → In Progress |
two issues:
1) --all-manageable no longer works
2) --provide seems to be running prior to the introspection which breaks things