Actions
Bug #21487
closedError when installing Rudder server 7.2 on debian 11
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
debian11_server: Selecting previously unselected package rudder-agent. debian11_server: Preparing to unpack .../66-rudder-agent_7.2.0~beta2~git202207270307-debian11_amd64.deb ... debian11_server: Unpacking rudder-agent (7.2.0~beta2~git202207270307-debian11) ... debian11_server: Selecting previously unselected package rudder-api-client. debian11_server: Preparing to unpack .../67-rudder-api-client_7.2.0~beta2~git202207270307-debian11_amd64.deb ... debian11_server: Unpacking rudder-api-client (7.2.0~beta2~git202207270307-debian11) ... debian11_server: Selecting previously unselected package rudder-relay. debian11_server: Preparing to unpack .../68-rudder-relay_7.2.0~beta2~git202207270307-debian11_amd64.deb ... debian11_server: Adding 'diversion of /opt/rudder/etc/relayd/logging.conf to /opt/rudder/etc/relayd/logging.conf.distrib by rudder-relay' debian11_server: Adding 'diversion of /opt/rudder/etc/relayd/main.conf to /opt/rudder/etc/relayd/main.conf.distrib by rudder-relay' debian11_server: Adding 'diversion of /opt/rudder/etc/rudder-networks-24.conf to /opt/rudder/etc/rudder-networks-24.conf.distrib by rudder-relay' debian11_server: Adding 'diversion of /opt/rudder/etc/rudder-networks-policy-server-24.conf to /opt/rudder/etc/rudder-networks-policy-server-24.conf.distrib by rudder-relay' debian11_server: Adding 'diversion of /opt/rudder/etc/rudder-pkg/rudder-pkg.conf to /opt/rudder/etc/rudder-pkg/rudder-pkg.conf.distrib by rudder-relay' debian11_server: Unpacking rudder-relay (7.2.0~beta2~git202207270307-debian11) ... debian11_server: Selecting previously unselected package rudder-server. debian11_server: Preparing to unpack .../69-rudder-server_7.2.0~beta2~git202207270307-debian11_amd64.deb ... debian11_server: INFO: Agent keys are missing, creating them .../opt/rudder/share/commands/agent-check: 145: /var/rudder/cfengine-community/bin/cf-key: not found debian11_server: Done debian11_server: INFO: Agent certificate is missing, creating it...Can't open /var/rudder/cfengine-community/ppkeys/localhost.priv for reading, No such file or directory debian11_server: 140559921542464:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/var/rudder/cfengine-community/ppkeys/localhost.priv','r') debian11_server: 140559921542464:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: debian11_server: unable to load Private Key debian11_server: Done debian11_server: Can't open /opt/rudder/etc/ssl/agent.cert for reading, No such file or directory debian11_server: 139804996146496:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/opt/rudder/etc/ssl/agent.cert','r') debian11_server: 139804996146496:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: debian11_server: unable to load certificate debian11_server: Can't open /var/rudder/cfengine-community/ppkeys/localhost.priv for reading, No such file or directory debian11_server: 140128664573248:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('/var/rudder/cfengine-community/ppkeys/localhost.priv','r') debian11_server: 140128664573248:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76: debian11_server: unable to load Private Key debian11_server: Unpacking rudder-server (7.2.0~beta2~git202207270307-debian11) ... debian11_server: Selecting previously unselected package sysstat. debian11_server: Preparing to unpack .../70-sysstat_12.5.2-2_amd64.deb ... debian11_server: Unpacking sysstat (12.5.2-2) ... debian11_server: Setting up libksba8:amd64 (1.5.0-3) ... debian11_server: Setting up postgresql-client-common (225) ... debian11_server: Setting up libgraphite2-3:amd64 (1.3.14-1) ... debian11_server: Setting up liblcms2-2:amd64 (2.12~rc1-2) ... debian11_server: Setting up net-tools (1.60+git20181103.0eebece-1) ... debian11_server: Setting up python3-docopt (0.6.2-3) ... debian11_server: Setting up java-common (0.72) ... debian11_server: Setting up augeas-lenses (1.12.0-2) ... debian11_server: Setting up libyaml-0-2:amd64 (0.2.2-1) ... debian11_server: Setting up libsensors-config (1:3.6.0-7) ... debian11_server: Setting up libpq5:amd64 (13.7-0+deb11u1) ... debian11_server: Setting up libapr1:amd64 (1.7.0-6+deb11u1) ... debian11_server: Setting up libnpth0:amd64 (1.6-3) ... debian11_server: Setting up libassuan0:amd64 (2.5.3-7.1) ... debian11_server: Setting up python3-webencodings (0.5.1-2) ... debian11_server: Setting up acl (2.2.53-10) ... debian11_server: Setting up postgresql-client-13 (13.7-0+deb11u1) ... debian11_server: update-alternatives: using /usr/share/postgresql/13/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode debian11_server: Setting up libasound2-data (1.2.4-1.1) ... debian11_server: Setting up libz3-4:amd64 (4.8.10-1) ...
Updated by Nicolas CHARLES over 2 years ago
agent install log says
Wed Jul 27 09:44:47 UTC 2022 - Starting rudder-agent post installation script INFO: Scheduling an inventory during next run... INFO: Agent keys are missing, creating them ... Done INFO: Agent certificate is missing, creating it... Done INFO: Policies absent, restoring initial version, and updating ... error: Can't stat file '/var/rudder/configuration-repo sitory/ncf' on 'localhost' in files.copy_from promise, it may be missing or access may not be authorized error: Errors encountered when actuating files promise '/var/rudder/ncf/local' error: Rudder agent policies could not be updated. ok: Rudder agent state has been reset. Done INFO: No disable file detected and no agent executor process either. Restarting agent service... Done INFO: Inventory older than 3 days, resending ...Rudder agent 7.2.0~beta2~git202207270307 Node uuid: root M| State Technique Component Key Message E| repaired Common Compute inventory splay Scheduling rudder_run_inventory was repaired error: Finished command related to promiser '/opt/rudder/bin/rudder-client -e /uuid -- --output "/var/rudder/cfengine-community/rudder-server-uuid.txt"' -- an error occurred, returned 7 E| error Inventory Inventory Could not retrieve the UUID of the policy server. Please check that the defined Policy Server exists, and that this Node IP address is in the Allowed Networks of its policy server. info Rudder agent was run on a subset of policies - not all policies were checked ## Summary ##################################################################### 2 components verified in 3 directives => 2 components in Enforce mode -> 1 repaired -> 1 error Execution time: 1.84s ################################################################################ Done FINISH: Rudder agent check ran properly, please look at messages above to see if there has been any error. Wed Jul 27 09:44:52 UTC 2022 - Ending rudder-agent post installation script
Updated by Nicolas CHARLES over 2 years ago
relay install log says
Wed Jul 27 09:44:55 UTC 2022 - Starting rudder-relay post installation script Created symlink /etc/systemd/system/multi-user.target.wants/rudder-relayd.service <E2><86><92> /lib/systemd/system/rudder-relayd.service. Created symlink /etc/systemd/system/rudder-server.service.requires/rudder-relayd.service <E2><86><92> /lib/systemd/system/rudder-relayd.service. Adding password for user rudder Adding password for user rudder Wed Jul 27 09:44:55 UTC 2022 - Ending rudder-relay post installation script
Updated by Benoît PECCATTE over 2 years ago
- Status changed from New to In progress
Updated by Benoît PECCATTE over 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-agent/pull/363
Updated by Benoît PECCATTE over 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-agent|2792044a9394bb891cd0e6a8707b4068e71714d1.
Updated by Vincent MEMBRÉ over 2 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.2.0~rc1 which was released today.
Actions