Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE - Include port number along with RHSM hostname when I execute xsos -a command. #263

Open
dhavaljos opened this issue May 31, 2021 · 0 comments

Comments

@dhavaljos
Copy link

Hi,

I will try to explain the requirement for filing this RFE:

A host can be connected to the RH Satellite server or RH Capsule server. When a host is connected to the Satellite server or CDN, the port number used is 443. But when a host is connected to the Capsule server port number is 8443. By checking the RHSM hostname and the port number, we identify if the host is connected to the Satellite server or Capsule server.

When we run "xsos -a ." command, I can see RHSM hostname. But to find out if the host is connected to the capsule or Satellite server, we have to check /etc/rhsm/rhsm.conf file for the port number.

Cropped output from rhsm.conf fle:


Server port:

port = 443

Please see the below example of what is expected.

OS
Hostname: host. example.com
Distro: [redhat-release] Red Hat Enterprise Linux Server release 7.9 (Maipo)
[os-release] Red Hat Enterprise Linux Server 7.9 (Maipo) 7.9 (Maipo)
RHN: serverURL = https://enter.your.server.url.here/XMLRPC
enableProxy = 0
RHSM: hostname = capsule.example.com
port = 8443 <---- port parameter from rhsm.conf file
proxy_hostname =

I believe we can save some time if everyone can see the port number by running xsos command itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant