<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Dňa 26.11.2013 12:20, Vinzenz Feenstra
wrote / napísal(a):<br>
</div>
<blockquote cite="mid:52948405.7030904@redhat.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 11/25/2013 06:36 PM, Thomas Suckow
wrote:<br>
</div>
<blockquote cite="mid:52938A99.8060605@pnnl.gov" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
> 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.<br>
<br>
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.<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<span style="color: rgb(51, 51, 51); font-family: Consolas,
'Liberation Mono', Courier, monospace; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 18px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;">getent
group ovirtagent >/dev/null || groupadd -r -g 175
ovirtagent<br>
</span>to<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<span style="color: rgb(51, 51, 51); font-family: Consolas,
'Liberation Mono', Courier, monospace; font-size: 12px;
font-style: normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: 18px; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255,
255, 255); display: inline !important; float: none;">getent
group ovirtagent >/dev/null || groupadd -r -g 175 -o
ovirtagent</span><br>
</blockquote>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://admin.fedoraproject.org/updates/ovirt-guest-agent-1.0.8-6.el5">https://admin.fedoraproject.org/updates/ovirt-guest-agent-1.0.8-6.el5</a>
contains this fix.<br>
<blockquote cite="mid:52938A99.8060605@pnnl.gov" type="cite"> <br>
</blockquote>
</blockquote>
Seems like a missing dependency:<br>
<br>
/etc/init.d/ovirt-guest-agent start<br>
<br>
Stopping ovirt-guest-agent: [ZLYHALO]<br>
Spustenie ovirt-guest-agent: Traceback (most recent call last):<br>
File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 25,
in ?<br>
from GuestAgentLinux2 import LinuxVdsAgent<br>
File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 25,
in ?<br>
from OVirtAgentLogic import AgentLogicBase, DataRetriverBase<br>
File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 25,
in ?<br>
from VirtIoChannel import VirtIoChannel<br>
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 34, in
?<br>
json = import_json()<br>
File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 32, in
import_json<br>
import simplejson<br>
ImportError: No module named simplejson<br>
<br>
<br>
$ rpm -qa centos*release<br>
centos-release-5-10.el5.centos<br>
<br>
After installing python-simplejson ovirt-agent started ok.<br>
<div class="moz-signature">-- <br>
<div id="oernii_footer" style="color: gray;">
<span style="font-family: Lucida Console, Luxi Mono, Courier,
monospace; font-size: 90%;">
Ernest Beinrohr, AXON PRO<br>
DevOps,
<a style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/ing.php">Ing</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/rhce.php">RHCE</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/rhce.php">RHCVA</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/lpic.php">LPIC</a>, <a
style="text-decoration: none; color: gray;"
href="http://www.beinrohr.sk/vca.php">VCA</a>, <a
style="text-decoration: none; color: gray;"
href="callto://+421-2--6241-0360">+421-2--6241-0360</a>, <a
style="text-decoration: none; color: gray;"
href="callto://+421-903--482-603">+421-903--482-603</a><br>
icq:28153343, <a style="text-decoration: none; color: gray;"
href="callto://oernii-work">skype:oernii-work</a>,
<a class="moz-txt-link-abbreviated" href="mailto:jabber:oernii@jabber.org">jabber:oernii@jabber.org</a>
<br>
</span>
<hr style="height: 1px; width: 95%"> <span style="font-size:
70%;">
“For a successful technology, reality must take precedence
over public relations, for Nature cannot be fooled.” Richard
Feynman </span> </div>
</div>
<img
src="http://nojsstats.appspot.com/UA-44497096-1/email.beinrohr.sk"
moz-do-not-send="true" border="0" height="1" width="1">
</body>
</html>