Bug 1034396
Summary: | repo-override command should not require entitlements | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Michael Stead <mstead> |
Component: | subscription-manager | Assignee: | Michael Stead <mstead> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | ckozak |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 09:55:33 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: | 863175 |
Description
Michael Stead
2013-11-25 18:30:29 UTC
Patch waiting on review: https://github.com/candlepin/subscription-manager/pull/832 Available in: subscription-manager-1.10.8-1 Verifying Version... [root@jsefler-7 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: Unknown subscription-manager: 1.10.8-1.el7 python-rhsm: 1.10.8-1.el7 [root@jsefler-7 ~]# subscription-manager register --serverurl=jsefler-f14-candlepin.usersys.redhat.com:8443/candlepin Username: testuser1 Password: Organization: admin The system has been registered with ID: 51c808aa-f9b0-45a7-bd6b-e4b9b561c596 [root@jsefler-7 ~]# subscription-manager repos --list This system has no repositories available through subscriptions. [root@jsefler-7 ~]# subscription-manager repo-override --list This system does not have any content overrides applied to it. [root@jsefler-7 ~]# subscription-manager repo-override --add=foo:bar --repo=my-repo Repository 'my-repo' does not currently exist, but the override has been added. [root@jsefler-7 ~]# subscription-manager repo-override --list Repository: my-repo foo: bar [root@jsefler-7 ~]# subscription-manager list --avail | grep Pool | tail -1 Pool ID: 8a90874042bf59cd0142bf5a9fbf0832 [root@jsefler-7 ~]# subscription-manager attach --pool 8a90874042bf59cd0142bf5a9fbf0832 Successfully attached a subscription for: RAM/Cores Package (8GB, 4 cores) [root@jsefler-7 ~]# subscription-manager repos --list | head -8 +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: awesomeos Repo Name: awesomeos Repo URL: https://cdn.redhat.com/path/to/$basearch/$releasever/awesomeos Enabled: 0 [root@jsefler-7 ~]# subscription-manager repo-override --add=enabled:1 --repo=awesomeos [root@jsefler-7 ~]# subscription-manager repos --list | head -8 +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: awesomeos Repo Name: awesomeos Repo URL: https://cdn.redhat.com/path/to/$basearch/$releasever/awesomeos Enabled: 1 [root@jsefler-7 ~]# subscription-manager repo-override --list Repository: awesomeos enabled: 1 Repository: my-repo foo: bar [root@jsefler-7 ~]# subscription-manager remove --all 1 subscription removed at the server. 1 local certificate has been deleted. [root@jsefler-7 ~]# subscription-manager repo-override --list Repository: awesomeos enabled: 1 Repository: my-repo foo: bar [root@jsefler-7 ~]# subscription-manager repo-override --remove-all [root@jsefler-7 ~]# subscription-manager repo-override --list This system does not have any content overrides applied to it. VERIFIED: repo-overrides can now be manipulated independent of attached subscriptions. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |