You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "Jochim, Ingo" <In...@bautzen-it.de> on 2015/12/10 10:11:28 UTC

Deleted projects cannot be billed

Hi all,

does anybody knows how deletion of a project works and why records get deleted or replace by NULL?

A much more detailed description of the issue got posted by Norbert here:
https://issues.apache.org/jira/browse/CLOUDSTACK-9096

Thanks and regards,
Ingo



Teaser:

Deleted projects cannot be billed because usage data is not available any more from the moment of project deletion. If the project is deleted in the middle of the month all usage data of this month is lost:

If you delete a project
1. the database record in cloud.project_view is removed 
2. the name field in the cloud.projects table is set to NULL, thus the original project name is completely lost.
3. the usage records for this project are not available any more via api/cloudmonkey 
(4. the usage records are still in the database and available via vm_name for example)

....