Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@io-build-03 cobbler]# cobbler check
- No configuration problems found. All systems go.
- [root@io-build-03 cobbler]# df -h | tail -2
- /iso/ubuntu-12.10-server-amd64.iso
- 689M 689M 0 100% /mnt.cd/Ubuntu/12.10/Server/x86_64
- [root@io-build-03 cobbler]# ls /mnt.cd/Ubuntu/12.10/Server/x86_64
- boot dists doc EFI install isolinux md5sum.txt pics pool preseed README.diskdefines ubuntu
- [root@io-build-03 cobbler]# rpm -q cobbler
- cobbler-2.4.0-beta3.el5
- [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
- real 0m0.403s
- user 0m0.356s
- sys 0m0.042s
- [root@io-build-03 cobbler]# cobbler sync
- <...snip...>
- [root@io-build-03 cobbler]# cobbler distro list
- f14-x86_64
- rhel5.2-x86_64
- rhel5.2-xen-x86_64
- rhel5.5-i386
- rhel5.5-x86_64
- rhel5.5-xen-i386
- rhel5.5-xen-x86_64
- rhel5.6-x86_64
- rhel5.6-xen-x86_64
- rhel5.8-x86_64
- rhel5.8-xen-x86_64
- rhel6.0-x86_64
- rhel6.2-x86_64
- rhel6.3-x86_64 ### No Ubuntu!
- [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
- task started: 2013-01-30_170728_import
- task started (id=Media import, time=Wed Jan 30 17:07:28 2013)
- Exception occured: cobbler.cexceptions.CX
- Exception value: 'Command failed'
- Exception Info:
- File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 89, in run
- rc = self._run(self)
- File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 232, in runner
- self.logger
- File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 870, in import_tree
- utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger)
- File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 921, in run_this
- die(logger,"Command failed")
- File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 140, in die
- raise CX(msg)
- !!! TASK FAILED !!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement