On 11/25/2013 12:54 PM, Patrick Hurrelmann wrote:
> On 25.11.2013 12:13, Gianluca Cecchi wrote:
>> On Mon, Nov 25, 2013 at 11:59 AM, Vinzenz Feenstra wrote:
>>> This should be fixed now :-)
>>>
https://admin.fedoraproject.org/updates/ovirt-guest-agent-1.0.8-5.el5
>>>
>> Hi, I get now this on CentOS 5.10 x86_64 system
>>
>> [g.cecchi@c510 ~]$ sudo /sbin/service ovirt-guest-agent start
>> Starting ovirt-guest-agent: /bin/chown: `ovirtagent:ovirtagent':
>> invalid group
>> [ OK ]
>> [g.cecchi@c510 ~]$
>> [g.cecchi@c510 ~]$ sudo /sbin/service ovirt-guest-agent status
>> ovirt-guest-agent dead but pid file exists
>>
>>
>> in /var/log/ovirt-guest-agent.log
>>
>> MainThread::INFO::2013-11-22
>> 17:15:30,579::ovirt-guest-agent::37::root::Starting oVirt guest agent
>> MainThread::ERROR::2013-11-22
>> 17:15:31,251::ovirt-guest-agent::117::root::Unhandled exception in
>> oVirt guest agent!
>> Traceback (most recent call last):
>> File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line
>> 111, in ?
>> agent.run(daemon, pidfile)
>> File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line
>> 47, in run
>> f = file(pidfile, "w")
>> IOError: [Errno 13] Permission denied: '/var/run/ovirt-guest-agent.pid'
>>
>> Gianluca
> If you had rhev-guest-agent installed before, then manually remove the
> user rhevagent and group rhevagent before installing ovirt-guest-agent.
> the ovirt-guest-agent reuses the same uid and gid, but fails to add them
> upon install when the rhev user and group is still existing.
Ah yeah that explains it. Well I am not sure if the workaround for
this is appropriate in the rpm.
I think that should be fixed on the system, it's not really expected
that someone would be 'upgrading' from the rhev-agent
"it's not
really expected that someone would be 'upgrading' from the
rhev-agent" to the ovirt-guest-agent.
--
Regards,
Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo
Better technology. Faster innovation. Powered by community collaboration.
See how it works at