[rudder-users] rudder-agent 4.3.6 fresh install Debian problems

Oliver Brandmüller Oliver.Brandmueller at deutschebahn.com
Mon Nov 26 13:05:00 CET 2018


Hello,

the behaviour seems to be correct if I install rudder-agent from the running system and not inside Debian installer. This is a workaround for my current case, however it would be great if installation from d-i would be working as it did before.

Oliver Brandmüller
ITK-Betrieb (I.SVT(4))

DB Station&Service AG
Washingtonplatz 2, 10557 Berlin
Tel. +49 30 29765071, intern 99965071
Mobil: +49 1523 7523442
_________________________________________________________

--- Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. ---

Sitz der Gesellschaft: Berlin
Registergericht: Berlin-Charlottenburg, HRB 87 691
USt-IdNr.: DE 199861749
Vorstand: Bernd Koch (Vorsitzender), Ute Möbus, Rolf Reh, Andreas Springer
Vorsitzender des Aufsichtsrates: Martin Seiler

Nähere Informationen zur Datenverarbeitung im DB-Konzern finden Sie hier: https://www.deutschebahn.com/de/konzern/datenschutz

-----Ursprüngliche Nachricht-----
Von: rudder-users <rudder-users-bounces at lists.rudder-project.org> Im Auftrag von Oliver Brandmüller
Gesendet: Montag, 26. November 2018 11:09
An: Francois Armand <francois.armand at normation.com>; rudder-users at lists.rudder-project.org
Betreff: Re: [rudder-users] rudder-agent 4.3.6 fresh install Debian problems

Hello,

> I tried to reproduce without success on Debian 9.5 with Rudder 4.3.6. 
> What is your exact version Debian version ( cat /etc/debian_version or 
> whatever rudder sees ;)

I'm running a fresh install of Debian 9.6

> Given what you observe, it could be linked to systemd... I will ask around, perhaps Alexis would have an idea. 
> In the meantime, is there anything special in:
> - systemctl status rudder-agent.service?

Unfortunaltely I cannot cut&paste since the machine in question is in a protected network. I'll give the keypoints:

Service is loaded, /lib/system/system/rudder-agent.service; disabled; vendor preset: enabled)
Active: active (exited)
Process: ... ExecStart=/bin/true (..status=0/SUCCESS)

> - /var/log/rudder/agent-check/check.log ?

(repeating)
WARNING: No disable file detected and no agent executor process either. Restarting agent service...ok: stop service rudder-agent succeeded
ok: start service rudder-agent succeeded  Done

> - /var/log/rudder/install/rudder-agent.log ?

(file too long to type everything here)

Beginning (the service problems may be due to the fact, that installation of the agent is done during Debian installer run - this used to work before and is a key functionality for me for unattended deployments)

...pre installation script
...post installation script
slibclean: not found
CFEngine binaries copied to workdir
Making a key pair for CFEngine, please wait, this could take a minute
setfacl: not found
INFO: creating a new UUID [...]
WARNING: No disable file detected and no agent executor process either. Restarting agent service...rudder-agent: unrecognized service
error: stop service rudder-agent failed
rudder-agent: unrecognized service
error: start service rudder-agent failed  Done [lines about missing policy_server.dat - expected here, as the file is set up at a later stage]

Last line in file is:
ok: Rudder agent check ran without errors

> - journalctl -u rudder-agent ?

(every five minutes)
Stopped Rudder agent umbrella service.
Starting Rudder agent umbrella service...
Started Rudder agent umbrella service.



My next tests are to install rudder-agent from a running system instead of during Debian installer and to try the 5.0 agent version.

Thank you,

--
Oliver Brandmüller
ITK-Betrieb (I.SVT(4))

DB Station&Service AG
Washingtonplatz 2, 10557 Berlin
Tel. +49 30 29765071, intern 99965071
Mobil: +49 1523 7523442
_________________________________________________________

--- Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken. ---

Sitz der Gesellschaft: Berlin
Registergericht: Berlin-Charlottenburg, HRB 87 691
USt-IdNr.: DE 199861749
Vorstand: Bernd Koch (Vorsitzender), Ute Möbus, Rolf Reh, Andreas Springer Vorsitzender des Aufsichtsrates: Martin Seiler

Nähere Informationen zur Datenverarbeitung im DB-Konzern finden Sie hier: https://www.deutschebahn.com/de/konzern/datenschutz


_______________________________________________
rudder-users mailing list
FAQ: https://faq.rudder.io/
Bug Tracker: https://issues.rudder.io/
rudder-users at lists.rudder-project.org
https://www.rudder-project.org/mailman/listinfo/rudder-users


More information about the rudder-users mailing list