Bug 1112021 - cobbler import fails with cobbler.cexceptions.CX on Fedora-20 (importing either F20 or CentOS 6.5)
Summary: cobbler import fails with cobbler.cexceptions.CX on Fedora-20 (importing eith...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: cobbler
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-22 20:20 UTC by Charles Butterfield
Modified: 2014-06-24 19:48 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-24 19:48:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
/var/log/cobbler/cobber.log (52.01 KB, text/x-log)
2014-06-24 01:34 UTC, Charles Butterfield
no flags Details

Description Charles Butterfield 2014-06-22 20:20:02 UTC
Description of problem:  Try to import and die with exception


Version-Release number of selected component (if applicable):
cobbler.noarch 2.4.4-1.fc20

How reproducible: Always


Steps to Reproduce:
1. install cobbler and tweak settings IP addresses
2. cobbler import ...
3. BOOM

Actual results:

See below


Expected results:


Additional info:

 cobbler import --name=F20 --path=localhost:/media/RD-DOWNLOADS/LocalMirrors/MirrorRoot/fedora/releases/20/Fedora/x86_64/os --available-as=http://192.168.20.66/mirrors/fedora/releases/20/Fedora/x86_64/os --arch=x86_64
task started: 2014-06-22_161913_import
task started (id=Media import, time=Sun Jun 22 16:19:13 2014)
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'Command failed'
Exception Info:
  File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 87, in run
    rc = self._run(self)
   File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 231, in runner
    self.logger
   File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 880, 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 920, in run_this
    die(logger,"Command failed")
   File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 137, in die
    raise CX(msg)

!!! TASK FAILED !!!

Comment 1 Orion Poplawski 2014-06-23 15:52:43 UTC
Please attach /var/log/cobbler/cobbler.log

Comment 2 Charles Butterfield 2014-06-24 01:34:33 UTC
Created attachment 911616 [details]
/var/log/cobbler/cobber.log

As requested

Comment 3 Orion Poplawski 2014-06-24 19:48:20 UTC
Looks like this is your issue:

Sun Jun 22 15:52:57 2014 - INFO | running: rsync -a  -e "ssh"  'localhost:/media/RD-DOWNLOADS/LocalMirrors/MirrorRoot/centos/6.5/os/x86_64/' /var/www/cobbler/ks_mirror/C65-x86_64 --progress --include-from=/etc/cobbler/import_rsync_whitelist
Sun Jun 22 15:52:57 2014 - INFO | received on stdout: 
Sun Jun 22 15:52:57 2014 - DEBUG | received on stderr: Host key verification failed.
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.0]

Looks like some ssh host key issues on your machine.


Note You need to log in before you can comment on or make changes to this bug.