Bug 1032673
Summary: | [RFE]“Repo-override” should inform user when adding an override for a non-existing Repo | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | spandey |
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: | bkearney, ckozak, kbanerje, mstead, spandey |
Target Milestone: | rc | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 12:58:48 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
spandey
2013-11-20 14:57:17 UTC
In my opinion, adding a repo override to a currently non-existant repo is acceptable and will persist the life of the consumer applying to subscriptions as they are attached and removed. I believe this is the behavior we want. However, it can also be misleading to a user that has inadvertantly mistyped a repo name. I would suggest adding an informative feedback similar to the following mock-up... # subscription-manager repo-override --repo=foo --repo=bar --add=test1:123 Repository 'foo' does not currently exist, but the override has been added. Repository 'bar' does not currently exist, but the override has been added. # echo $? 0 I like this idea. I'll work on a fix for this. 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: 56a31342-9ab1-4185-8917-a641cf7b31c0 [root@jsefler-7 ~]# subscription-manager repo-override --repo=tesssssssssss --add=test1:123 Repository 'tesssssssssss' does not currently exist, but the override has been added. [root@jsefler-7 ~]# subscription-manager repo-override --list Repository: tesssssssssss test1: 123 [root@jsefler-7 ~]# VERIFIED: When adding a repo-override to a currently non existent repo, the user is informed that the repo does not exist, yet the addition succeeds for future repos. 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. |