Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gracefully remove flags in ._state/provisioned dir #171

Open
nfrumkin opened this issue Jul 31, 2020 · 2 comments
Open

gracefully remove flags in ._state/provisioned dir #171

nfrumkin opened this issue Jul 31, 2020 · 2 comments

Comments

@nfrumkin
Copy link

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
Copy link
Collaborator

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants