On 03.06.2015 15:00, Vinzenz Feenstra wrote:
Hi Daniel,
Hello Vinzenz!
the oVirt Guest agent service won't start just by installation via yum.
You have to run service ovirt-guest-agent start
However IIRC with the next boot of the VM it would start since it is
getting enabled by default.
If you deploy the guest agent you have to start the agent explicitly.
(This behavior is aligned with the Fedora packaging guidelines)
The deployment is done by foreman, the package is installed by kickstart
directly. When installed, it is enabled.
Yet, after the reboot of the machine, the service is stated by systemd
but not working. Only after a manual restart can fix this.
However, when I just tried a reboot on a random host it was working...
So - never mind and thanks ;)
Regards,
On 06/03/2015 12:49 PM, Daniel Helgenberger wrote:
> Hello,
>
> after deploying a few CentOS7.1 hosts I realized that the
> ovirt-guest-agent does not start up correctly at system boot, requiring
> a manual restart. Afterwards it is reporting data to engine.
>
> I have only these lines:
>
> Jun 03 12:39:39 pipeline.int.m-box.de systemd[1]: Starting oVirt Guest
> Agent...
> Jun 03 12:39:40 pipeline.int.m-box.de systemd[1]: Started oVirt Guest Agent.
> Jun 03 12:40:02 pipeline.int.m-box.de userhelper[7136]:
> pam_succeed_if(ovirt-locksession:auth): requirement "user = ovirtagent"
> was met by user "ovirtagent"
> Jun 03 12:40:02 pipeline.int.m-box.de userhelper[7136]: running
> '/usr/share/ovirt-guest-agent/LockActiveSession.py' with root privileges
> on behalf of 'ovirtagent'
> Jun 03 12:40:02 pipeline.int.m-box.de userhelper[7163]:
> pam_succeed_if(ovirt-locksession:auth): requirement "user = ovirtagent"
> was met by user "ovirtagent"
> Jun 03 12:40:02 pipeline.int.m-box.de userhelper[7163]: running
> '/usr/share/ovirt-guest-agent/LockActiveSession.py' with root privileges
> on behalf of 'ovirtagent'
> Jun 03 12:40:02 pipeline.int.m-box.de userhelper[7169]:
> pam_succeed_if(ovirt-locksession:auth): requirement "user = ovirtagent"
> was met by user "ovirtagent"
> Jun 03 12:40:02 pipeline.int.m-box.de userhelper[7169]: running
> '/usr/share/ovirt-guest-agent/LockActiveSession.py' with root privileges
> on behalf of 'ovirtagent'
> Jun 03 12:40:02 pipeline.int.m-box.de userhelper[7175]:
> pam_succeed_if(ovirt-locksession:auth): requirement "user = ovirtagent"
> was met by user "ovirtagent"
> Jun 03 12:40:02 pipeline.int.m-box.de userhelper[7175]: running
> '/usr/share/ovirt-guest-agent/LockActiveSession.py' with root privileges
> on behalf of 'ovirtagent'
>
> Versions:
> Linux pipeline.int.m-box.de 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13
> 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>
> qemu-guest-agent-2.1.0-4.el7.x86_64
> ovirt-guest-agent-common-1.0.10-2.el7.noarch
--
Daniel Helgenberger
m box bewegtbild GmbH
P: +49/30/2408781-22
F: +49/30/2408781-10
ACKERSTR. 19
D-10115 BERLIN
www.m-box.de www.monkeymen.tv
Geschäftsführer: Martin Retschitzegger / Michaela Göllner
Handeslregister: Amtsgericht Charlottenburg / HRB 112767