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

[2.2.11] WALA deprovision process not clean up all cloudinit file #721

Closed
yuhuijiang opened this issue May 18, 2017 · 2 comments
Closed
Milestone

Comments

@yuhuijiang
Copy link

Hi there,
cloudinit marker file("/var/lib/cloud/sem/config_scripts_per_once.once") not remove during deprovision process
This file is a marker for cloudinit module "scripts-per-once".So if not remove this file during deprovision process,while deploy a new VM use this,during the new VM's provision process, "scripts-per-once" module check the marker file exists,so the module will skip this module's follow code,and run the next module.
So this will cause some issues in some scenarious.

Now,WALA only clean up below folders,
pa/deprovision/default.py(line 102-106)

def cloud_init_directories(self):
return ["/var/lib/cloud/instance",
"/var/lib/cloud/instances/",
"/var/lib/cloud/data"]

B&R
Yuhui

@brendandixon brendandixon added this to the v2.2.12 milestone May 18, 2017
@brendandixon
Copy link
Contributor

@yuhuijiang Thank you. We'll address it in our next release.

@brendandixon
Copy link
Contributor

Fixed in #728

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