This is a multi-part message in MIME format.
--------------000809010504020504030907
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
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@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
--------------000809010504020504030907
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<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">On 11/27/2013 03:26 PM, Ernest Beinrohr
wrote:<br>
</div>
<blockquote cite="mid:52960126.6060600@axonpro.sk"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<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....
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>
</blockquote>
Thanks, I will fix that<br>
<blockquote cite="mid:52960126.6060600@axonpro.sk"
type="cite">
<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 moz-do-not-send="true" style="text-decoration:
none; color: gray;"
href="http://www.beinrohr.sk/ing.php">Ing</a>,
<a moz-do-not-send="true" style="text-decoration: none;
color: gray;"
href="http://www.beinrohr.sk/rhce.php">RHCE</a>,
<a moz-do-not-send="true" style="text-decoration: none;
color: gray;"
href="http://www.beinrohr.sk/rhce.php">RHCVA</a>,
<a moz-do-not-send="true" style="text-decoration: none;
color: gray;"
href="http://www.beinrohr.sk/lpic.php">LPIC</a>,
<a moz-do-not-send="true" style="text-decoration: none;
color: gray;"
href="http://www.beinrohr.sk/vca.php">VCA</a>,
<a moz-do-not-send="true" style="text-decoration: none;
color: gray;"
href="callto://+421-2--6241-0360">+421-2--6241-0360</a>,
<a moz-do-not-send="true" style="text-decoration: none;
color: gray;"
href="callto://+421-903--482-603">+421-903--482-603</a><br>
icq:28153343, <a moz-do-not-send="true"
style="text-decoration: none; color: gray;"
href="callto://oernii-work">skype:oernii-work</a>, <a
moz-do-not-send="true" 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"> </blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
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</pre>
</body>
</html>
--------------000809010504020504030907--