Comment 7 for bug 1996874

Revision history for this message
Sandeep Yadav (sandeepyadav93) wrote :

Thanks to Rabi and Takashi for the fix.

Testproject: https://review.rdoproject.org/r/c/testproject/+/25325/125/.zuul.yaml#7 is green var "buildcontainers_venv: false"

https://logserver.rdoproject.org/25/25325/125/check/periodic-tripleo-ci-build-containers-ubi-9-quay-push-master/e519ee1/logs/build_containers.sh confirms no virtual env used.

Adding a summary of the discussion with Rabi:

Patch[0] brought the issue to notice as we changed that playbook to use the ansible controller interpreter rather than discovering it.

For now, we can merge patches [1] and [2] and look at if there is a case to use venv later. If we plan to use venv for some reason ( we should install all python libraries using pip). But we don't use virtual env for content provider jobs[3].

Rabi plans to cherry-pick [1] at least till Zed.

[0] https://review.opendev.org/c/openstack/python-tripleoclient/+/864647/3/tripleoclient/v2/tripleo_container_image.py
[1] https://review.rdoproject.org/r/c/config/+/46139
[2] https://review.rdoproject.org/r/c/rdo-jobs/+/46141
[3] https://c18ded86635bab17724f-51fb74e788bc28a37082204769947c3c.ssl.cf1.rackcdn.com/periodic/opendev.org/openstack/tripleo-heat-templates/master/tripleo-ci-centos-9-content-provider/3352f61/logs/undercloud/home/zuul/tripleo_container_image_build.sh