Bug 1272348
| Summary: | ksc crashes when run without arguments | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Akemi Yagi <toracat> | ||||
| Component: | ksc | Assignee: | Stanislav Kozina <skozina> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Chunyu Hu <chuhu> | ||||
| Severity: | medium | Docs Contact: | Marie Hornickova <mdolezel> | ||||
| Priority: | unspecified | ||||||
| Version: | 7.3 | CC: | ajb, ccui, chuhu, riehecky, shdeng, skozina | ||||
| Target Milestone: | rc | Keywords: | Rebase | ||||
| Target Release: | 7.3 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | ksc-0.9.15-1.el7.noarch | Doc Type: | Release Note | ||||
| Doc Text: |
*ksc* now returns an error instead of crashing when running without mandatory arguments
Previously, the *ksc* tool terminated unexpectedly when running without the mandatory arguments. With this update, *ksc* returns an error message and exits gracefully in the described situation.
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 1318914 (view as bug list) | Environment: | |||||
| Last Closed: | 2016-11-04 03:54:34 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1318914, 1370477 | ||||||
| Attachments: |
|
||||||
Created attachment 1083531 [details]
Patch to add rheh67 to ksc
A patch submitted. Akemi, Thank you for your report. This happens with ksc version 0.9.14 on both rhel-6 and rhel-7. I'm fixing this in upcoming release of ksc-0.9.15. *** Bug 1318914 has been marked as a duplicate of this bug. *** 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://rhn.redhat.com/errata/RHBA-2016-2334.html |
Description of problem: When ksc is run on a RHEL 6.7 system, it produces the following error: Traceback (most recent call last): File "/usr/share/ksc/ksc.py", line 449, in <module> k.main() File "/usr/share/ksc/ksc.py", line 130, in main self.releasedir = choices['rhel{0}'.format(get_release_name())] KeyError: 'rhel6.7' Version-Release number of selected component (if applicable): ksc-0.9.14-1.el6.noarch How reproducible: Always Steps to Reproduce: 1. Run ksc on RHEL 6.7 2. 3. Actual results: See above Expected results: No error Additional info: