You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.
TASK [tripleo_inventory : Install virtualenv module] ******************************************
fatal: [localhost -> undercloud-0]: FAILED! => {"changed": false, "msg": "Unable to find any of pip3 to use. pip needs to be installed."}
This is because : root can't see the pip executable (as a security measure so as to not overwrite system py libs ?)
on live env:
[stack@undercloud-0 ~]$ cat core_puddle_version
RHOS-16.2-RHEL-8-20211129.n.1[stack@undercloud-0 ~]$ whoami;which pip
stack
~/.local/bin/pip
[stack@undercloud-0 ~]$ sudo -i
[root@undercloud-0 ~]# whoami;which pip
root
/usr/bin/which: no pip in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@undercloud-0 ~]#
@pinikomarov Apologies but we were not able to fix sync issues and GerritHub not always willing to help because we're not enterprise customers.
We're moving to https://github.com/rhos-infra/tripleo-clouds-inventory.
I will fix this issue there and will update all of our infrared/rhos components.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ERROR :
TASK [tripleo_inventory : Install virtualenv module] ******************************************
fatal: [localhost -> undercloud-0]: FAILED! => {"changed": false, "msg": "Unable to find any of pip3 to use. pip needs to be installed."}
This is because : root can't see the pip executable (as a security measure so as to not overwrite system py libs ?)
on live env:
[stack@undercloud-0 ~]$ cat core_puddle_version
RHOS-16.2-RHEL-8-20211129.n.1[stack@undercloud-0 ~]$ whoami;which pip
stack
~/.local/bin/pip
[stack@undercloud-0 ~]$ sudo -i
[root@undercloud-0 ~]# whoami;which pip
root
/usr/bin/which: no pip in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@undercloud-0 ~]#
this Issue is fixed when I comment out :
the become: true in :
bbe1a4b#diff-06fefd59474e191c1867d84f9744f88b91570dd2da3e2c7cca0c3cf0ba50d0c5
vars:
packages: "{%- if hostvars[groups['undercloud'][0]]['ansible_python']['version']['major'] == 2 -%}
virtualenv==16.7.9
{%- else -%}
setuptools, virtualenv
{%- endif -%}"
pip:
name: "{{ packages }}"
#become: true
@eshulman2 can you take a look at this ? I think this blocks the tripleo-inventory plugin
The text was updated successfully, but these errors were encountered: