[tripleo] Unable to execute pre-introspection and pre-deployment command

Anirudh Gupta anyrude10 at gmail.com
Wed Oct 13 07:57:33 UTC 2021


Hi David,

Thanks for your response.
In order to run pre-introspection, I debugged and created an inventory file
of my own having the following content

[Undercloud]
undercloud

With this and also with the file you mentioned, I was able to run
pre-introspection successfully.

(undercloud) [stack at undercloud ~]$ openstack tripleo validator run --group
pre-introspection -i
tripleo-deploy/undercloud/tripleo-ansible-inventory.yaml
+--------------------------------------+---------------------------------+--------+------------+----------------+-------------------+-------------+
| UUID                                 | Validations                     |
Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration    |
+--------------------------------------+---------------------------------+--------+------------+----------------+-------------------+-------------+
| 6cdc7c84-d278-430a-b6fc-3893e42310d8 | check-cpu                       |
PASSED | localhost  | localhost      |                   | 0:00:01.116 |
| ac0d54a5-51c3-4f52-9dba-2a9b26583591 | check-disk-space                |
PASSED | localhost  | localhost      |                   | 0:00:03.546 |
| 3af6fefc-47d0-40b1-bd5b-88e03e0f61ef | check-ram                       |
PASSED | localhost  | localhost      |                   | 0:00:01.069 |
| e8d17007-6c46-4959-8bfc-dc59dd77ba65 | check-selinux-mode              |
PASSED | localhost  | localhost      |                   | 0:00:01.395 |
| 28df7ed3-8cea-4a4d-af34-14c8eec406ea | check-network-gateway           |
PASSED | undercloud | undercloud     |                   | 0:00:02.347 |
| efa6b4ab-de40-42a0-815e-238e5b81995c | undercloud-disk-space           |
PASSED | undercloud | undercloud     |                   | 0:00:03.657 |
| 89293cce-5f30-4626-b326-5cfeff48ab0c | undercloud-neutron-sanity-check |
PASSED | undercloud | undercloud     |                   | 0:00:07.715 |
| 0da9986f-8fc6-46f7-8936-c8b838c12c7b | ctlplane-ip-range               |
PASSED | undercloud | undercloud     |                   | 0:00:01.973 |
| 89f286ee-cd83-4d05-8d99-bffd03df142b | dhcp-introspection              |
PASSED | undercloud | undercloud     |                   | 0:00:06.364 |
| c5256e61-f787-4a1b-9e1a-1eff0c0b2bb6 | undercloud-tokenflush           |
PASSED | undercloud | undercloud     |                   | 0:00:01.209 |
+--------------------------------------+---------------------------------+--------+------------+----------------+-------------------+-------------+


But passing this file while pre-deployment, it is still failing.
(undercloud) [stack at undercloud undercloud]$ openstack tripleo validator run
--group pre-deployment -i tripleo-ansible-inventory.yaml
+--------------------------------------+-------------------------------------+--------+--------------+----------------+-------------------+-------------+
| UUID                                 | Validations
  | Status | Host_Group   | Status_by_Host | Unreachable_Hosts | Duration
 |
+--------------------------------------+-------------------------------------+--------+--------------+----------------+-------------------+-------------+
| 6deebd06-cf12-4083-a4f2-a31306a719b3 | 512e
 | PASSED | localhost    | localhost      |                   | 0:00:00.511
|
| a2b80c05-40c0-4dd6-9d8d-03be0f5278ba | dns
  | PASSED | localhost    | localhost      |                   |
0:00:00.428 |
| bd3c32b3-6a0e-424c-9d2e-2898c5bb50ef | service-status
 | PASSED | all          | undercloud     |                   | 0:00:05.923
|
| 7342190b-2ad9-4639-91c7-582ae4b141c6 | validate-selinux
 | PASSED | all          | undercloud     |                   | 0:00:02.299
|
| 665c4d42-e058-4e9d-9ee1-30e29b3a75c8 | package-version
  | FAILED | all          | undercloud     |                   |
0:03:34.295 |
| e0001906-5a8c-4f9b-9ad7-7b5b4d4b8d22 | ceph-ansible-installed
 | PASSED | undercloud   | undercloud     |                   | 0:00:02.723
|
| beb5bf3d-3ee8-4fd6-8daa-0cf13023c1f3 | ceph-dependencies-installed
  | PASSED | allovercloud | undercloud     |                   |
0:00:02.610 |
| d872e781-4cd2-4509-ad51-74d7f3b3ebbf | tls-everywhere-pre-deployment
  | FAILED | undercloud   | undercloud     |                   |
0:00:36.546 |
| bc7e8940-d61a-4349-a5be-a41312b8bd2f | undercloud-debug
 | FAILED | undercloud   | undercloud     |                   | 0:00:01.702
|
| 8de4f037-ac24-4700-b449-405e723a7e50 |
collect-flavors-and-verify-profiles | FAILED | undercloud   | undercloud
  |                   | 0:00:00.936 |
| 1aadf9f7-a200-499a-826f-06c2ad3f1ab7 | undercloud-heat-purge-deleted
  | PASSED | undercloud   | undercloud     |                   |
0:00:02.232 |
| db5204af-a054-4eae-9325-c2f592997b59 | undercloud-process-count
 | PASSED | undercloud   | undercloud     |                   | 0:00:07.770
|
| 7fdb9935-a30d-4356-8524-23065da894e4 | default-node-count
 | FAILED | undercloud   | undercloud     |                   | 0:00:00.942
|
| 0868a984-7de0-42f0-8d6b-abb19c72c98b | dhcp-provisioning
  | FAILED | undercloud   | undercloud     |                   |
0:00:01.668 |
| 7796624f-5b13-4d66-8dce-8998f2370625 | ironic-boot-configuration
  | FAILED | undercloud   | undercloud     |                   |
0:00:00.935 |
| e087bbae-6371-4e2e-9445-0fcc1f936b96 | network-environment
  | FAILED | undercloud   | undercloud     |                   |
0:00:00.936 |
| db93613d-9cab-4954-949f-d7b2578c20c5 | node-disks
 | FAILED | undercloud   | undercloud     |                   | 0:00:01.741
|
| 66bed170-ffb1-4466-b065-9f6012abdd6e | switch-vlans
 | FAILED | undercloud   | undercloud     |                   | 0:00:01.795
|
| 4911cd84-26cf-4c43-ba5a-645c5c5f20b4 | system-encoding
  | PASSED | all          | undercloud     |                   |
0:00:00.393 |
+--------------------------------------+-------------------------------------+--------+--------------+----------------+-------------------+-------------+


As per the response from Alex, This could probably because these
validations calls might be broken and and are not tested in CI

I am moving forward with the deployment ignoring these errors as suggested

Regards
Anirudh Gupta


On Tue, Oct 12, 2021 at 8:02 PM David Peacock <dpeacock at redhat.com> wrote:

