| Summary: | some RHSM related messages leaks to installer output and in case of "RHSM Subscriptions" issue there is no helpful message in install log | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Jan Hutař <jhutar> |
| Component: | Installer | Assignee: | Gennadii Altukhov <galtukho> |
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 580 | CC: | galtukho, ggainey, ktordeur, tlestach |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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-05-19 15:01:09 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1340444 | ||
|
Description
Jan Hutař
2016-11-04 09:52:45 UTC
And about empty parentheses in "** Subscriptions: Disabling all RHSM repositories ().": looking into the code there is:
my $enabled_repos = `/usr/bin/subscription-manager repos --list-enabled --list-enabled | grep "Repo ID:" | awk '{print \$3}'`;
$enabled_repos = join(', ', split(/\n/,$enabled_repos));
There is "--list-enabled" twice, but looks like this is not a problem. Maybe we can skip disabling repos if there is none enabler to save two seconds or so?
When enabling the repo, it fails on s390x, because there is this code:
use constant RHEL_BASE_REPO_ID => 'rhel-?-server-rpms';
and later in the code that seems to be substituted by OS version, but repository for s390x is "rhel-6-for-system-z-rpms".
Tested on:
# rpm -q --queryformat '%{version} %{release} %{epoch} %{arch}' --whatprovides redhat-release
6Server 6.8.0.5.el6 (none) s390x
Oh, another issue is that when we are attaching pools, on s390x we are checking if we have pool providing: use constant RHEL_PRODUCT_NAME => 'Red Hat Enterprise Linux Server'; But we should be checking for "Red Hat Enterprise Linux for IBM z Systems". *** Bug 1415099 has been marked as a duplicate of this bug. *** Reversing the sense of the DUP - 1415099 has the fix-commits *** This bug has been marked as a duplicate of bug 1415099 *** |