Actions
Bug #24531
closed![Author: Anonymous](/images/anonymous.png?1697023634)
running upgrade procedure on smartproxy try to restart postgresql
Status:
Duplicate
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Description
Following the upgrade procedure to version 3.8RC, the foreman-maintain is run and it tries to restart postgresql, while smartproxy don't have postgresql server running.
[root@foremanproxy01 ~]# foreman-installer --scenario foreman-proxy-content --upgrade --foreman-proxy-content-certs-tar foremanproxy01.tar --certs-update-all --certs-regenerate true --certs-deploy true Resetting puppet server version param... Marking certificate /root/ssl-build/foremanproxy01/foremanproxy01-apache for update Marking certificate /root/ssl-build/foremanproxy01/foremanproxy01-foreman-client for update Marking certificate /root/ssl-build/foremanproxy01/foremanproxy01-foreman-proxy for update Marking certificate /root/ssl-build/foremanproxy01/foremanproxy01-foreman-proxy-client for update Marking certificate /root/ssl-build/foremanproxy01/foremanproxy01-puppet-client for update Marking certificate /root/ssl-build/foremanproxy01/foremanproxy01-qpid-broker for update Marking certificate /root/ssl-build/foremanproxy01/foremanproxy01-qpid-client-cert for update Marking certificate /root/ssl-build/foremanproxy01/foremanproxy01-qpid-router-client for update Marking certificate /root/ssl-build/foremanproxy01/foremanproxy01-qpid-router-server for update Upgrading, to monitor the progress on all related services, please do: foreman-tail | tee upgrade-$(date +%Y-%m-%d-%H%M).log Upgrade Step: stop_services... Redirecting to 'foreman-maintain service' Running Stop Services ================================================================================ Check if command is run as root user: [OK] -------------------------------------------------------------------------------- Stop applicable services: Stopping the following service(s): rh-mongodb34-mongod, squid, foreman-proxy, smart_proxy_dynflow_core, pulp_streamer, pulp_celerybeat, pulp_resource_manager, pulp_workers, puppetserver / All services stopped [OK] -------------------------------------------------------------------------------- katello-service stop finished successfully! Upgrade Step: start_postgresql... Redirecting to 'foreman-maintain service' Running Start Services ================================================================================ Check if command is run as root user: [OK] -------------------------------------------------------------------------------- Start applicable services: Starting the following service(s): [FAIL] No services found matching your parameters -------------------------------------------------------------------------------- Scenario [Start Services] failed. The following steps ended up in failing state: [service-start] Resolve the failed steps and rerun the command. In case the failures are false positives, use --whitelist="service-start" katello-service start --only postgresql failed! Check the output for error! Upgrade step start_postgresql failed. Check logs for more information.
Actions