Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
'Update validate autorelease projects for oxygen
[releng/builder.git]
/
jjb
/
odl-openstack-cleanup-orphaned-nodes.sh
diff --git
a/jjb/odl-openstack-cleanup-orphaned-nodes.sh
b/jjb/odl-openstack-cleanup-orphaned-nodes.sh
index 1b7f0c68e47389c6ab0d7cd2f2d63f12bf48b0f2..c3c6b35a24e23c25b85e77ff60dd2851ee8d2dc1 100644
(file)
--- 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')
# shellcheck disable=SC2207
mapfile -t OS_SERVERS < <(openstack server list -f value -c "Name" | grep -E 'prd|snd')
-deactivate
-
#############################
## DELETE ORPHANED SERVERS ##
#############################
#############################
## 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
# Search for servers that are not in use by either releng or sandbox silos and
# delete them.
for server in "${OS_SERVERS[@]}"; do