| Summary: | [fork][origin_ui_58] The count of left node is incorrect for suggestions when we have multi districts | ||
|---|---|---|---|
| Product: | OKD | Reporter: | zhaozhanqi <zzhao> |
| Component: | Website | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-19 16:46:28 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: | |
|
Description
zhaozhanqi
2013-09-05 07:52:15 UTC
Awesome catch. You are really paying close attention. I think that number is meant to be the total that can be created in all districts, so it's being misrepresented. But it needs to be fixed regardless. Should be fixed in fork_ami origin_ui_81 #824 Tested this bug on fork_ami origin_ui_81_825 Add 3 nodes to district d1, which according to an active gear percent of 5% has room for 3 more nodes. oo-admin-ctl-district -c add-node -n 'd1' -i <server_identity> Add 3 nodes to district d2, which according to an active gear percent of 5% has room for 3 more nodes. oo-admin-ctl-district -c add-node -n 'd2' -i <server_identity> Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/2625a6adca69006d1cfd47ca9992a02bc5b5831f <admin suggestions> fix bug 1004671 https://bugzilla.redhat.com/show_bug.cgi?id=1004671 The count of nodes left is incorrect for suggestions when we have multiple districts The total nodes that could be created in all existing districts was given, rather than how many could be created in a particular district. Should correctly show per-district space for nodes now. |