Error on the overcloud introspection step

Bug #1915269 reported by Juan Badia Payno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
New
Undecided
Unassigned

Bug Description

ERROR:
==============

TASK [overcloud-prep-images : Introspect overcloud images] ***********************************************************************************************************************************************************************************
task path: /root/.quickstart/usr/local/share/ansible/roles/overcloud-prep-images/tasks/overcloud-prep-images.yml:104
Wednesday 10 February 2021 13:52:53 +0100 (0:00:00.059) 0:01:34.908 ****
fatal: [undercloud]: FAILED! => {
    "changed": true,
    "cmd": "set -o pipefail && /home/stack/overcloud-introspect.sh 2>&1 | awk '{ print strftime(\"%Y-%m-%d %H:%M:%S |\"), $0; fflush(); }' > /home/stack/overcloud_introspect.log\n",
    "delta": "0:04:15.850311",
    "end": "2021-02-10 12:52:43.205333",
    "rc": 1,
    "start": "2021-02-10 12:48:27.355022"
}

MSG:

non-zero return code

PLAY RECAP ***********************************************************************************************************************************************************************************************************************************
undercloud : ok=18 changed=7 unreachable=0 failed=1 skipped=35 rescued=0 ignored=0

Stepds to reproduce:
====================
1.- Provision the nodes
./quickstart.sh -n -X -R master --tags all -T none --extra-vars undercloud_disk=70 --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart.yml 127.0.0.2
2.- Installing the undercloud
./quickstart.sh -R master --no-clone --tags all -I -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart-extras-undercloud.yml 127.0.0.2
3.- Preparing the overcloud for deploy
./quickstart.sh -R master --no-clone --tags all -I -T none --nodes config/nodes/3ctlr_2comp_3ceph.yml -p quickstart-extras-overcloud-prep.yml 127.0.0.2

