Actions
Bug #18891
closedUpgrade failed from 5.0.20 to 6.1.9 on SLES
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
Hi Team,
the upgrade of the rudder-webapp-1398866025:6.1.9.release-1.SLES.12.x86_64 was package was failed on SLES:
Additional rpm output:
warning: /opt/rudder/etc/openldap/slapd.conf created as /opt/rudder/etc/openldap/slapd.conf.rpmnew
warning: /opt/rudder/etc/rudder-users.xml created as /opt/rudder/etc/rudder-users.xml.rpmnew
warning: /opt/rudder/etc/rudder-web.properties created as /opt/rudder/etc/rudder-web.properties.rpmnew
warning: user rudder-slapd does not exist - using root
warning: group rudder-slapd does not exist - using root
"rewrite" already present
INFO: Creating groups ... Done
INFO: Creating users ... Done
INFO: Removing ncf-api-venv user and group ...no crontab for ncf-api-venv
userdel: ncf-api-venv mail spool (/var/mail/ncf-api-venv) not found
userdel: ncf-api-venv home directory (/var/lib/ncf-api-venv) not found
Done
INFO: Setting up systemd ...Synchronizing state of rudder-jetty.service with SysV init with /usr/lib/systemd/systemd-sysv-install...
Executing /usr/lib/systemd/systemd-sysv-install enable rudder-jetty
Created symlink from /etc/systemd/system/multi-user.target.wants/rudder-jetty.service to /usr/lib/systemd/system/rudder-jetty.service.
Created symlink from /etc/systemd/system/rudder-server.service.requires/rudder-jetty.service to /usr/lib/systemd/system/rudder-jetty.service.
Synchronizing state of rudder-slapd.service with SysV init with /usr/lib/systemd/systemd-sysv-install...
Executing /usr/lib/systemd/systemd-sysv-install enable rudder-slapd
Created symlink from /etc/systemd/system/multi-user.target.wants/rudder-slapd.service to /usr/lib/systemd/system/rudder-slapd.service.
Created symlink from /etc/systemd/system/rudder-server.service.requires/rudder-slapd.service to /usr/lib/systemd/system/rudder-slapd.service.
INFO: Restarting rudder-slapd... Done
Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xe" for details.
**************************************************************************************
ERROR: rudder-webapp postinstall script failed !
Trying to recover the problem, you should check that your instance is properly working
You should also try to manually execute: /opt/rudder/bin/rudder-upgrade
Such errors should not happen, please open an issue for this problem on
https://issues.rudder.io/projects/rudder/issues/new
**************************************************************************************
warning: file /var/lib/ncf-api-venv: remove failed: No such file or directory
warning: /etc/default/rudder-slapd saved as /etc/default/rudder-slapd.rpmsave
The user "ncf-api-venv" was removed by the RPM, and the apache service couldn't be started:
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.805852 2021] [so:warn] [pid 25074] AH01574: module dav_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.806410 2021] [so:warn] [pid 25074] AH01574: module dav_fs_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.806435 2021] [so:warn] [pid 25074] AH01574: module ssl_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.806452 2021] [so:warn] [pid 25074] AH01574: module version_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.808142 2021] [so:warn] [pid 25074] AH01574: module rewrite_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.808168 2021] [so:warn] [pid 25074] AH01574: module dav_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.808185 2021] [so:warn] [pid 25074] AH01574: module dav_fs_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.808202 2021] [so:warn] [pid 25074] AH01574: module proxy_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.808219 2021] [so:warn] [pid 25074] AH01574: module proxy_http_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.808523 2021] [so:warn] [pid 25074] AH01574: module ssl_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: [Wed Feb 10 11:11:46.808548 2021] [so:warn] [pid 25074] AH01574: module version_module is already loaded, skipping
Feb 10 11:11:46 ltcms02 start_apache2[25074]: AH00543: httpd-prefork: bad user name ncf-api-venv
Feb 10 11:11:46 ltcms02 systemd[1]: apache2.service: Control process exited, code=exited status=1
Feb 10 11:11:46 ltcms02 systemd[1]: Failed to start The Apache Webserver.
-- Subject: Unit apache2.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit apache2.service has failed.
--
-- The result is failed.
a few seconds later the service were started successfully.
Actions