X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fopenstack-cleanup-orphaned-servers.sh;h=ddbf1c6142baed1d45f2f43f8303060ac6fd4098;hb=04853ec1c27444d494afae28e8c181b711280f4b;hp=629a3a0fd2226c5e6ca082fc7b65491f749ef08b;hpb=8b56734eada742094399d6e52cbc2ddef7b39b2c;p=releng%2Fglobal-jjb.git diff --git a/shell/openstack-cleanup-orphaned-servers.sh b/shell/openstack-cleanup-orphaned-servers.sh index 629a3a0f..ddbf1c61 100644 --- a/shell/openstack-cleanup-orphaned-servers.sh +++ b/shell/openstack-cleanup-orphaned-servers.sh @@ -47,6 +47,17 @@ minion_in_jenkins() { return 1 } +# shellcheck disable=SC1090 +source ~/lf-env.sh + +lf-activate-venv --python python3 "lftools[openstack]" \ + kubernetes \ + niet \ + python-heatclient \ + python-openstackclient \ + python-magnumclient \ + yq + ########################## ## FETCH ACTIVE MINIONS ## ##########################