[Users] Guest Agent

Vinzenz Feenstra vfeenstr at redhat.com
Wed Nov 27 14:28:11 UTC 2013


On 11/27/2013 03:26 PM, Ernest Beinrohr wrote:
> Dn(a 26.11.2013 12:20, Vinzenz Feenstra wrote / napísal(a):
>> On 11/25/2013 06:36 PM, Thomas Suckow wrote:
>>> > Why not just reuse the rhev-agent username, it is what it is 
>>> reserved as? Then just add a conflict with the rhev RPM so they 
>>> cannot be installed together.
>>>
>>> Actually, looking at the spec file. The user is added with the -o 
>>> option (Allow non-unique). If you added -o to groupadd then the 
>>> problem should go away and was probably the original intent of the 
>>> spec file writer.
>>>
>>> getent group ovirtagent >/dev/null || groupadd -r -g 175 ovirtagent
>>> to
>>> getent group ovirtagent >/dev/null || groupadd -r -g 175 -o ovirtagent
>> https://admin.fedoraproject.org/updates/ovirt-guest-agent-1.0.8-6.el5 
>> contains this fix.
>>>
> Seems like a missing dependency:
>
>  /etc/init.d/ovirt-guest-agent start
>
> Stopping ovirt-guest-agent: [ZLYHALO]
> Spustenie ovirt-guest-agent: Traceback (most recent call last):
>   File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 25, in ?
>     from GuestAgentLinux2 import LinuxVdsAgent
>   File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 25, in ?
>     from OVirtAgentLogic import AgentLogicBase, DataRetriverBase
>   File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 25, in ?
>     from VirtIoChannel import VirtIoChannel
>   File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 34, in ?
>     json = import_json()
>   File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 32, in 
> import_json
>     import simplejson
> ImportError: No module named simplejson
>
>
> $ rpm -qa centos*release
> centos-release-5-10.el5.centos
>
> After installing python-simplejson ovirt-agent started ok.
Thanks, I will fix that
> -- 
> Ernest Beinrohr, AXON PRO
> DevOps, Ing <http://www.beinrohr.sk/ing.php>, RHCE 
> <http://www.beinrohr.sk/rhce.php>, RHCVA 
> <http://www.beinrohr.sk/rhce.php>, LPIC 
> <http://www.beinrohr.sk/lpic.php>, VCA 
> <http://www.beinrohr.sk/vca.php>, +421-2--6241-0360 
> <callto://+421-2--6241-0360>, +421-903--482-603 
> <callto://+421-903--482-603>
> icq:28153343, skype:oernii-work <callto://oernii-work>, 
> jabber:oernii at jabber.org
> ------------------------------------------------------------------------
> "For a successful technology, reality must take precedence over public 
> relations, for Nature cannot be fooled." Richard Feynman


-- 
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 redhat.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131127/b8c3d987/attachment-0001.html>


More information about the Users mailing list