Bug 1381256
| Summary: | unexpected error and a traceback on the abort action while deleting CDS and HAProxy | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Irina Gulina <igulina> |
| Component: | Tools | Assignee: | bizhang |
| Status: | CLOSED ERRATA | QA Contact: | Irina Gulina <igulina> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.0.0 | CC: | bizhang, bperkins, pcreech |
| Target Milestone: | --- | ||
| Target Release: | 3.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-01 22:13:30 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: | |||
works fine for cds and haproxy deletion on iso 20161122
>> rhui (cds) => d
Select the CDS to unregister:
- 1 :
Hostname: cds01.example.com
SSH Username: ec2-user
SSH Private Key: /root/.ssh/id_rsa_rhua
Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: b
------------------------------------------------------------------------------
rhui (cds) =>
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0367 |
Description of problem: If to abort deleting of CDS or HAProxy, an unexpected error and a traceback are shown. Version-Release number of selected component (if applicable): RHEL6 and RHEL7 ISO's 20160921 How reproducible: always Steps to Reproduce: 1. have registered CDS and/or HAProxy 2. press 'd' to unregister/delete any 3. press 'b' to abort action Actual results: ************ For CDS: ************ rhui (cds) => d Select the CDS to unregister: - 1 : Hostname: cds01.example.com SSH Username: ec2-user SSH Private Key: /root/.ssh/id_rsa_rhua Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: ? <num> : toggles selection, value values between 1 and 1 x-y : toggle the selection of a range of items (example: "2-5" toggles items 2 through 5) a : select all items n : select no items c : confirm the currently selected items b : abort the item selection l : clears the screen and redraws the menu Select the CDS to unregister: - 1 : Hostname: cds01.example.com SSH Username: ec2-user SSH Private Key: /root/.ssh/id_rsa_rhua Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: b An unexpected error has occurred during the last operation. More information can be found in /root/.rhui/rhui.log. ************ For HAProxy: ************ rhui (loadbalancers) => d Select the HAProxy Load-balancer to unregister: - 1 : Hostname: hap01.example.com SSH Username: ec2-user SSH Private Key: /root/.ssh/id_rsa_rhua Enter value (1-1) to toggle selection, 'c' to confirm selections, or '?' for more commands: b An unexpected error has occurred during the last operation. More information can be found in /root/.rhui/rhui.log. In both cases the error is the same: less /root/.rhui/rhui.log 2016-10-03 09:29:37,733 - Unexpected error caught at the shell level Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/rhui/tools/shell.py", line 88, in safe_listen self.listen(clear=first_run) File "/usr/lib/python2.7/site-packages/rhui/tools/shell.py", line 122, in listen Shell.listen(self) File "/usr/lib/python2.7/site-packages/rhui/common/shell.py", line 186, in listen item.func(*args, **item.kwargs) File "/usr/lib/python2.7/site-packages/rhui/tools/screens/cds.py", line 47, in unregister InstanceScreen.unregister(self, cleanup_script, force=force) File "/usr/lib/python2.7/site-packages/rhui/tools/screens/instances.py", line 282, in unregister selections.sort() AttributeError: 'str' object has no attribute 'sort' 2016-10-03 09:29:56,454 - <type 'exceptions.AttributeError'> 2016-10-03 09:29:56,455 - Unexpected error caught at the shell level Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/rhui/tools/shell.py", line 88, in safe_listen self.listen(clear=first_run) File "/usr/lib/python2.7/site-packages/rhui/tools/shell.py", line 122, in listen Shell.listen(self) File "/usr/lib/python2.7/site-packages/rhui/common/shell.py", line 186, in listen item.func(*args, **item.kwargs) File "/usr/lib/python2.7/site-packages/rhui/tools/screens/loadbalancers.py", line 30, in unregister InstanceScreen.unregister(self, cleanup_script, force=force) File "/usr/lib/python2.7/site-packages/rhui/tools/screens/instances.py", line 282, in unregister selections.sort() AttributeError: 'str' object has no attribute 'sort'