Comment 4 for bug 1913204

Revision history for this message
phonix6 (phonix6-deactivatedaccount-deactivatedaccount) wrote :

I believe that it could be related to the python installation.
I have the:
python36-devel.x86_64 3.6.8-2.module_el8.3.0+562+e162826a @appstream

After cloning the git from:
git clone -b master https://opendev.org/openstack/openstack-ansible /opt/openstack-ansible

and trying to run the integrity checker:
openstack-ansible setup-infrastructure.yml --syntax-check

I get the following:

[root@srv-infra playbooks]# openstack-ansible setup-infrastructure.yml --syntax-check
-bash: openstack-ansible: command not found

I really cannot understand this, the git from openstack-ansible is defenitly cloned.
So it's either the pip package or the python package.

I have tried to remove the python, but the same version will be installed after.

[root@srv-infra playbooks]# dnf remove python36-devel.x86_64
Dependencies resolved.
=====================================================================================================================================================================================================================================
 Package Architecture Version Repository Size
=====================================================================================================================================================================================================================================
Removing:
 python36-devel x86_64 3.6.8-2.module_el8.3.0+562+e162826a @appstream 13 k
Removing unused dependencies:
 platform-python-devel x86_64 3.6.8-31.el8 @appstream 696 k
 python-rpm-macros noarch 3-39.el8 @appstream 3.3 k
 python3-rpm-generators noarch 5-6.el8 @appstream 55 k

Transaction Summary
=====================================================================================================================================================================================================================================
Remove 4 Packages

Freed space: 767 k
Is this ok [y/N]:

[root@srv-infra playbooks]# dnf install python3-devel
Last metadata expiration check: 0:35:29 ago on Tue 26 Jan 2021 11:05:06 AM CET.
Dependencies resolved.
=====================================================================================================================================================================================================================================
 Package Architecture Version Repository Size
=====================================================================================================================================================================================================================================
Installing:
 python36-devel x86_64 3.6.8-2.module_el8.3.0+562+e162826a appstream 16 k
Installing dependencies:
 platform-python-devel x86_64 3.6.8-31.el8 appstream 247 k
 python-rpm-macros noarch 3-39.el8 appstream 14 k
 python3-rpm-generators noarch 5-6.el8 appstream 24 k

Transaction Summary
=====================================================================================================================================================================================================================================
Install 4 Packages

Total download size: 303 k
Installed size: 767 k
Is this ok [y/N]:

...