Project

General

Profile

Actions

Bug #23186

closed

Rudder Server 7.3.4 doesn't install on SLES 15 SP4

Added by Nicolas CHARLES over 1 year ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
I hate Rudder for that
User visibility:
First impressions of Rudder
Effort required:
Priority:
228
Name check:
To do
Fix check:
Error - Fixed
Regression:
Yes

Description

(20/22) Installing: rudder-api-client-7.3.4.release-1.SLES.15.x86_64 ......................................................[done]
(21/22) Installing: rudder-relay-7.3.4.release-1.SLES.15.x86_64 ...........................................................[done]
INFO: Rudder certificate is missing or incorrect, creating one... Done
"rewrite" already present
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
    Is the server running locally and accepting connections on that socket?
**************************************************************************************
ERROR: rudder-server 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
**************************************************************************************
chmod: cannot access '/var/rudder/configuration-repository/.git': No such file or directory
chmod: cannot access '/var/rudder/configuration-repository/techniques': No such file or directory
find: '/var/rudder/configuration-repository/.git': No such file or directory
find: '/var/rudder/configuration-repository/techniques': No such file or directory
(22/22) Installing: rudder-server-7.3.4.release-1.SLES.15.x86_64 ..........................................................[done]
Job for rudder-slapd.service failed because the control process exited with error code.
See "systemctl status rudder-slapd.service" and "journalctl -xeu rudder-slapd.service" for details.
warning: %posttrans(rudder-server-7.3.4.release-1.SLES.15.x86_64.rpm) scriptlet failed, exit status 1
Executing %posttrans scripts ..............................................................................................[done]
root@server:/home/vagrant# 

journalctl says

Aug 01 11:37:25 server groupadd[6597]: group added to /etc/group: name=rudder, GID=473
Aug 01 11:37:25 server groupadd[6597]: new group: name=rudder, GID=473
Aug 01 11:37:25 server groupadd[6604]: group added to /etc/group: name=rudder-policy-reader, GID=472
Aug 01 11:37:25 server groupadd[6604]: new group: name=rudder-policy-reader, GID=472
Aug 01 11:37:25 server usermod[6610]: add 'wwwrun' to group 'rudder-policy-reader'
Aug 01 11:37:25 server useradd[6618]: new user: name=rudder-relayd, UID=473, GID=473, home=/var/rudder, shell=/bin/false, from=n>
Aug 01 11:37:25 server useradd[6628]: new user: name=rudder, UID=472, GID=473, home=/var/rudder, shell=/bin/false, from=none
Aug 01 11:37:25 server systemd[1]: Reloading.
Aug 01 11:37:26 server systemd[1]: Reloading.
Aug 01 11:37:26 server systemd[1]: Started Rudder Relay Daemon.
Aug 01 11:37:27 server rudder-relayd[6705]:  INFO rudder_relayd: Starting rudder-relayd 7.3.4
Aug 01 11:37:27 server rudder-relayd[6705]:  INFO rudder_relayd: Read configuration from "/opt/rudder/etc/relayd/" 
Aug 01 11:37:27 server rudder-relayd[6705]:  INFO rudder_relayd::data::node: Parsing nodes list from "/var/rudder/lib/relay/node>
Aug 01 11:37:27 server rudder-relayd[6705]:  INFO rudder_relayd::data::node: Nodes list file does not exist, considering it as e>
Aug 01 11:37:27 server systemd[1]: Starting The Apache Webserver...
Aug 01 11:37:27 server rudder-relayd[6705]: ERROR rudder_relayd: No such file or directory (os error 2)
Aug 01 11:37:27 server systemd[1]: rudder-relayd.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
Aug 01 11:37:27 server systemd[1]: rudder-relayd.service: Failed with result 'exit-code'.
Aug 01 11:37:27 server start_apache2[6707]: [Tue Aug 01 11:37:27.172437 2023] [so:warn] [pid 6707] AH01574: module ssl_module is>
Aug 01 11:37:27 server start_apache2[6707]: AH00112: Warning: DocumentRoot [/var/www] does not exist
Aug 01 11:37:27 server systemd[1]: Started The Apache Webserver.
Aug 01 11:37:27 server [RPM][6580]: install rudder-relay-0:7.3.4.release-1.SLES.15.x86_64: success
Aug 01 11:37:27 server [RPM][6580]: install rudder-relay-0:7.3.4.release-1.SLES.15.x86_64: success
Aug 01 11:37:27 server [RPM][6580]: Transaction ID 64c8d254 finished: 0
Aug 01 11:37:27 server [RPM][6722]: Transaction ID 64c8d257 started
Aug 01 11:37:27 server [RPM][6722]: install rudder-server-0:7.3.4.release-1.SLES.15.x86_64: success
Aug 01 11:37:32 server su[6799]: (to postgres) root on none
Aug 01 11:37:32 server su[6799]: pam_unix(su:session): session opened for user postgres by (uid=0)
Aug 01 11:37:32 server su[6799]: pam_unix(su:session): session closed for user postgres
Aug 01 11:37:32 server [RPM][6722]: install rudder-server-0:7.3.4.release-1.SLES.15.x86_64: success
Aug 01 11:37:32 server [RPM][6722]: Transaction ID 64c8d257 finished: 0
Aug 01 11:37:33 server systemd[1]: Starting Rudder OpenLDAP Server Daemon...
Aug 01 11:37:33 server rudder-slapd[6809]: @(#) $OpenLDAP: slapd 2.6.3 (Jul 18 2023 06:58:11) $
                                                   root@sles-builder-15-sp2-64:/usr/src/rudder-packages/package/SOURCES/openldap>
Aug 01 11:37:33 server rudder-slapd[6809]: No passwd entry for user rudder-slapd
Aug 01 11:37:33 server systemd[1]: rudder-slapd.service: Control process exited, code=exited, status=1/FAILURE
Aug 01 11:37:33 server systemd[1]: rudder-slapd.service: Failed with result 'exit-code'.
Aug 01 11:37:33 server systemd[1]: Failed to start Rudder OpenLDAP Server Daemon.
Aug 01 11:38:33 server systemd[1]: snapperd.service: Deactivated successfully.

Postgresql is not started

rudder-server install logs only contain

Tue Aug  1 11:37:32 CEST 2023 - Starting rudder-server post installation script


Subtasks 2 (0 open2 closed)

Bug #23206: parent ticket doesn't work with a remote databaseReleasedAlexis MoussetActions
Bug #23213: during upgrade with an external database, the update script doesn't work as expectedReleasedAlexis MoussetActions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #22780: install fails on redhat, because postgres is not initializedReleasedBenoƮt PECCATTEActions
Actions #1

Updated by Nicolas CHARLES over 1 year ago

  • Subject changed from Rudder Serve 7.3.4 doesn't install on SLES 15 SP4 to Rudder Server 7.3.4 doesn't install on SLES 15 SP4
  • Severity set to Critical - prevents main use of Rudder | no workaround | data loss | security
  • UX impact set to I hate Rudder for that
  • User visibility set to First impressions of Rudder
  • Priority changed from 0 to 228
  • Regression changed from No to Yes
Actions #2

Updated by Nicolas CHARLES over 1 year ago

  • Related to Bug #22780: install fails on redhat, because postgres is not initialized added
Actions #3

Updated by Nicolas CHARLES over 1 year ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #4

Updated by Nicolas CHARLES over 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2794
Actions #5

Updated by Nicolas CHARLES over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Nicolas CHARLES over 1 year ago

  • Subtask #23206 added
Actions #7

Updated by Nicolas CHARLES over 1 year ago

  • Fix check changed from To do to Error - Fixed
Actions #8

Updated by Alexis Mousset over 1 year ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.3.5 which was released today.

Actions

Also available in: Atom PDF