Candlepin FAILS After Upgrading to RHEL 7.6

Solution Verified - Updated -

Issue

After upgrading Satellite 6.2.z server to RHEL 7.6 a hammer ping shows candlepin as FAILS. This is because with RHEL 7.6 the selinux-policy package was updated to include a new boolean tomcat_can_network_connect_db, which is set to OFF.

  • Run a hammer ping, it will take a while to execute.
# hammer ping
candlepin:      
    Status:          FAIL
    Server Response: Duration: 
candlepin_auth: 
    Status:          FAIL
    Server Response: Duration: 
pulp:           
    Status:          ok
    Server Response: Duration: 300ms
pulp_auth:      
    Status:          ok
    Server Response: Duration: 95ms
foreman_tasks:  
    Status:          ok
    Server Response: Duration: 110ms
  • This issue also prevents any subscriptions from being able to be viewed in the Satellite webui in Content > Red Hat Subscriptions page.

Environment

Red Hat Enterprise Linux 7.6
Red Hat Satellite 6.2.0 - Red Hat Satellite 6.2.15

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In