Bug 1058380
Summary: | Remove ""This system is not registered to... | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Adrian Likins <alikins> |
Component: | subscription-manager | Assignee: | William Poteat <wpoteat> |
Status: | CLOSED WORKSFORME | QA Contact: | John Sefler <jsefler> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5 | CC: | jesusr, wpoteat |
Target Milestone: | rc | ||
Target Release: | 6.6 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-20 23:15:07 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: | 1014343 |
Description
Adrian Likins
2014-01-27 17:00:43 UTC
er, bugzilla weirdness. See https://access.redhat.com/site/solutions/291813 The "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register." and/or "This system is not registered with RHN Classic or RHN Satellite. You can use rhn_register to register. RHN Satellite or RHN Classic support will be disabled." Causes lots of confusion. See view count on that article... It is also largely wrong for rhel7 (no rhn). Commit 050591af59cd0b84e31b689c18a19a6692149f2d (In reply to William Poteat from comment #4) > Commit 050591af59cd0b84e31b689c18a19a6692149f2d This commit is included in subscription-manager-1.12.2+ which is targeted for release with RHEL6.6. Moving to product RHEL6 for verification... Demonstrating/Verifying.... On a RHEL6.5 server where the offending behavior exists... [root@qe-blade-04 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.5 (Santiago) [root@qe-blade-04 ~]# rpm -q $(rpm -q --whatprovides /etc/redhat-release) redhat-release-server-6Server-6.5.0.1.el6.x86_64 [root@qe-blade-04 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.9.20.1-1 subscription-manager: 1.9.11-1.el6 python-rhsm: 1.9.6-1.el6 [root@qe-blade-04 ~]# subscription-manager identity This system is not yet registered. Try 'subscription-manager register --help' for more information. [root@qe-blade-04 ~]# yum repolist Loaded plugins: product-id, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repolist: 0 [root@qe-blade-04 ~]# OFFENDING MESSAGE "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register." is presented by the yum subscription-manager plugin [root@qe-blade-04 ~]# yum update redhat-release-server-6Server subscription-manager python-rhsm --quiet -y --enablerepo=latest-RHEL66 This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. [root@qe-blade-04 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 Beta (Santiago) [root@qe-blade-04 ~]# rpm -q redhat-release-server-6Server redhat-release-server-6Server-6.6.0.1.el6.x86_64 [root@qe-blade-04 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 0.9.20.1-1 subscription management rules: 5.9 subscription-manager: 1.12.4-1.el6 python-rhsm: 1.12.4-1.el6 [root@qe-blade-04 ~]# subscription-manager identity This system is not yet registered. Try 'subscription-manager register --help' for more information. [root@qe-blade-04 ~]# yum repolist Loaded plugins: product-id, security, subscription-manager repolist: 0 [root@qe-blade-04 ~]# VERIFIED: The offending message is no longer presented by the yum subscription-manager plugin during a yum transaction when not registered. Note that this bug removes some of the "Yum Plugin usability Improvements" that were implemented to address bug 818383 and bug 832119. This is failing again. Somehow the changes that were introduced by subscription-manager commit 050591af59cd0b84e31b689c18a19a6692149f2d got clobbered in subscription-manager.py or got reverted or something that is once against causing the offending message "This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register." to be presented by the yum subscription-manager plugin... [root@jsefler-6 ~]# rpm -q subscription-manager subscription-manager-1.12.12-1.el6.x86_64 [root@jsefler-6 ~]# subscription-manager identity This system is not yet registered. Try 'subscription-manager register --help' for more information. [root@jsefler-6 ~]# yum repolist Loaded plugins: product-id, refresh-packagekit, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. repolist: 0 [root@jsefler-6 ~]# Did not expect the offending message during the yum transaction. Moving back to ASSIGNED/FailedQA f8b170db15675819eb51459999cc8e99f74059eb changes behaviour as well commit f8b170db15675819eb51459999cc8e99f74059eb Author: Devan Goodwin <dgoodwin> Date: Wed Jun 4 12:21:29 2014 -0300 Don't encourage registration in yum plugin if we have ents but no identity. In containers, we will have entitlements but no identity, we do not want to encourage users to run register every time they use yum in this situation. Also fixing a logic error, if you had no identity, and no ents, we were prompting you to subscribe. (when we should be prompting you to register) (my preference is still to be quiet in both cases...) and 81d7bc5cf44b6d727781247fe1606d3a13ddfead changes behaviour as too 1122772: yum repolist now displays warning when appropriate. In favor of all of the competing commits and newer bug 1122772 used to revert some of the aggressive removal of messaging from this bug, I'm just going to move this bug to CLOSED WORKSFORME against the current build of subscription-manager... [root@jsefler-6 ~]# rpm -q subscription-manager subscription-manager-1.12.12-1.el6.x86_64 |