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.
Updated by Elaad FURREEDAN almost 4 years ago
- Related to Bug #18077: Centos7 and 8 installation broken because it uses apache2 service name added
Updated by Elaad FURREEDAN almost 4 years ago
- Assignee set to Alexis Mousset
Reproducible on SLES12 SP1 in 5.0.17
The webapp is still working, this doen't seems to prevent Rudder to be usable
Updated by Alexis Mousset almost 4 years ago
- Category set to Packaging
- Target version set to 6.1.10
Updated by Alexis Mousset almost 4 years ago
- Status changed from New to In progress
Updated by Alexis Mousset almost 4 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2416
Updated by Alexis Mousset over 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|0e9a94e8dec4cfc2d976b56a1ad834442f733e0c.
Updated by François ARMAND over 3 years ago
- Related to Bug #19034: Webapp keep loading after upgrade from 5.0.17 to 6.1.9 on sles12 added
Updated by François ARMAND over 3 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.10 and 6.2.3 which were released today.
Actions