On 11/06/2014 12:51 PM, W. Miah wrote:

I am trying to create a rhel7 distro in cobbler and am getting the following Python stack trace:

root@hostname # cobbler import --name=rhel70-x86_64 --arch=x86_64 --path=/mnt
task started: 2014-11-06_124830_import
task started (id=Media import, time=Thu Nov  6 12:48:30 2014)
Exception occured: <class 'cobbler.cexceptions.CX <http://cobbler.cexceptions.CX>'>
Exception value: 'Command failed'
Exception Info:
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 89, in run
    rc = self._run(self)
File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 232, in runner
    self.logger
File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 879, in import_tree
    utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger)
File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 920, in run_this
    die(logger,"Command failed")
File "/usr/lib/python2.6/site-packages/cobbler/utils.py", line 137, in die
    raise CX(msg)

!!! TASK FAILED !!!

In cobbler.log it says that rpms have "failed verification" and the "update discarded". Any help will be greatly appreciated.


This is a rsync error. You could copy the entire rsync output to a pastebin and
paste its URL here so we could evaluate better.

Often, there is a "Input/output error" error msg along with those errors msgs you mentioned. If this is the case, this indicates the impossibility of reading/writing from/to a file; I'd guess either there are insufficient permissions on /mnt, mounted ISO is corrupt
or there are disk defects in source/target directory.


Regards,
Alan Evangelista

_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to