Advertisement
gregmark

Cobbler Import of Ubuntu 12.04

Jan 30th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.01 KB | None | 0 0
  1. [root@io-build-03 cobbler]# cobbler check
  2. No configuration problems found.  All systems go.
  3.  
  4. [root@io-build-03 cobbler]# df -h | tail -2
  5. /iso/ubuntu-12.10-server-amd64.iso
  6.                       689M  689M     0 100% /mnt.cd/Ubuntu/12.10/Server/x86_64
  7.  
  8. [root@io-build-03 cobbler]# ls /mnt.cd/Ubuntu/12.10/Server/x86_64
  9. boot  dists  doc  EFI  install  isolinux  md5sum.txt  pics  pool  preseed  README.diskdefines  ubuntu
  10.  
  11. [root@io-build-03 cobbler]# rpm -q cobbler
  12. cobbler-2.4.0-beta3.el5
  13.  
  14. [root@io-build-03 cobbler]# time cobbler distro add --name=ubuntu-server-12.10 --arch=x86_64 --breed=debian --initrd=/mnt.cd/Ubuntu/12.10/Server/x86_64/install/initrd.gz
  15.  
  16. real    0m0.403s
  17. user    0m0.356s
  18. sys 0m0.042s
  19.  
  20. [root@io-build-03 cobbler]# cobbler sync
  21. <...snip...>
  22.  
  23. [root@io-build-03 cobbler]# cobbler distro list
  24.    f14-x86_64
  25.    rhel5.2-x86_64
  26.    rhel5.2-xen-x86_64
  27.    rhel5.5-i386
  28.    rhel5.5-x86_64
  29.    rhel5.5-xen-i386
  30.    rhel5.5-xen-x86_64
  31.    rhel5.6-x86_64
  32.    rhel5.6-xen-x86_64
  33.    rhel5.8-x86_64
  34.    rhel5.8-xen-x86_64
  35.    rhel6.0-x86_64
  36.    rhel6.2-x86_64
  37.    rhel6.3-x86_64 ### No Ubuntu!
  38.  
  39. [root@io-build-03 cobbler]# cobbler import --path=/mnt.cd/Ubuntu/12.10/Server/x86_64 --name=ubuntu-server-12.10 --arch=x86_64 --breed=debian
  40. task started: 2013-01-30_170728_import
  41. task started (id=Media import, time=Wed Jan 30 17:07:28 2013)
  42. Exception occured: cobbler.cexceptions.CX
  43. Exception value: 'Command failed'
  44. Exception Info:
  45.   File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 89, in run
  46.     rc = self._run(self)
  47.    File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 232, in runner
  48.     self.logger
  49.    File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 870, in import_tree
  50.     utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger)
  51.    File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 921, in run_this
  52.     die(logger,"Command failed")
  53.    File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 140, in die
  54.     raise CX(msg)
  55.  
  56. !!! TASK FAILED !!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement