Bug 822186
Summary: | rhc-admin-ctl-district errors trying to destroy an empty district... | ||
---|---|---|---|
Product: | OKD | Reporter: | Thomas Wiest <twiest> |
Component: | Pod | Assignee: | Dan McPherson <dmcphers> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | bmeng, dmcphers, jialiu, mpatel, rmillner, xtian |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | devenv_1779 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-08 17:59:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thomas Wiest
2012-05-16 15:09:07 UTC
Verified this bug with devenv_1780, and PASS. 1. Create a district. 2. Log into mongo, do the following change to create test scenarios. PRIMARY> a = db.district.findOne({ "uuid" : "0bcd0f2359e74273bc2ec0787d73c89d" }) PRIMARY> a['available_capacity'] = 5998 5998 PRIMARY> db.district.update( { "uuid" : "0bcd0f2359e74273bc2ec0787d73c89d" }, a ) 3. Check "available_capacity" of district saying there are 2 allocated uids. {"max_uid"=>6999, "available_capacity"=>5998, "externally_reserved_uids_size"=>0, "server_identities"=>{"ip-10-118-103-144"=>{"active"=>true}}, "creation_time"=>"2012-05-17T23:03:11-04:00", "available_uids"=>"<6000 uids hidden>", "uuid"=>"0bcd0f2359e74273bc2ec0787d73c89d", "active_server_identities_size"=>1, "node_profile"=>"small", "max_capacity"=>6000, "name"=>"d1"} 4. Destroy this district. # rhc-admin-ctl-district -n d1 -c destroy !!!! WARNING !!!! WARNING !!!! WARNING !!!! You are about to destroy the d1 district. This is NOT reversible, all remote data for this district will be removed. Do you want to destroy this district (y/n): y Successfully destroyed district: d1 # rhc-admin-ctl-district No districts created yet. Use 'rhc-admin-ctl-district -c create' to create one. |