이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 5. Troubleshooting remote host configuration issues


System logs are a useful source of information when troubleshooting a remote host configuration issue. In addition, it is helpful to be aware of any known issues.

5.1. TCP ports and destinations

The complete remote host configuration solution currently relies on existing clients; your system will be communicating with Red Hat in different ways.

5.1.1. Subscription manager

For subscription-manager, the system must be able to reach the following destination and TCP ports:

  • subscription.rhn.redhat.com:443 (https)
  • subscription.rhsm.redhat.com:443 (https)
  • cdn.redhat.com:443 (https)
  • *.akamaiedge.net:443 (https)
  • *.akamaitechnologies.com:443 (https)

5.1.2. Insights client

For Red Hat Insights for Red Hat Enterprise Linux data collection to work correctly, the system must be able to reach the following destination and TCP ports:

  • api.access.redhat.com:443 (https)
  • cert-api.access.redhat.com:443 (https)

5.1.3. RHC client daemon

For the rhc daemon, rhcd, to communicate with the MQTT message broker, the system must be able to reach the following:

  • connect.cloud.redhat.com:443 (https)

5.1.4. Adding a proxy for RHC to use for the connection

Use the following commands to add a proxy for rhc to use to connect to Red Hat.

# mkdir -p /etc/systemd/system/rhcd.service.d
# cat /etc/systemd/system/rhcd.service.d/proxy.conf
[Service]
Environment=HTTPS_PROXY=http://proxy.corp.com:8888
# systemctl daemon-reload
# systemctl restart rhcd

5.2. RHC client communication

The communication technology behind the rhc daemon, rhcd, is MQTT. The client establishes a connection to the Red Hat message broker and waits for new messages. The new messages are then read and converted into playbook execution. While the messages are consumed almost instantaneously, the communication is always established by the client. There is no communication initiated from the Red Hat services to your environment.

5.3. Consulting and interpreting log files

Troubleshooting an issue often starts by looking at the logs to see what happened during a given event.

  • Use the following command to consult logs:
# journalctl -u rhcd
  • Use -f, --follow, to show only the most recent journal entries, and continuously print new entries as they are appended to the journal:
# journalctl -u rhcd -f

5.4. Known issues

There are occasionally issues that the user or org admin should be aware of when working with their systems.

The following known issues are documented for remote host configuration:

  • Remote host configuration is stuck in the checking status if a Red Hat Satellite-connected system is also in the remediation plan.

    If you have a remediation plan that contains one or more remote host configuration systems and one or more Red Hat Satellite-connected systems, when you click the Execute Playbook button on the remote host configuration manager. The remote host configuration system will be stuck at checking. You will not be able to execute the remediation plan on the remote host configuration system.

    See RHC stuck at "checking" if a Satellite-connected system is also in the remediation plan for more information.

  • The insights-client command is not invoked after executing remediation with remote host configuration.

    Playbooks generated by Remediations generally have the following structure:

    • Fix the problems listed in the remediation.
    • Optionally reboot the system.
    • Execute the insights-client command so that Red Hat Insights for Red Hat Enterprise Linux has an updated version of the system’s state.

      If a playbook is invoked by clicking Execute playbook in the Remediations UI, and if the targeted system is running rhc client (as opposed to being managed by a Satellite), the final step is missing. As a result, Insights for Red Hat Enterprise Linux never receives an updated view of the system’s state.

    • The current temporary solution is to manually run: insights-client on the system OR wait 24 hours for the next upload.
    • See insights-client not invoked after executing remediation via RHC for more information.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.