| Summary: | No error handler on Cancel RH repo import | ||
|---|---|---|---|
| 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, 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:53 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: | |
ISO 20161122
'1 - all in the cert'
Red Hat Update Infrastructure 2.0 (RPMs) (6Server-i386)
Red Hat Update Infrastructure 2.0 (SRPMS)
Red Hat Update Infrastructure 2.0 (SRPMS) (6Server-x86_64)
Red Hat Update Infrastructure 2.0 (SRPMS) (6Server-i386)
Proceed? (y/n) n
------------------------------------------------------------------------------
rhui (repo) =>
'2 - by product'
Red Hat Storage Server 2.1 for Public Cloud (Debug RPMs) from RHUI
Red Hat Storage Server 2.1 for Public Cloud (RPMs) from RHUI
Red Hat Storage Server 2.1 for Public Cloud (Source RPMs) from RHUI
Red Hat Update Infrastructure 2.0 (RPMs)
Red Hat Update Infrastructure 2.0 (SRPMS)
Proceed? (y/n) n
------------------------------------------------------------------------------
rhui (repo) =>
'3 - by repository'
RHEL RHUI Server 7 Rhscl 1 OS
RHEL RHUI Server 7 Rhscl 1 OS (7Server-x86_64) (Yum)
Red Hat Storage 2.0 (source) for RHUI
Red Hat Storage 2.0 (source) for RHUI (x86_64) (Yum)
Beta RHEL RHUI Server 7 Optional OS
Beta RHEL RHUI Server 7 Optional OS (x86_64) (Yum)
Proceed? (y/n) n
------------------------------------------------------------------------------
rhui (repo) =>
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: When a user wants to cancel a RH repo import, an error is shown and a traceback is in logs Version-Release number of selected component (if applicable): iso 2016115 How reproducible: always Steps to Reproduce: 1. add a RH repo, It doesn't matter how 1- all in the cert, 2- by product or 3- by repo 2. press 'n' when prompted "Proceed? (y/n)" Actual results: Red Hat Update Infrastructure 2.0 (SRPMS) (6Server-x86_64) Red Hat Update Infrastructure 2.0 (SRPMS) (6Server-i386) Proceed? (y/n) n Something happened, check the log file for more information: ~/.rhui/rhui.log 2016-11-16 09:07:05,976 - Import canceled. 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 127, 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/repo.py", line 175, in add mode_handlers[mode](products) File "/usr/lib/python2.7/site-packages/rhui/tools/screens/repo.py", line 340, in _add_by_product raise RhuiException(message='Import canceled.') RhuiException: Import canceled. Expected results: No error