Bug #3661

cyclades-usage-verify misreports 0 usage as non-existing

Added by Georgios Tsoukalas over 7 years ago. Updated almost 7 years ago.

Status:Closed Start date:04/24/2013
Priority:Medium Due date:
Assignee:Christos Stavrakakis % Done:

100%

Category:Cyclades API Spent time: -
Target version:0.13.1

Description

In certain occasions, for example when a user has non-zero VMs but 0 Networks,
the following spurious warning is emitted:

#snf-manage cyclades-usage-verify --userid=UUID
Resource network.private exists in QH for UUID but not in DB


Related issues

related to Synnefo - Feature #3606: cyclades reset usage --userid should send zero resources ... Closed 04/16/2013

Associated revisions

Revision 39d44eba
Added by Christos Stavrakakis over 7 years ago

reconcile-resources: check that user exists in QH

Do not consider 0 usage for users and resources that are not included in
Quotaholder resources list, since Quotaholder returns zero usage for all
users and all resources. If a user/resource does not belong to QH
respond then it can not be an Astakos user.

Refs #3606 #3491 #3661

History

#1 Updated by Georgios Tsoukalas over 7 years ago

  • Priority changed from Low to Medium

#2 Updated by Christos Stavrakakis over 7 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Christos Stavrakakis almost 7 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF