Bug 566825
| Summary: | Grid with no slots throws exception in MRG Management Console | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | james labocki <jlabocki> |
| Component: | qpid-qmf | Assignee: | messaging-bugs <messaging-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Sarenik <jsarenik> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.2 | CC: | gsim, jross, jsarenik |
| Target Milestone: | 1.3 | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
When a grid had no slots defined, the MRG Management console threw the following exception when the "Grid" option was selected from the menu:
File "/usr/lib/python2.4/site-packages/cumin/pool.py", line 528, in render_status return record and "[div][span]%i[/span] of [span]%i[/span] slots idle[/div]" % \
TypeError: int argument required
With this update, the exception is handled correctly and the MRG Management console shows a screen with no grid slots.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-10-14 15:58:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Fixed in the 1.3 console. Verified in cumin-0.1.4352-1.el5
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
When a grid had no slots defined, the MRG Management console threw the following exception when the "Grid" option was selected from the menu:
File "/usr/lib/python2.4/site-packages/cumin/pool.py", line 528, in render_status return record and "<div><span>%i</span> of <span>%i</span> slots idle</div>" % \
TypeError: int argument required
With this update, the exception is handled correctly and the MRG Management console shows a screen with no grid slots.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,6 +1,6 @@
When a grid had no slots defined, the MRG Management console threw the following exception when the "Grid" option was selected from the menu:
-File "/usr/lib/python2.4/site-packages/cumin/pool.py", line 528, in render_status return record and "<div><span>%i</span> of <span>%i</span> slots idle</div>" % \
+File "/usr/lib/python2.4/site-packages/cumin/pool.py", line 528, in render_status return record and "[div][span]%i[/span] of [span]%i[/span] slots idle[/div]" % \
TypeError: int argument required
With this update, the exception is handled correctly and the MRG Management console shows a screen with no grid slots.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2010-0773.html |
Description of problem: When a grid has no slots defined the MRG Management console throws the following exception when the "Grid" option is select from the menu. File "/usr/lib/python2.4/site-packages/cumin/pool.py", line 528, in render_status return record and "<div><span>%i</span> of <span>%i</span> slots idle</div>" % \ TypeError: int argument required I'm not sure why you would have a grid with no slots, but the concept isn't handled cleanly. Version-Release number of selected component (if applicable): How reproducible: Create a grid with no slots, register with MRG Management console, login, click on grid. Actual results: exception thrown File "/usr/lib/python2.4/site-packages/cumin/pool.py", line 528, in render_status return record and "<div><span>%i</span> of <span>%i</span> slots idle</div>" % \ TypeError: int argument required Expected results: Handle the exception cleanly and show a screen with no grid slots.