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

Maintaining referential integrity in (users|projects)_terminate #19

Open
Be-El opened this issue Oct 11, 2018 · 1 comment
Open

Maintaining referential integrity in (users|projects)_terminate #19

Be-El opened this issue Oct 11, 2018 · 1 comment

Comments

@Be-El
Copy link
Contributor

Be-El commented Oct 11, 2018

Both XYZ_terminate method remove the keystone entities (not sure whether these methods are actually used in the code...).

Removing a project usually does not remove the project's resource like VMs, networks, routers, floating IPs... All these resources will be orphaned after removal.

Either

  • remove the functions if they are not used. Otherwise developers might want to use them in their own stuff without checking the code...

  • implement the correct functionality. The command line client offers a 'project purge' call, which should do the right[tm] things

  • put a BIG FAT warning in the documentation to inform developers that these methods are not what they are looking for....

And correctly implementing this functionality is kind of difficult, since depending on the cloud setup you might have different kind of resources (s3/swift buckets, heat stacks, magnum based kubernetes clusters....).

@pbelmann
Copy link
Member

And correctly implementing this functionality is kind of difficult, since depending on the cloud setup you might have different kind of resources (s3/swift buckets, heat stacks, magnum based kubernetes clusters....).

I agree. For this we will have to allow a cloud site to extend the module for cloud specific clean up functionality.

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