> Hi Anirudh,
>
> You're hitting a known bug that we're in the process of propagating a fix
> for; sorry for this. :-)
>
> As per a patch we have under review, use the inventory file located under
> ~/tripleo-deploy/<stack> directory: tripleo-ansible-inventory.yaml.
> To generate an inventory file, use the playbook in  "tripleo-ansible:
> cli-config-download.yaml".
>
> https://review.opendev.org/c/openstack/tripleo-validations/+/813535
>
> Let us know if this doesn't put you on the right track.
>
> Thanks,
> David
>
> On Sat, Oct 9, 2021 at 5:12 PM Anirudh Gupta <anyrude10 at gmail.com> wrote:
>
>> Hi Team,
>>
>> I am installing Tripleo using the below link
>>
>>
>> https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/deployment/install_overcloud.html
>>
>> In the Introspect section, When I executed the command
>> openstack tripleo validator run --group pre-introspection
>>
>> I got the following error:
>>
>> +--------------------------------------+---------------------------------+--------+------------+-----------------+-------------------+-------------+
>> | UUID                                 | Validations
>> | Status | Host_Group | Status_by_Host  | Unreachable_Hosts | Duration    |
>>
>> +--------------------------------------+---------------------------------+--------+------------+-----------------+-------------------+-------------+
>> | 6e74e655-8f1b-439d-8d0b-205290669f80 | check-cpu
>> | PASSED | localhost  | localhost       |                   | 0:00:01.261 |
>> | edb371b8-bc13-4840-92b2-61c4e45978cf | check-disk-space
>>  | PASSED | localhost  | localhost       |                   | 0:00:04.480 |
>> | 35c871b9-37d1-44d8-a475-508e642dfd8e | check-ram
>> | PASSED | localhost  | localhost       |                   | 0:00:02.173 |
>> | c12882a3-8730-4abf-bdcb-56b3a8545cee | check-selinux-mode
>>  | PASSED | localhost  | localhost       |                   | 0:00:01.546 |
>> | 659017ae-b937-4ec7-9231-32f14be8c4e5 | check-network-gateway
>> | FAILED | undercloud | No host matched |                   |             |
>> | 3c7c4299-2ce1-4717-8953-c616ffeee66a | undercloud-disk-space
>> | FAILED | undercloud | No host matched |                   |             |
>> | 2f0239db-d530-48eb-b606-f82179e72e50 | undercloud-neutron-sanity-check
>> | FAILED | undercloud | No host matched |                   |             |
>> | e9c5b3d3-6fb1-4e93-b7b8-d67bdd6273e9 | ctlplane-ip-range
>> | FAILED | undercloud | No host matched |                   |             |
>> | a69badb6-9a08-41a1-b5d6-fc10b8046687 | dhcp-introspection
>>  | FAILED | undercloud | No host matched |                   |             |
>> | 9045a1f0-5aea-43d3-9157-56260d65e4dc | undercloud-tokenflush
>> | FAILED | undercloud | No host matched |                   |             |
>>
>> +--------------------------------------+---------------------------------+--------+------------+-----------------+-------------------+-------------+
>>
>>
>> Then I created the following inventory file:
>> [Undercloud]
>> undercloud
>>
>> Passed this command while running the pre-introspection command.
>> It then executed successfully.
>>
>>
>> But with Pre-deployment, it is still failing even after passing the
>> inventory
>>
>>
>> +--------------------------------------+-------------------------------------+--------+--------------+-----------------+-------------------+-------------+
>> | UUID                                 | Validations
>>     | Status | Host_Group   | Status_by_Host  | Unreachable_Hosts |
>> Duration    |
>>
>> +--------------------------------------+-------------------------------------+--------+--------------+-----------------+-------------------+-------------+
>> | 917c669c-fd74-4d41-98d8-5442dbbd8ee1 | 512e
>>    | PASSED | localhost    | localhost       |                   |
>> 0:00:00.504 |
>> | c4ece97b-936d-4034-8e9c-6239bd0fef7a | dns
>>     | PASSED | localhost    | localhost       |                   |
>> 0:00:00.481 |
>> | 93611c13-49a2-4cae-ad87-099546459481 | service-status
>>    | PASSED | all          | undercloud      |                   |
>> 0:00:06.942 |
>> | 175ba815-e9cd-4b76-b637-c489f1df3bcd | validate-selinux
>>    | PASSED | all          | undercloud      |                   |
>> 0:00:02.433 |
>> | 917618cb-af29-4517-85e7-0d3a3627c105 | package-version
>>     | FAILED | all          | undercloud      |                   |
>> 0:00:03.576 |
>> | 70099d55-6a29-4b77-8b00-b54c677520cb | ceph-ansible-installed
>>    | PASSED | undercloud   | undercloud      |                   |
>> 0:00:02.850 |
>> | 1889dd61-387a-4efe-9559-effff6f2d22e | ceph-dependencies-installed
>>     | FAILED | allovercloud | No host matched |                   |
>>     |
>> | 22f1764d-bb10-4bde-b72f-b714e6263f4b | tls-everywhere-pre-deployment
>>     | FAILED | undercloud   | undercloud      |                   |
>> 0:00:31.559 |
>> | 26f0cbf1-3902-40c0-ac9d-a01884d653eb | undercloud-debug
>>    | FAILED | undercloud   | undercloud      |                   |
>> 0:00:02.057 |
>> | dc7ecc45-02ce-48b7-8f1b-7f21ae4fabb8 |
>> collect-flavors-and-verify-profiles | FAILED | undercloud   | undercloud
>>    |                   | 0:00:00.884 |
>> | 676bc7f4-f3a0-47c6-a106-2219ddf698b9 | undercloud-heat-purge-deleted
>>     | FAILED | undercloud   | undercloud      |                   |
>> 0:00:02.138 |
>> | 3983efc6-ed81-4886-8170-09cfe41f1255 | undercloud-process-count
>>    | PASSED | undercloud   | undercloud      |                   |
>> 0:00:06.164 |
>> | 7b1a544b-ce56-4747-be20-d0681d16085a | default-node-count
>>    | FAILED | undercloud   | undercloud      |                   |
>> 0:00:00.934 |
>> | 9167af1b-038c-4c68-afd1-f875218aceb4 | dhcp-provisioning
>>     | FAILED | undercloud   | undercloud      |                   |
>> 0:00:02.456 |
>> | 38c99024-5932-4087-baf1-a8aae9a58d5c | ironic-boot-configuration
>>     | FAILED | undercloud   | undercloud      |                   |
>> 0:00:00.882 |
>> | da1be072-df2c-483d-99f1-a4c1177c380e | network-environment
>>     | FAILED | undercloud   | undercloud      |                   |
>> 0:00:00.880 |
>> | ed416ce8-8953-487f-bb35-6212a1b213d0 | node-disks
>>    | FAILED | undercloud   | undercloud      |                   |
>> 0:00:01.934 |
>> | 80118738-dc3c-4751-82c1-403f0187f980 | switch-vlans
>>    | FAILED | undercloud   | undercloud      |                   |
>> 0:00:01.931 |
>> | f7dcf2fd-c090-4149-aae8-98fb8bbac8c7 | system-encoding
>>     | PASSED | all          | undercloud      |                   |
>> 0:00:00.366 |
>>
>> +--------------------------------------+-------------------------------------+--------+--------------+-----------------+-------------------+-------------+
>>
>> Also this step of passing the inventory file is not mentioned anywhere in
>> the document. Is there anything I am missing?
>>
>> Regards
>> Anirudh Gupta
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211013/3d6fa2db/attachment-0001.htm>


More information about the openstack-discuss mailing list