| Summary: | Error parsing baseurl: <message> is not as informative as it used to be | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Adrian Likins <alikins> |
| Status: | CLOSED DUPLICATE | QA Contact: | John Sefler <jsefler> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | alikins, ckozak, gxing |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-17 14:38: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: | |
| Bug Depends On: | |||
| Bug Blocks: | 863175 | ||
|
Description
John Sefler
2013-12-18 19:49:50 UTC
Looks like the cli code was relying on the msg in the exception, and not using the cli handle_exception code. the handle_exception is what ends up populating the error message now. pr at: https://github.com/candlepin/subscription-manager/pull/857 Now the subscription-manager looks like will ignore the baseurl option when it is not right? I meet some very strange cases. [root@dhcp-13-183 ~]# subscription-manager register --baseurl=https://hostname This system is already registered. Use --force to override [root@dhcp-13-183 ~]# subscription-manager register --baseurl=www.baidu.com --force The system with UUID 1add5159-32d8-4300-84a2-e39b2cca29bb has been unregistered Username: rhel7beta Password: The system has been registered with ID: 80a49b59-84bd-4f85-90de-4e23fa963bee [root@dhcp-13-183 ~]# subscription-manager register --baseurl=https://hostname:PORT Error parsing baseurl: None *** This bug has been marked as a duplicate of bug 1054496 *** |