Bug #25011
closedCapsule upgrade failed at Upgrade Step: start_postgresql
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1631943
Description of problem:
As services are now handled by foreman-maintain, capsule upgrade step: start_postgresql tried to start postgresql service using foreman-maintain.
But on capsule this service is not handled by f-m thus failed showing
Upgrade Step: start_postgresql...
out: Redirecting to 'foreman-maintain service'
out: Running Start Services
out: ================================================================================
out: Check if command is run as root user: [OK]
out: --------------------------------------------------------------------------------
out: Start applicable services: Starting the following service(s):
out: [FAIL]
out: No services found matching your parameters
out: --------------------------------------------------------------------------------
out: Scenario [Start Services] failed.
out:
out: The following steps ended up in failing state:
out:
out: [service-start]
out:
out: Resolve the failed steps and rerun
out: the command. In case the failures are false positives,
out: use --whitelist="service-start"
out:
out:
out: katello-service start --only postgresql failed! Check the output for error!
out: Upgrade step start_postgresql failed. Check logs for more information.
Version-Release number of selected component (if applicable):
Satellite 6.4 snap 23
How reproducible: always
Steps to Reproduce:
1. satellite-installer --scenario capsule --upgrade
Actual results: Upgrade failed at Upgrade Step: start_postgresql
Expected results: Successful upgrade.
Additional info: