[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cobbler
Subject:    Re: [cobbler] Import Error Cobbler 2.2.2
From:       Arnold Werschky <ag () amergint ! com>
Date:       2012-04-23 22:42:31
Message-ID: CALMjKPBbiSi013w4Zbg2UNKF0Ap-Q-18-AJ1EaV9W4UDTqbv2Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


It looks like it might be corrupted files on the iso.  I get lots of rsync
error #5's in the log in /var/log/cobbler/cobbler.log. I'll give the
download another try tonight.

Thanks for all the assistance.

-AG

On Mon, Apr 23, 2012 at 11:48 AM, Jörgen Maas <jorgen.maas@gmail.com> wrote:

>  Hello, can anyone help me out with this?
>>>
>>> Running cobbler 2.2.2
>>> selinux is in permissive.
>>> system is updated to current on F16.
>>>
>>> **************************************************************************************************
>>> [root@bootserver mnt]# cobbler import --path=mnt/iso
>>> --name=redhat_5.8_x86_64
>>> task started: 2012-04-20_122831_import
>>> task started (id=Media import, time=Fri Apr 20 12:28:31 2012)
>>> Exception occured: <class 'cobbler.cexceptions.CX'>
>>> Exception value: 'Command failed'
>>> Exception Info:
>>>   File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 89, in
>>> run
>>>     rc = self._run(self)
>>>    File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 228,
>>> in runner
>>>     self.logger
>>>    File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 798, in
>>> import_tree
>>>     utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger)
>>>    File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 889,
>>> in run_this
>>>     die(logger,"Command failed")
>>>    File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 134,
>>> in die
>>>     raise CX(msg)
>>>
>>> !!! TASK FAILED !!!
>>>
>>>
> looks like your current path = /mnt
> the command you supplied uses:  --path=mnt/iso (relative path)
>
> is the path /mnt/mnt/iso really correct?
>
> --
> Grtz,
> Jörgen Maas
>
> _______________________________________________
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/cobbler
>
>


-- 
_________________________________________________
Arnold (AG) Werschky  |  Systems Engineer  |  AMERGINT<http://www.amergint.com>
ag@amergint.com  |  m.719.237.4820  |  o.719.522.2830

[Attachment #5 (text/html)]

<div class="gmail_extra">It looks like it might be corrupted files on the iso.  I get \
lots of rsync error #5&#39;s in the log in /var/log/cobbler/cobbler.log. I&#39;ll \
give the download another try tonight.</div><div class="gmail_extra"> <br></div><div \
class="gmail_extra">Thanks for all the assistance.</div><div \
class="gmail_extra"><br></div><div class="gmail_extra">-AG<br><br><div \
class="gmail_quote">On Mon, Apr 23, 2012 at 11:48 AM, Jörgen Maas <span \
dir="ltr">&lt;<a href="mailto:jorgen.maas@gmail.com" \
target="_blank">jorgen.maas@gmail.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><div \
class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"> <div class="gmail_quote"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div><div>
<div class="gmail_extra">Hello, can anyone help me out with this?<br><div \
class="gmail_quote"><br>Running cobbler 2.2.2<div>selinux is in permissive.</div> \
<div>system is updated to current on \
F16.</div><div>**************************************************************************************************</div><div><div>
 <div>[root@bootserver mnt]# cobbler import --path=mnt/iso \
--name=redhat_5.8_x86_64</div><div>task started: \
2012-04-20_122831_import</div><div>task started (id=Media import, time=Fri Apr 20 \
12:28:31 2012)</div><div>Exception occured: &lt;class &#39;<a \
href="http://cobbler.cexceptions.CX" \
target="_blank">cobbler.cexceptions.CX</a>&#39;&gt;</div>





<div>Exception value: &#39;Command failed&#39;</div><div>Exception Info:</div><div>  \
File &quot;/usr/lib/python2.7/site-packages/cobbler/remote.py&quot;, line 89, in \
run</div><div>    rc = self._run(self)</div><div>   File \
&quot;/usr/lib/python2.7/site-packages/cobbler/remote.py&quot;, line 228, in \
runner</div>





<div>    self.logger</div><div>   File \
&quot;/usr/lib/python2.7/site-packages/cobbler/api.py&quot;, line 798, in \
import_tree</div><div>    utils.run_this(rsync_cmd, (spacer, mirror_url, path), \
self.logger)</div><div>   File \
&quot;/usr/lib/python2.7/site-packages/cobbler/utils.py&quot;, line 889, in \
run_this</div>





<div>    die(logger,&quot;Command failed&quot;)</div><div>   File \
&quot;/usr/lib/python2.7/site-packages/cobbler/utils.py&quot;, line 134, in \
die</div><div>    raise CX(msg)</div><div><br></div><div>!!! TASK FAILED !!!</div>




<span><font color="#888888">
</font></span></div><span><font \
color="#888888"><div><br></div></font></span></div></div></div></div></div></blockquote></div></blockquote></div><div><br>looks \
like your current path = /mnt<br>the command you supplied uses:  --path=mnt/iso \
(relative path)<br>

</div></div><br>is the path /mnt/mnt/iso really correct?<span class="HOEnZb"><font \
color="#888888"><br><br>-- <br>Grtz,<br>Jörgen Maas<br> </font></span></div>
<br>_______________________________________________<br>
cobbler mailing list<br>
<a href="mailto:cobbler@lists.fedorahosted.org">cobbler@lists.fedorahosted.org</a><br>
 <a href="https://fedorahosted.org/mailman/listinfo/cobbler" \
target="_blank">https://fedorahosted.org/mailman/listinfo/cobbler</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- \
<br>_________________________________________________<div>Arnold (AG) Werschky  |  \
Systems Engineer  |  <a href="http://www.amergint.com" \
target="_blank">AMERGINT</a></div> <div><a href="mailto:ag@amergint.com" \
target="_blank">ag@amergint.com</a>  |  m.719.237.4820  |  o.719.522.2830</div><br> \
</div>


[Attachment #6 (text/plain)]

_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic