Bug 1897117
Summary: | tripleo-ansible-inventory.yaml without overcloud generates invalid ansible inventory | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Uemit Seren <uemit.seren> |
Component: | openstack-tripleo-validations | Assignee: | mathieu bultel <mbultel> |
Status: | CLOSED DUPLICATE | QA Contact: | nlevinki <nlevinki> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 16.1 (Train) | CC: | aschultz, cjeanner, cmuresan, gchamoul, jbuchta, jjoyce, jschluet, mburns, slinaber, tvignaud |
Target Milestone: | z4 | Keywords: | Triaged |
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: | 2020-11-19 10:10:14 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
Uemit Seren
2020-11-12 11:06:16 UTC
Hi, CU hitting the same error while running validation: ~~~ (undercloud) [stack@director ~]$ openstack tripleo validator run --validation undercloud-neutron-sanity-check [WARNING]: * Failed to parse /home/stack/tripleo-ansible-inventory.yaml with auto plugin: no root 'plugin' key found, '/home/stack/tripleo-ansible-inventory.yaml' is not a valid YAML inventory plugin config file [WARNING]: * Failed to parse /home/stack/tripleo-ansible-inventory.yaml with yaml plugin: can't add group to itself [WARNING]: * Failed to parse /home/stack/tripleo-ansible-inventory.yaml with ini plugin: Invalid host pattern 'Undercloud:' supplied, ending in ':' is not allowed, this character is reserved to provide a port. [WARNING]: Unable to parse /home/stack/tripleo-ansible-inventory.yaml as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' Monday 16 November 2020 12:49:33 -0500 (0:00:00.037) 0:00:00.037 ******* Monday 16 November 2020 12:49:33 -0500 (0:00:00.106) 0:00:00.144 ******* Monday 16 November 2020 12:49:33 -0500 (0:00:00.507) 0:00:00.652 ******* Monday 16 November 2020 12:49:34 -0500 (0:00:00.357) 0:00:01.010 ******* Monday 16 November 2020 12:49:34 -0500 (0:00:00.056) 0:00:01.066 ******* Monday 16 November 2020 12:49:34 -0500 (0:00:00.408) 0:00:01.474 ******* Monday 16 November 2020 12:49:36 -0500 (0:00:01.863) 0:00:03.338 ******* Monday 16 November 2020 12:49:36 -0500 (0:00:00.055) 0:00:03.394 ******* Monday 16 November 2020 12:49:36 -0500 (0:00:00.055) 0:00:03.449 ******* Monday 16 November 2020 12:49:36 -0500 (0:00:00.056) 0:00:03.505 ******* Monday 16 November 2020 12:49:36 -0500 (0:00:00.056) 0:00:03.561 ******* Monday 16 November 2020 12:49:37 -0500 (0:00:00.163) 0:00:03.725 ******* =============================================================================== neutron_sanity_check : Run neutron-sanity-check ------------------------- 1.86s neutron_sanity_check : Get the path of tripleo undercloud config file --- 0.51s neutron_sanity_check : Check if wanted container exists ----------------- 0.41s neutron_sanity_check : Get the Container CLI from the undercloud.conf file --- 0.36s neutron_sanity_check : Fail --------------------------------------------- 0.16s neutron_sanity_check : Set oc_container_cli and container_name for the Controller --- 0.11s neutron_sanity_check : Set uc_container_cli and container_name for the Undercloud --- 0.06s neutron_sanity_check : Create output ------------------------------------ 0.06s neutron_sanity_check : Output warning ----------------------------------- 0.06s neutron_sanity_check : Detect errors ------------------------------------ 0.06s neutron_sanity_check : Detect warnings ---------------------------------- 0.06s /usr/lib/python3.6/site-packages/validations_libs/ansible.py:374: ResourceWarning: unclosed file <_io.BufferedWriter name='/var/log/validations/artifacts//d900bc2a-8183-4469-a360-72c78d008d83_undercloud-neutron-sanity-check.yaml_2020-11-16T17:49:32.583801Z/artifacts/stdout'> status, rc = runner.run() +--------------------------------------+---------------------------------+--------+------------+----------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+---------------------------------+--------+------------+----------------+-------------------+-------------+ | d900bc2a-8183-4469-a360-72c78d008d83 | undercloud-neutron-sanity-check | FAILED | undercloud | undercloud | | 0:00:03.589 | +--------------------------------------+---------------------------------+--------+------------+----------------+-------------------+-------------+ sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('10.49.20.4', 49722), raddr=('10.49.20.4', 13000)> ~~~ *** This bug has been marked as a duplicate of bug 1887444 *** |