You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/resize.sh
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ fi
23
23
24
24
if [ $#-eq 0 ] || [ $1=="--help" ]
25
25
then
26
-
python3 $folder/resize.py --help
26
+
/usr/bin/python3 $folder/resize.py --help
27
27
exit
28
28
fi
29
29
@@ -104,7 +104,7 @@ then
104
104
mysql -u $ENV_MYSQL_USER -p$ENV_MYSQL_PASS -e "use $ENV_MYSQL_DATABASE_NAME; UPDATE cluster_log.clusters SET started_resize='$start_timestamp',state='resizing' WHERE id='$cluster_id'">>$log2>&1
105
105
fi
106
106
107
-
python3 $folder/resize.py ${@}| tee -a $log2>&1| grep STDOUT
107
+
/usr/bin/python3 $folder/resize.py ${@}| tee -a $log2>&1| grep STDOUT
108
108
status=${PIPESTATUS[0]}
109
109
end=`date -u +%s`
110
110
end_timestamp=`date -u +'%F %T'`
@@ -115,7 +115,7 @@ then
115
115
echo"Successfully Resized cluster $cluster_name in $runtime seconds"
116
116
if [ -f$monitoring_folder/activated ]
117
117
then
118
-
nodes_list=`python3 $folder/resize.py --cluster_name $cluster_name list | grep ocid1.instance`
118
+
nodes_list=`/usr/bin/python3 $folder/resize.py --cluster_name $cluster_name list | grep ocid1.instance`
0 commit comments