X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fodl-openstack-cleanup-orphaned-nodes.sh;h=c3c6b35a24e23c25b85e77ff60dd2851ee8d2dc1;hb=ff384fb543da708ed8bd98e2f800dbb7fc15ae49;hp=1b7f0c68e47389c6ab0d7cd2f2d63f12bf48b0f2;hpb=0a28f0362b904fe414c5dd269f969bf26a94fee1;p=releng%2Fbuilder.git diff --git a/jjb/odl-openstack-cleanup-orphaned-nodes.sh b/jjb/odl-openstack-cleanup-orphaned-nodes.sh index 1b7f0c68e..c3c6b35a2 100644 --- a/jjb/odl-openstack-cleanup-orphaned-nodes.sh +++ b/jjb/odl-openstack-cleanup-orphaned-nodes.sh @@ -50,15 +50,10 @@ source "/tmp/v/openstack/bin/activate" # shellcheck disable=SC2207 mapfile -t OS_SERVERS < <(openstack server list -f value -c "Name" | grep -E 'prd|snd') -deactivate - ############################# ## DELETE ORPHANED SERVERS ## ############################# -# shellcheck source=/tmp/v/lftools/bin/activate disable=SC1091 -source "/tmp/v/lftools/bin/activate" - # Search for servers that are not in use by either releng or sandbox silos and # delete them. for server in "${OS_SERVERS[@]}"; do