Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.16.0
-
None
-
None
Description
hod script command deallocate previously allocated cluster even if that cluster is alive
Following are the steps -:
1. Ran hod allocate -d ~/cdir -n 10
2. Again Ran hod script -d ~/cdir -n 10 -s scriptfile.sh
hod allocate fails to allocate new cluster for script and fail with error -:
[
CRITICAL/50 hod:310 - Found a previously allocated cluster at cluster directory '~/cdir'. Deallocate the cluster first.
CRITICAL/50 hod:647 - Error 12 in allocating the cluster. Cannot run the script.
]
but hod deallocates previous cluster and exits with exit code 0.