Fix: Use lf-activate-venv to install openstack dep 78/70578/3 v0.80.2
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 1 Sep 2022 03:03:24 +0000 (13:03 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 2 Sep 2022 09:06:18 +0000 (19:06 +1000)
commita8c7722c19cfca9f0361c578ce63bf552093dd0e
treeb969b325f0bd90cd94f3c8447d9b6c3de9d13582
parentf0aba8bb5ffd86b4bd9f9e36f7d36d1ff9531983
Fix: Use lf-activate-venv to install openstack dep

Using python-tools-install.sh for the pre/post build is not recommended
approach for installing python dependencies since this installs the
dependencies with `--user` option (removed in I821a86ac3b54f284e8).

Instead use lf-activate-venv to setup an venv and pull in the required
dependencies and save the path of the virtualenv in a temp file that
can be checked before attempting to create a venv.

Issue-ID: RELENG-4357
Change-Id: I00bbf08921a3ddc6349e74e9cd9d6316b0876749
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
16 files changed:
jenkins-init-scripts/lf-env.sh
releasenotes/notes/fix-openstack-pre-reqs-014ed3db94365608.yaml [new file with mode: 0644]
shell/jenkins-verify-images.sh
shell/logs-deploy.sh
shell/openstack-cleanup-old-images.sh
shell/openstack-cleanup-orphaned-k8s-clusters.sh
shell/openstack-cleanup-orphaned-ports.sh
shell/openstack-cleanup-orphaned-servers.sh
shell/openstack-cleanup-orphaned-stacks.sh
shell/openstack-cleanup-orphaned-volumes.sh
shell/openstack-kubernetes-create.sh
shell/openstack-protect-in-use-images.sh
shell/openstack-stack-copy-ssh-keys.sh
shell/openstack-stack-create.sh
shell/openstack-stack-delete.sh
shell/python-tools-install.sh