-
Bug
-
Resolution: Done
-
Critical
-
None
-
6.11.z
Description of problem:
After the release of RHEL 8.10 the pki-servlet-engine is replaced with tomcat-servlet-4.0-api along with other dependencies.
No matter if the upgrade is from a Satellite 6.11 on RHEL 8.9 or a Satellite 6.11 on RHEL 7 using leapp to upgrade, the issue remains the same.
During the upgrade process these packages are replaced and Candlepin service is rendered useless. The output during the upgrade shows:
Check whether all services are running: [OK] -------------------------------------------------------------------------------- Check whether all services are running using the ping call: [FAIL] Some components are failing: candlepin, candlepin_auth, candlepin_events -------------------------------------------------------------------------------- Continue with step [Restart applicable services]? (assuming yes) Restart applicable services: Stopping the following service(s): postgresql, tomcat / All services stopped Starting the following service(s): postgresql, tomcat \ All services started - Try 1/5: checking status of hammer ping Some components are failing: candlepin, candlepin_auth, foreman_tasks, candlepin_events \ Try 2/5: checking status of hammer ping Some components are failing: candlepin, candlepin_auth, foreman_tasks, candlepin_events - Try 3/5: checking status of hammer ping Some components are failing: candlepin, candlepin_auth, candlepin_events \ Try 4/5: checking status of hammer ping Some components are failing: candlepin, candlepin_auth, candlepin_events - Try 5/5: checking status of hammer ping [FAIL] Server response check failed! -------------------------------------------------------------------------------- Rerunning the check after fix procedure Check whether all services are running using the ping call: [FAIL] Some components are failing: candlepin, candlepin_auth, candlepin_events -------------------------------------------------------------------------------- Check still failing after attempt to fix. Skipping Check for paused tasks: [OK] --------------------------------------------------------------------------------
How reproducible:
Every time
Is this issue a regression from an earlier version:
No
Steps to Reproduce:
1. Update or Upgrade a Satellite 6.11 server's OS to RHEL 8.10
2.
3.
Actual behavior:
Upgrade command is failing at the API ping because Candlepin is unresponsive. The following error can be seen in Tomcat's Catalina log file:
28-May-2024 20:50:23.917 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Exception sending context initialized event to listener instance of class [org.candlepin.guice.CandlepinContextListener] org.candlepin.pki.impl.JSSLoaderException: Candlepin does not support JSS versions less than 4.4! at org.candlepin.pki.impl.JSSProviderLoader.getInitializationValuesObject(JSSProviderLoader.java:172)
Expected behavior:
Satellite upgrade to work
Business Impact / Additional info:
Candlepin is dead after the upgrade rendering the Satellite unable to complete an upgrade to a supported version.
- links to