Bug 998902
Summary: | Can not create application on medium node in medium district and c9 node in c9 district from website. | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Yujie Zhang <yujzhang> |
Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> |
Status: | CLOSED NOTABUG | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.x | CC: | xtian, yujzhang |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-22 02:58:41 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
Yujie Zhang
2013-08-20 10:18:23 UTC
oo-stats result: [root@ip-10-145-185-23 ~]# oo-stats --------------------- Profile 'c9' summary: --------------------- District count : 1 District capacity : 6000 Dist avail capacity : 5999 Dist avail uids : 5999 Lowest dist usage pct : 0.01666666666666572 Highest dist usage pct : 0.01666666666666572 Avg dist usage pct : 0.01666666666666572 Nodes count : 1 Nodes active : 1 Gears total count : 1 Gears active count : 1 Available active gears : 3071 Effective available gears : 3071 Districts: Name Nodes DistAvailCapacity GearsActive EffectiveAvailGears AvgActiveUsagePct ----- ----- ----------------- ----------- ------------------- -------------------- dist3 1 5999 1 3071 0.032552083333333336 ------------------------- Profile 'medium' summary: ------------------------- District count : 1 District capacity : 6000 Dist avail capacity : 5998 Dist avail uids : 5998 Lowest dist usage pct : 0.03333333333333144 Highest dist usage pct : 0.03333333333333144 Avg dist usage pct : 0.03333333333333144 Nodes count : 1 Nodes active : 1 Gears total count : 2 Gears active count : 2 Available active gears : 38 Effective available gears : 38 Districts: Name Nodes DistAvailCapacity GearsActive EffectiveAvailGears AvgActiveUsagePct ----- ----- ----------------- ----------- ------------------- ----------------- dist2 1 5998 2 38 5.0 ------------------------ Profile 'small' summary: ------------------------ District count : 1 District capacity : 6000 Dist avail capacity : 6000 Dist avail uids : 6000 Lowest dist usage pct : 0.0 Highest dist usage pct : 0.0 Avg dist usage pct : 0.0 Nodes count : 1 Nodes active : 1 Gears total count : 0 Gears active count : 0 Available active gears : 90 Effective available gears : 90 Districts: Name Nodes DistAvailCapacity GearsActive EffectiveAvailGears AvgActiveUsagePct ----- ----- ----------------- ----------- ------------------- ----------------- dist1 1 6000 0 90 0.0 ------------------------ Summary for all systems: ------------------------ Districts : 3 Nodes : 3 Profiles : 3 Not sure what this has to do with UI - need more debugging info about the scenario. Can you provide the broker log near the tsack trace (including the broker production log dump of the create application request). Will need the broker development.log output from around this error. Hi, Abhishek Eventually it's not a bug, sorry for having wasted your time. With normal steps on devenv-stage_448, we can not recreate the bug as well. And then I doubt yujzhang(PTO today) is trying to creating applications from the web console of the medium or c9 nodes but not from the broker, then the error is recreated: Unable to complete the requested operation due to: uid could not be reserved in target district '521574e34eae18433d000001'. Please ensure the target district has available capacity.. Reference ID: 921da8cd25e45d352e41ba318de7351e But don't think it's a valid scenario, so going to close it. The broker service was running on the node and using the console on that machine to create an application results in this error. The broker is connected to the local node and local mongo. The district_uuid is fetched from the node using facter and an attempt is made to reserve the UID within this district. The issue is that the query is made on the local mongo which is not expected to have any district data at all since this machine is the node and not the "broker". |