[Openstack-operators] Resources owned by a project/tenant are not cleaned up after that project is deleted from keystone

Boris Pavlovic boris at pavlovic.me
Mon Feb 2 22:05:18 UTC 2015


This will simplify life of everybody!=)


According to what said Joe I have small suggestion.
Keystone can have next method in API:
get_all_deleted_users<tenants>_since_x()

So code in nova(any other project) should look like:

keystone_janitor = janitor.Janitor(
   get_last_cleanup_timestampt=nova.get_timestampt_of_last_cleanup,
   update_last_update_timestampt=nova.update_timestampt_of_last_cleanup,
   tenant_cleanup=nova.tenant_cleanup
   users_cleanup=nova.users_cleanup

)

           keystone_janitor.spawn()


​Best regards,
Boris Pavlovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150203/fe2c7508/attachment.html>


More information about the OpenStack-operators mailing list