Skip to content

Commit

Permalink
Merge pull request #984 from kysrpex/manage_vms_bug
Browse files Browse the repository at this point in the history
Fix manage_vms script
  • Loading branch information
kysrpex authored Nov 8, 2023
2 parents f34a332 + 71772b5 commit 362ac86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/manage_vms
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ OPENSTACK_CLOUD="freiburg_galaxy"
OPENSTACK_CMD="/opt/galaxy/venv/bin/openstack --os-cloud=$OPENSTACK_CLOUD"

get_list_of_stuck_vms(){
non_htcondor_node_names="$(/opt/galaxy/venv/bin/python /usr/local/bin/vgcn_monitoring.py | grep 'bwcloud=True,htcondor=False' | awk '{print $1}' | cut -d '=' -f2 | tr '\n' ' ')"
non_htcondor_node_names="$(/usr/bin/env OS_CLOUD=$OPENSTACK_CLOUD /opt/galaxy/venv/bin/python /usr/local/bin/vgcn_monitoring.py | grep 'bwcloud=True,htcondor=False' | awk '{print $1}' | cut -d '=' -f2 | tr '\n' ' ')"
echo -e "$non_htcondor_node_names"
}

Expand Down

0 comments on commit 362ac86

Please sign in to comment.