hpc / hpc-collab

This project provides provisioned HPC cluster models using underlying virtualization mechanisms.
Other
10 stars 7 forks source link

gracefully remove flags in ._state/provisioned dir #171

Open nfrumkin opened 4 years ago

nfrumkin commented 4 years ago

When unprovisioning using vc--, vcdb--, unprovision, etc., the state flags in the hpc-collab/clusters/common/._state/provisioned directory are not removed automatically (this is a new phenomena as of the past month).

We currently have to manually execute rm hpc-collab/clusters/common/._state/provisioned/* in order to reprovision.

ssenator commented 4 years ago

The make target 'clean-state' (from within the clusters/vc or clusters/vx recipe directory do this. make -C clusters/vc clean-state and sometimes you may need: make -C clusters/vc clean which is a bit more thorough and removes additional files. If using those, you may need to do a following: make -C clusters/vc Vagrantfile to regenerate it. This is currently implemented in the dev branch and will be propagated to the master branch in the next major merge.

nfrumkin commented 4 years ago

Great, is this also implemented in vc-- and such? Or should be called in addition to these aliases