On Jul 6, 2016, at 2:23 PM, Alexis HAUSER
<alexis.hauser(a)telecom-bretagne.eu> wrote:
This is what happens when I try to start the ovirt-guest-agent in Ubuntu-Mate 16.04
Xenial, any ideas ?
The problem is here that the log file has not the correct access rights. it needs to be rw
for the ovirtagent user. Long story short, I will give it a look and hope that we can get
this fixed asap. Until then chown ovirtagent:ovirtagent -R /var/log/ovirt-guest-agent
should do the trick and then systemctl start ovirt-guest-agent
HTH
/etc/init.d/ovirt-guest-agent status
● ovirt-guest-agent.service - oVirt Guest Agent
Loaded: loaded (/lib/systemd/system/ovirt-guest-agent.service; disabled; vendor preset:
enabled)
Active: failed (Result: exit-code) since mer. 2016-07-06 10:30:44 CEST; 11min ago
Process: 20753 ExecStart=/usr/bin/python
/usr/share/ovirt-guest-agent/ovirt-guest-agent.py (code=exited, status=1/FAILURE)
Process: 20747 ExecStartPre=/bin/chown ovirtagent:ovirtagent /run/ovirt-guest-agent.pid
(code=exited, status=0/SUCCESS)
Process: 20742 ExecStartPre=/bin/touch /run/ovirt-guest-agent.pid (code=exited,
status=0/SUCCESS)
Process: 20739 ExecStartPre=/sbin/modprobe virtio_console (code=exited,
status=0/SUCCESS)
Main PID: 20753 (code=exited, status=1/FAILURE)
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor python[20753]: File
"/usr/lib/python2.7/logging/handlers.py", line 64, in __init__
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor python[20753]:
logging.FileHandler.__init__(self, filename, mode, encoding, delay)
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor python[20753]: File
"/usr/lib/python2.7/logging/__init__.py", line 913, in __init__
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor python[20753]: StreamHandler.__init__(self,
self._open())
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor python[20753]: File
"/usr/lib/python2.7/logging/__init__.py", line 943, in _open
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor python[20753]: stream =
open(self.baseFilename, self.mode)
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor python[20753]: IOError: [Errno 13] Permission
denied: '/var/log/ovirt-guest-agent/ovirt-guest-agent.log'
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor systemd[1]: ovirt-guest-agent.service: Main
process exited, code=exited, status=1/FAILURE
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor systemd[1]: ovirt-guest-agent.service: Unit
entered failed state.
juil. 06 10:30:44 ubuntu-RHEV-Hypervisor systemd[1]: ovirt-guest-agent.service: Failed
with result 'exit-code'.
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users