| Summary: | consumed_gears not being updated when apps/domains deleted | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Clayton Coleman <ccoleman> |
| Component: | Pod | Assignee: | Rajat Chopra <rchopra> |
| Status: | CLOSED DUPLICATE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 1.x | CC: | rmillner |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-27 20:34:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Count was wrongly updated in the beginning, as a result even if the app count was 0, the gear count could be 1. *** This bug has been marked as a duplicate of bug 806817 *** |
Unit tests for site are reusing the domain and invoking either app deletion or domain deletion at the end of the test. However, consumed gears is not being updated, so a user in the DB looks like: { "_id" : "app_test1", "apps" : [ ], "consumed_gears" : 5, "domains" : [ ], "login" : "app_test1", "max_gears" : 5, "ssh_keys" : { }, "uuid" : "7945a098eecc4fd0a3308e57f8eb33a2", "vip" : false } Suspect the count isn't being updated.