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

David Peacock dpeacock at redhat.com
Tue Oct 12 14:31:56 UTC 2021


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/20211012/895cf6c3/attachment-0001.htm>


More information about the openstack-discuss mailing list