Bug 1956654
| Summary: | subscription-manager-cockpit: unable to register, when invalid proxy configuration is disabled in plugin | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Jiri Hnidek <jhnidek> | |
| Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> | |
| Status: | CLOSED ERRATA | QA Contact: | Red Hat subscription-manager QE Team <rhsm-qe> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 8.3 | CC: | arpandey, cdonnell, redakkan, zpetrace | |
| Target Milestone: | beta | Keywords: | Triaged | |
| Target Release: | 8.8 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | subscription-manager-1.28.34-1.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1969524 (view as bug list) | Environment: | ||
| Last Closed: | 2023-05-16 09:07:12 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: | 1969524 | |||
|
Description
Jiri Hnidek
2021-05-04 07:40:51 UTC
-> Reproducing the bug on version: [root@kvm-01-guest02 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 4.2.10-1 subscription management rules: 5.43 subscription-manager: 1.28.33-1.el8 -> Making changes to rhsm.conf: [root@kvm-01-guest02 ~]# subscription-manager config --list | grep proxy proxy_hostname = some.proxy.server.com proxy_password = pass proxy_port = 3333 proxy_scheme = [http] proxy_user = user -> On the cockpit console I am registering, unchecking the "use proxy server" button and registering: Error message "Danger alert:Unable to connect to: some.proxy.server.com:3333 [Errno -2] Name or service not known" appears --> bug reproduced -> Pre-verifying on version: [root@kvm-01-guest02 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 4.2.10-1 subscription management rules: 5.43 subscription-manager: 1.28.33+4.gca9258769-1.git.0.244bf50 rhsm.conf: [root@kvm-01-guest02 ~]# subscription-manager config --list | grep proxy proxy_hostname = some.proxy.server.com proxy_password = pass proxy_port = 3333 proxy_scheme = [http] proxy_user = user -> On the cockpit page registering without proxy: [root@kvm-01-guest02 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Current System Purpose Status: Not Specified ^^ System registered as expected --> bug PREVERIFIED -> Final verification done on SM version: [root@kvm-02-guest12 ~]# subscription-manager version server type: This system is currently not registered. subscription management server: 4.2.10-1 subscription management rules: 5.43 subscription-manager: 1.28.34-1.el8 -> Changes made to rhsm.conf: [root@kvm-02-guest12 ~]# subscription-manager config --list | grep proxy no_proxy = [] proxy_hostname = some.proxy.com proxy_password = pass proxy_port = 3333 proxy_scheme = [http] proxy_user = user -> On the cockpit console, I am registering with "Use proxy server" button unchecked and valid credentials -> Running on Cockpit console terminal: [root@kvm-02-guest12 ~]# subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Current System Purpose Status: Not Specified ^^ System was able to register --> final verification PASSED Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (subscription-manager bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2984 |