[Satellite 6] Impossible to fetch logs 403 Forbidden for capsule https://capsule.example.com:9090/logs

Solution Verified - Updated -

Issue

  • Following error can be seen in WebUI --> Infrastructure --> Capsules --> capsule.example.com:

    Error :  ERF50-5345 [Foreman::WrappedException]: Impossible to connect ([ProxyAPI::ProxyExecption]: ERF12-7885 
    [ProxyAPI::ProxyExecption]: impossible to fetch logs ([RestClient::Forbidden] 403 Forbidden) for capsule 
    https://capsule.example.com:9090/logs)
    
    Failure: ERF50-5345 [Foreman::WrappedException]: Unable to connect ([ProxyAPI::ProxyException]: ERF12-7885 [ProxyAPI::ProxyException]: Unable to fetch logs ([RestClient::Forbidden]: 403 Forbidden) for Capsule https://capsule.example.com:9090/logs)
    
    2023-02-07 18:39:06 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[capsule.example.com]/ensure: change from 'absent' to 'present' failed: Error making POST request to Foreman at https://satellite-alias.example.com/api/v2/smart_proxies: Unable to communicate with the Capsule: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::Forbidden]: 403 Forbidden) for Capsule https://capsule.example.com:9090/v2/features Please check the Capsule is configured and running on the host.
    

Environment

  • Satellite 6 setup with an alternate CNAME

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content