Logs and extras
===============
part of the /home/stack/overcloud_instrospection.log
2021-02-10 12:48:27 | + openstack overcloud node introspect --all-manageable
2021-02-10 12:48:29 | ^M
2021-02-10 12:48:29 | PLAY [Baremetal Introspection for multiple Ironic Nodes] ***********************
2021-02-10 12:48:29 | 2021-02-10 12:48:29.753833 | 0099cddf-658b-530a-5975-000000000008 | TASK | Check for required inputs
2021-02-10 12:48:29 | 2021-02-10 12:48:29.778510 | 0099cddf-658b-530a-5975-000000000008 | SKIPPED | Check for required inputs | localhost | item=node_uuids
2021-02-10 12:48:29 | 2021-02-10 12:48:29.779996 | 0099cddf-658b-530a-5975-000000000008 | TIMING | Check for required inputs | localhost | 0:00:00.078819 | 0.03s
2021-02-10 12:48:29 | 2021-02-10 12:48:29.783838 | 0099cddf-658b-530a-5975-00000000000a | TASK | Set node_uuids_intro fact
2021-02-10 12:48:29 | 2021-02-10 12:48:29.808221 | 0099cddf-658b-530a-5975-00000000000a | OK | Set node_uuids_intro fact | localhost
2021-02-10 12:48:29 | 2021-02-10 12:48:29.809678 | 0099cddf-658b-530a-5975-00000000000a | TIMING | Set node_uuids_intro fact | localhost | 0:00:00.108497 | 0.02s
2021-02-10 12:48:29 | 2021-02-10 12:48:29.812650 | 0099cddf-658b-530a-5975-00000000000c | TASK | Notice
2021-02-10 12:48:29 | 2021-02-10 12:48:29.836858 | 0099cddf-658b-530a-5975-00000000000c | SKIPPED | Notice | localhost
2021-02-10 12:48:29 | 2021-02-10 12:48:29.837814 | 0099cddf-658b-530a-5975-00000000000c | TIMING | Notice | localhost | 0:00:00.136635 | 0.02s
2021-02-10 12:48:29 | 2021-02-10 12:48:29.840671 | 0099cddf-658b-530a-5975-00000000000e | TASK | Set concurrency fact
2021-02-10 12:48:29 | 2021-02-10 12:48:29.865125 | 0099cddf-658b-530a-5975-00000000000e | OK | Set concurrency fact | localhost
2021-02-10 12:48:29 | 2021-02-10 12:48:29.866088 | 0099cddf-658b-530a-5975-00000000000e | TIMING | Set concurrency fact | localhost | 0:00:00.164909 | 0.02s
2021-02-10 12:48:29 | 2021-02-10 12:48:29.868896 | 0099cddf-658b-530a-5975-000000000010 | TASK | Check if validation enabled
2021-02-10 12:48:29 | 2021-02-10 12:48:29.893037 | 0099cddf-658b-530a-5975-000000000010 | SKIPPED | Check if validation enabled | localhost
2021-02-10 12:48:29 | 2021-02-10 12:48:29.893936 | 0099cddf-658b-530a-5975-000000000010 | TIMING | Check if validation enabled | localhost | 0:00:00.192756 | 0.02s
2021-02-10 12:48:29 | 2021-02-10 12:48:29.897458 | 0099cddf-658b-530a-5975-000000000011 | TASK | Run Validations
2021-02-10 12:48:29 | 2021-02-10 12:48:29.921928 | 0099cddf-658b-530a-5975-000000000011 | SKIPPED | Run Validations | localhost
2021-02-10 12:48:29 | 2021-02-10 12:48:29.922823 | 0099cddf-658b-530a-5975-000000000011 | TIMING | Run Validations | localhost | 0:00:00.221644 | 0.02s
2021-02-10 12:48:29 | 2021-02-10 12:48:29.925747 | 0099cddf-658b-530a-5975-000000000012 | TASK | Fail if validations are disabled
2021-02-10 12:48:29 | 2021-02-10 12:48:29.950076 | 0099cddf-658b-530a-5975-000000000012 | SKIPPED | Fail if validations are disabled | localhost
2021-02-10 12:48:29 | 2021-02-10 12:48:29.950947 | 0099cddf-658b-530a-5975-000000000012 | TIMING | Fail if validations are disabled | localhost | 0:00:00.249768 | 0.02s
2021-02-10 12:48:29 | 2021-02-10 12:48:29.953803 | 0099cddf-658b-530a-5975-000000000014 | TASK | Start baremetal introspection
2021-02-10 12:52:42 | 2021-02-10 12:52:42.778087 | 0099cddf-658b-530a-5975-000000000014 | CHANGED | Start baremetal introspection | localhost
2021-02-10 12:52:42 | 2021-02-10 12:52:42.779998 | 0099cddf-658b-530a-5975-000000000014 | TIMING | Start baremetal introspection | localhost | 0:04:13.078822 | 252.83s
2021-02-10 12:52:42 | 2021-02-10 12:52:42.785159 | 0099cddf-658b-530a-5975-000000000015 | TASK | Nodes that passed introspection
2021-02-10 12:52:42 | 2021-02-10 12:52:42.809235 | 0099cddf-658b-530a-5975-000000000015 | OK | Nodes that passed introspection | localhost | result={^M
2021-02-10 12:52:42 | "changed": false,^M
2021-02-10 12:52:42 | "msg": " No nodes completed introspection successfully!"^M
2021-02-10 12:52:42 | }
2021-02-10 12:52:42 | 2021-02-10 12:52:42.810234 | 0099cddf-658b-530a-5975-000000000015 | TIMING | Nodes that passed introspection | localhost | 0:04:13.109059 | 0.02s
2021-02-10 12:52:42 | 2021-02-10 12:52:42.812662 | 0099cddf-658b-530a-5975-000000000016 | TASK | Nodes that failed introspection
2021-02-10 12:52:42 | 2021-02-10 12:52:42.836449 | 0099cddf-658b-530a-5975-000000000016 | FATAL | Nodes that failed introspection | localhost | error={^M
2021-02-10 12:52:42 | "msg": " bf9ed841-4880-43df-9a4c-4e20e570a3d7 41cb9cdb-3dae-4aae-a3ed-ff801af5dd7b 82539bbb-af7a-4879-bd8b-6e4eaa9b2d72 2dd6208d-c989-4563-90d0-8164242f9a24 3bc1cd33-1011-4028-a36f-49118847e36d 29e0a284-de70-4428-b318-ffae4ed50219 b4f59b7b-2bbd-4a51-8664-055f52c32103 25837a0c-b5d7-4479-b394-4f8dcadd7f8e"^M
2021-02-10 12:52:42 | }
2021-02-10 12:52:42 | 2021-02-10 12:52:42.837319 | 0099cddf-658b-530a-5975-000000000016 | TIMING | Nodes that failed introspection | localhost | 0:04:13.136145 | 0.02s
2021-02-10 12:52:42 | ^M
2021-02-10 12:52:42 | NO MORE HOSTS LEFT *************************************************************
2021-02-10 12:52:42 | ^M
2021-02-10 12:52:42 | PLAY RECAP *********************************************************************
2021-02-10 12:52:42 | localhost : ok=4 changed=1 unreachable=0 failed=1 skipped=5 rescued=0 ignored=0

commands:
==========
(undercloud) [stack@undercloud ~]$ openstack baremetal node list
+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+
| UUID | Name | Instance UUID | Power State | Provisioning State | Maintenance |
+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+
| bf9ed841-4880-43df-9a4c-4e20e570a3d7 | control-0 | None | power off | manageable | False |
| 2dd6208d-c989-4563-90d0-8164242f9a24 | control-1 | None | power off | manageable | False |
| 3bc1cd33-1011-4028-a36f-49118847e36d | control-2 | None | power off | manageable | False |
| 82539bbb-af7a-4879-bd8b-6e4eaa9b2d72 | compute-0 | None | power off | manageable | False |
| 29e0a284-de70-4428-b318-ffae4ed50219 | compute-1 | None | power off | manageable | False |
| 41cb9cdb-3dae-4aae-a3ed-ff801af5dd7b | ceph-0 | None | power off | manageable | False |
| b4f59b7b-2bbd-4a51-8664-055f52c32103 | ceph-1 | None | power off | manageable | False |
| 25837a0c-b5d7-4479-b394-4f8dcadd7f8e | ceph-2 | None | power off | manageable | False |
+--------------------------------------+-----------+---------------+-------------+--------------------+-------------+

Workaround:
===========
remove the line "# openstack overcloud node introspect --all-manageable" on the overcloud-introscpection.sh and execute the script again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.