In Red Hat Satellite 6 pulp3 content prepare failing with error `No service found matching your parameter 'pulpcore-api'`

Solution Verified - Updated

Environment

  • Satellite 6.9

Issue

  • In Red Hat Satellite 6. pulp3 content prepare failing with error No service found matching your parameter 'pulpcore-api'
# satellite-maintain content prepare
Running Prepare content for Pulp 3
================================================================================
Enable applicable services:

Enabling the following service(s):                                    [FAIL]
No service found matching your parameter 'pulpcore-api'
--------------------------------------------------------------------------------
Scenario [Prepare content for Pulp 3] failed.

The following steps ended up in failing state:

  [service-enable]

Resolve the failed steps and rerun the command.

If the situation persists and, you are unclear what to do next,
contact Red Hat Technical Support.

In case the failures are false positives, use
--whitelist="service-enable"

Resolution

  • Ensure FIPS mode on Red Hat Satellite server is not enabled after installation of satellite server.

  • Then run following command on Red Hat Satellite server:

# satellite-installer
  • If FIPS mode is disabled, then verify the status of pulpcore_enabled in /etc/foreman-installer/scenarios.d/satellite-answers.yaml. If it is set to false, change to true.
# cp -rp /etc/foreman-installer/scenarios.d/satellite-answers.yaml{,.bak}

# satellite-installer -S satellite --foreman-proxy-plugin-pulp-pulpcore-enabled true

For more KB articles/solutions related to Red Hat Satellite 6.x Pulp 2.0 to Pulp 3.0 Migration Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Pulp 2.0 to Pulp 3.0 Migration Issues

Root Cause

  • FIPS mode on satellite server was enabled after deployment of Red Hat Satellite.

Diagnostic Steps

  • Ensure if FIPS mode on satellite is enabled or not with following command :
cat /proc/sys/crypto/fips_enabled
1
  • A value of 1 confirms that FIPS mode is enabled.
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.