Red Hat Satellite 6 upgrade fails with error foreman-rake katello:clean_backend_objects COMMIT=true failed! Check the output for error!

Solution Verified - Updated

Environment

Red Hat Satellite 6

Issue

Red Hat Satellite 6 upgrade fails with error:

 [ERROR 2018-10-23T16:32:02 main] foreman-rake katello:clean_backend_objects COMMIT=true failed! Check the output for error!

Resolution

Resolution 1

  • Move the amqp certificate using:
# mv /etc/candlepin/certs/amqp /etc/candlepin/certs/amqp.old
  • Restart candlepin that failed:
foreman-maintain service restart --only tomcat
  • Then re-run the installer
# satellite-installer --verbose --scenario satellite

Resolution 2
If your subsription-manager status is invalid, reregister the Satellite server using the documentation provided here:

https://access.redhat.com/solutions/253273

For more KB articles/solutions related to Red Hat Satellite 6.x Installation/Upgrade/Update Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Installation/Upgrade/Update Issues.

Diagnostic Steps

  • Check /var/log/foreman-installer/satellite.log for below errors
[DEBUG 2018-10-23T16:32:02 main] RestClient::ServiceUnavailable: Katello::Resources::Candlepin::Consumer: 503 Service Unavailable {"displayMessage":"Candlepin is in Suspend mode, please check /status resource to get more details","request
== Output trimmed ==
[ERROR 2018-10-23T16:32:02 main] foreman-rake katello:clean_backend_objects COMMIT=true failed! Check the output for error!
  • Check if /var/log/candlepin/candlepin.log has the errors:
2018-10-23 16:27:09,772 [thread=localhost-startStop-1] [=, org=, csid=] WARN  org.candlepin.controller.ModeManagerImpl - Candlepin is entering suspend mode for the following reason: QPID_DOWN
2018-10-23 16:27:20,201 [thread=localhost-startStop-1] [=, org=, csid=] ERROR org.candlepin.audit.ActiveMQContextListener - Error starting AMQP client
javax.jms.JMSException: Error creating connection: Keystore was tampered with, or password was incorrect

Confirm your subscription status is still valid:

subscription-manager status
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.