Project

General

Profile

Actions

Bug #13906

closed

rudder-agent 4.3.6 does not install correctly from Debian 9.6 Installer

Bug #13906: rudder-agent 4.3.6 does not install correctly from Debian 9.6 Installer

Added by Oliver Brandmueller about 7 years ago. Updated almost 4 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Agent
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Medium
Priority:
13
Name check:
Fix check:
Regression:

Description

When installing rudder-agent 4.3.6 (did not try 5.x) from Debian Installer (Debian 9.6) the installed rudder agent does not run correctly; it is on the system, you can do rudder agent (run|health|check|inventory) manually but get various warnings about the executor not running or the service being disabled in systemd.
I'm installing rudder-agent from d-i by adding the repository via

d-i apt-setup/local0/repository [...]

and the key from a local (tftp) source. Then a

d-i pkgsel/include string rudder-agent

is done, finally there's a

d-i preseed/late_command string echo [...] > /target/var/rudder/cfengine-community/policy_server.dat

It used to work with Debian 9.5 / rudder-agent 4.3.4 and the setup of the policy server as well as the rudder component seems to be OK; I haven't checked deeper, but I suspect problems with cf-execd or cf-agent to be causing the misbehaviour. The cron command to run rudder agent check every 5min is correctly set up, though.

The workaround is to install rudder-agent manually after installing Debian (which is a bit of a hassle for an automated deployment, though)

Updated by Benoît PECCATTE almost 7 years ago Actions #1

d-i preseed/late_command string echo [...] > /target/var/rudder/cfengine-community/policy_server.dat

This should not be needed, there is a debconf entry to configure the policy server : rudder-agent/policy-server

Is the file still there after the install ?

Updated by Oliver Brandmueller almost 7 years ago Actions #2

Benoît PECCATTE wrote:

Is the file still there after the install ?

The file is there after install; I didn't know about the debconf entry. However, the problem ist, that all services (rudder-agent, rudder-cf-execd, rudder-cf-serverd) are instaled, but remain disabled. I meanwhile do an explicit in-target systemctl enable [...] for each of those services, then everythin works as expected. This is only needed during automated install on d-i, when installaing manually in a freshly set up system the services are enabled by default.

Updated by François ARMAND over 6 years ago Actions #3

  • Target version set to 4.3.12
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Priority changed from 0 to 31

Updated by Vincent MEMBRÉ over 6 years ago Actions #4

  • Target version changed from 4.3.12 to 4.3.13
  • Priority changed from 31 to 30

Updated by Vincent MEMBRÉ over 6 years ago Actions #5

  • Target version changed from 4.3.13 to 4.3.14

Updated by Vincent MEMBRÉ over 6 years ago Actions #6

  • Target version changed from 4.3.14 to 587
  • Priority changed from 30 to 29

Updated by Vincent MEMBRÉ over 6 years ago Actions #7

  • Target version changed from 587 to 4.3.14

Updated by Alexis Mousset over 6 years ago Actions #8

  • Target version changed from 4.3.14 to 5.0.13

Probably still exists in 5.0

Updated by Vincent MEMBRÉ over 6 years ago Actions #9

  • Target version changed from 5.0.13 to 5.0.14
  • Priority changed from 29 to 28

Updated by Vincent MEMBRÉ about 6 years ago Actions #10

  • Target version changed from 5.0.14 to 5.0.15

Updated by Benoît PECCATTE about 6 years ago Actions #11

  • Effort required set to Medium
  • Priority changed from 28 to 13

Needs reproduction

Updated by Vincent MEMBRÉ about 6 years ago Actions #12

  • Target version changed from 5.0.15 to 5.0.16

Updated by Alexis Mousset almost 6 years ago Actions #13

  • Target version changed from 5.0.16 to 5.0.17

Updated by Vincent MEMBRÉ over 5 years ago Actions #14

  • Target version changed from 5.0.17 to 5.0.18

Updated by Vincent MEMBRÉ over 5 years ago Actions #15

  • Target version changed from 5.0.18 to 5.0.19

Updated by Vincent MEMBRÉ over 5 years ago Actions #16

  • Target version changed from 5.0.19 to 5.0.20

Updated by Vincent MEMBRÉ about 5 years ago Actions #17

  • Target version changed from 5.0.20 to 797

Updated by Benoît PECCATTE over 4 years ago Actions #18

  • Target version changed from 797 to 6.1.14

Updated by Vincent MEMBRÉ over 4 years ago Actions #19

  • Target version changed from 6.1.14 to 6.1.15

Updated by Vincent MEMBRÉ over 4 years ago Actions #20

  • Target version changed from 6.1.15 to 6.1.16

Updated by Vincent MEMBRÉ over 4 years ago Actions #21

  • Target version changed from 6.1.16 to 6.1.17

Updated by Vincent MEMBRÉ about 4 years ago Actions #22

  • Target version changed from 6.1.17 to 6.1.18

Updated by Vincent MEMBRÉ about 4 years ago Actions #23

  • Target version changed from 6.1.18 to 6.1.19

Updated by Alexis Mousset almost 4 years ago Actions #24

  • Status changed from New to Rejected

4.3 is not supported anymore.

Actions

Also available in: PDF Atom