Skip to content

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

@dhavaljos

Description

@dhavaljos

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions