Bug 1405083
| Summary: | The atomic client configuration package dialog fails on RHEL 6 | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Radek Bíba <rbiba> |
| Component: | Tools | Assignee: | RHUI Bug List <rhui-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Radek Bíba <rbiba> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.0.0 | CC: | bizhang, lwilliam, 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: | 1404659 | Environment: | |
| Last Closed: | 2017-03-01 22:15:00 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: | 1404659 | ||
| Bug Blocks: | 1356695 | ||
|
Description
Radek Bíba
2016-12-15 14:45:59 UTC
While ostree content is not supported on RHEL6, this does need to be handled better. Suggestions are: 1. Hide this menu option on rhel6 (preferred) 2. Return a message upon entering this menu option that it is not supported. Unfortunately, the fix didn't work. I still see 'o create an atomic client configuration package' on RHEL 6.
I believe the problem is in the way the distribution is determined. The code reads:
if platform.linux_distribution()[2] is not 'Santiago':
self.add_menu_item(MenuItem('o', 'create an atomic client configuration package', self.create_atomic_package))
But 'is not' compares objects, not strings, doesn't it? So the condition is always met. You need != instead.
Confirmed in 20170118 - 'o create an atomic client configuration package' is no longer available on RHEL 6. Thanks. 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 |