Open pinikomarov opened 2 years ago
@pinikomarov We have fixed this with https://review.gerrithub.io/c/rhos-infra/tripleo-inventory/+/531367 but we're having sync issues between Gerrit and GitHub.
@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.
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 : https://github.com/rhos-infra/tripleo-inventory/commit/bbe1a4b6394324aa0309eaf3a8c551f4d493b5a7#diff-06fefd59474e191c1867d84f9744f88b91570dd2da3e2c7cca0c3cf0ba50d0c5
become: true
@eshulman2 can you take a look at this ? I think this blocks the tripleo-inventory plugin