Actions
Bug #17280
closedinstalling rudder server 6.1.0~beta1 on debian 9 fails
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
Installation failed with debian9_server: INFO: Removing ncf-api-venv user and group ... debian9_server: Done debian9_server: INFO: Setting up systemd ... debian9_server: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-jetty.service → /usr/lib/systemd/system/rudder-jetty.service. debian9_server: Created symlink /etc/systemd/system/rudder-server.service.requires/rudder-jetty.service → /usr/lib/systemd/system/rudder-jetty.service. debian9_server: Created symlink /etc/systemd/system/multi-user.target.wants/rudder-slapd.service → /usr/lib/systemd/system/rudder-slapd.service. debian9_server: Created symlink /etc/systemd/system/rudder-server.service.requires/rudder-slapd.service → /usr/lib/systemd/system/rudder-slapd.service. debian9_server: INFO: Restarting rudder-slapd... debian9_server: Done debian9_server: debian9_server: SUMMARY OF OPTIONS: debian9_server: debian9_server: Allowed networks: 192.168.43.0/24 10.0.2.15/24 192.168.43.2/24 debian9_server: Force LDAP reset: no debian9_server: debian9_server: Initializing LDAP database... debian9_server: done. debian9_server: debian9_server: Updating Rudder password file with random passwords... debian9_server: done. debian9_server: Cleaning up temporary directories... debian9_server: done. debian9_server: Restarting jetty... debian9_server: Job for rudder-jetty.service failed because the control process exited with error code. debian9_server: See "systemctl status rudder-jetty.service" and "journalctl -xe" for details. debian9_server: done. debian9_server: debian9_server: Reinitialization complete, Rudder is currently reloading. debian9_server: debian9_server: You can access it via https://server.rudder.local/rudder debian9_server: INFO: Launching script to check if a migration is needed ... debian9_server: Done debian9_server: INFO: Re-generate rudder-lang libraries ... debian9_server: Done debian9_server: INFO: Make sure Rudder webapp is started... debian9_server: Job for rudder-jetty.service failed because the control process exited with error code. debian9_server: See "systemctl status rudder-jetty.service" and "journalctl -xe" for details. debian9_server: dpkg: error processing package rudder-webapp (--configure): debian9_server: subprocess installed post-installation script returned error exit status 1 debian9_server: Processing triggers for rsyslog (8.24.0-1) ... debian9_server: Setting up rsyslog-pgsql (8.24.0-1) ... debian9_server: dbconfig-common: writing config to /etc/dbconfig-common/rsyslog-pgsql.conf debian9_server: debian9_server: Creating config file /etc/dbconfig-common/rsyslog-pgsql.conf with new version debian9_server: debian9_server: Creating config file /etc/rsyslog.d/pgsql.conf with new version debian9_server: creating postgres user rsyslog: debian9_server: success. debian9_server: verifying creation of user: debian9_server: success. debian9_server: creating database Syslog: debian9_server: success. debian9_server: verifying database Syslog exists: debian9_server: success. debian9_server: populating database via sql... debian9_server: done. debian9_server: dbconfig-common: flushing administrative password debian9_server: dpkg: dependency problems prevent configuration of rudder-server-root: debian9_server: rudder-server-root depends on rudder-webapp (= 6.1.0~beta1-debian9); however: debian9_server: Package rudder-webapp is not configured yet. debian9_server: debian9_server: dpkg: error processing package rudder-server-root (--configure): debian9_server: dependency problems - leaving unconfigured debian9_server: Setting up rudder-reports (6.1.0~beta1-debian9) ... debian9_server: INFO: Setting PostgreSQL as a boot service... debian9_server: Synchronizing state of postgresql.service with SysV service script with /lib/systemd/systemd-sysv-install. debian9_server: Executing: /lib/systemd/systemd-sysv-install enable postgresql debian9_server: Done debian9_server: INFO: Waiting for PostgreSQL to be up... debian9_server: Done debian9_server: INFO: Creating Rudder PostgreSQL user... debian9_server: Done debian9_server: INFO: Creating Rudder PostgreSQL database... debian9_server: Done debian9_server: Processing triggers for libc-bin (2.24-11+deb9u1) ... debian9_server: Errors were encountered while processing: debian9_server: rudder-webapp debian9_server: rudder-server-root
Updated by Nicolas CHARLES over 4 years ago
cause is: password for postgres is invalid:
[2020-04-28 17:51:33+0200] ERROR com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during pool initialization. org.postgresql.util.PSQLException: FATAL: password authentication failed for user "rudder" at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:525) at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:146)
because rudder-init failed
R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check pgpass file@@None@@2020-04-28 15:51:24+00:00##root@#Presence and permissions of pgsql password file was repaired error: Finished command related to promiser '/usr/bin/psql --no-password -q -c "ALTER USER rudder WITH PASSWORD 'd5fff57e3ad8aa300282'"' -- an error occurred, returned 1 notice: Q: "...r/bin/psql --no": ERROR: role "rudder" does not exist
because rudder-reports isn't installed yet
Tue Apr 28 17:55:50 CEST 2020 - Starting rudder-reports post installation script
Updated by Nicolas CHARLES over 4 years ago
order of depends seem invalid
apt show rudder-server-root Package: rudder-server-root Version: 6.1.0~beta1-debian9 Priority: extra Section: web Maintainer: Rudder Team <dev@rudder.io> Installed-Size: 24.6 kB Depends: rudder-webapp (= 6.1.0~beta1-debian9), rudder-reports (= 6.1.0~beta1-debian9), rudder-agent (= 6.1.0~beta1-debian9), systemd Homepage: https://www.rudder.io
Updated by Nicolas CHARLES over 4 years ago
i think that debian/rules should state depends in another order
Updated by Nicolas CHARLES over 4 years ago
- Status changed from New to In progress
- Assignee set to Nicolas CHARLES
Updated by Nicolas CHARLES over 4 years ago
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/2260
Updated by Nicolas CHARLES over 4 years ago
- Status changed from In progress to Pending technical review
Updated by Nicolas CHARLES over 4 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|62ce1b47209b616d92d8a0c244953cfb396a1183.
Updated by Vincent MEMBRÉ over 4 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.1.0~beta2 which was released today.
Actions