I'm trying to configure cobbler<->koan and cann't resolve the following problems, it would be great if you will help me!
by steps:
# cobbler import --path=/vm/CentOS- 4.4-x86_64
/vm/CentOS-4.4-x86_64
/vm/CentOS-4.4-x86_64/CentOS
/vm/CentOS-4.4-x86_64/CentOS/base
/vm/CentOS-4.4-x86_64/CentOS/RPMS
/vm/CentOS-4.4-x86_64/images
/vm/CentOS-4.4-x86_64/images/pxeboot
(distro added)
(profile added)
/vm/CentOS-4.4-x86_64/NOTES
*** SCRUBBING ORPHANS
# cobbler system add --name="00:09:3D:14:A6:D8" --profile="" " --pxe-address=10.147.105.6
# cobbler list
defaults
kernel options : append devfs=nomount ramdisk_size=16438 lang=text
distro 1 : vm_CentOS-4.4-x86_64_images_pxeboot
kernel : /vm/CentOS-4.4-x86_64/images/pxeboot/vmlinuz
initrd : /vm/CentOS-4.4-x86_64/images/pxeboot/initrd.img
kernel options :
architecture : x86_64
ks metadata :
profile 1 : vm_CentOS-4.4-x86_64_images_pxeboot
distro : vm_CentOS-4.4-x86_64_images_pxeboot
kickstart : /etc/cobbler/default.ks
kernel options :
ks metadata :
virt name : vm_CentOS-4.4-x86_64_images_pxeboot
virt file size :
virt ram :
virt paravirt :
system 1 : 00:09:3D:14:A6:D8
profile : vm_CentOS-4.4-x86_64_images_pxeboot
kernel options :
ks metadata :
pxe address : 10.147.105.6
# cobbler sync
del /var/www/cobbler/images
del /var/www/cobbler/profiles
del /var/www/cobbler/systems
del /var/www/cobbler/distros
del /var/www/cobbler/kickstarts_sys
del /var/www/cobbler/kickstarts
del /tftpboot/pxelinux.cfg
del /tftpboot/images
koan path =
loader path = /var/lib/cobbler/elilo- 3.6-ia64.efi
loader new name = elilo-3.6-ia64.efi
destpath = /tftpboot/elilo-3.6-ia64.efi
/var/lib/cobbler/elilo-3.6-ia64.efi -> /tftpboot/elilo-3.6-ia64.efi
loader path = /usr/lib/syslinux/pxelinux.0
loader new name = pxelinux.0
destpath = /tftpboot/pxelinux.0
/usr/lib/syslinux/pxelinux.0 -> /tftpboot/pxelinux.0
/vm/CentOS-4.4-x86_64/images/pxeboot/vmlinuz -> /tftpboot/images/vm_CentOS-4.4-x86_64_images_pxeboot/vmlinuz
/vm/CentOS-4.4-x86_64/images/pxeboot/initrd.img -> /tftpboot/images/vm_CentOS-4.4-x86_64_images_pxeboot/initrd.img
/vm/CentOS-4.4-x86_64/images/pxeboot/vmlinuz -> /var/www/cobbler/images/vm_CentOS-4.4-x86_64_images_pxeboot/vmlinuz
/vm/CentOS-4.4-x86_64/images/pxeboot/initrd.img -> /var/www/cobbler/images/vm_CentOS-4.4-x86_64_images_pxeboot/initrd.img
Reloading httpd: [ OK ]
/etc/cobbler/default.pxe -> /tftpboot/pxelinux.cfg/default
Shutting down dhcpd: [ OK ]
Starting dhcpd: [ OK ]
# koan -x -p vm_CentOS-4.4-x86_64_images_pxeboot -s 10.147.105.6
- processing profile: vm_CentOS-4.4-x86_64_images_pxeboot
- fetching configuration for profile: vm_CentOS- 4.4-x86_64_images_pxeboot
- url="" href="http://10.147.105.6/cobbler/profiles/vm_CentOS-4.4-x86_64_images_pxeboot" target="_blank" > http://10.147.105.6/cobbler/profiles/vm_CentOS-4.4-x86_64_images_pxeboot
- {'kickstart': ' http://10.147.105.6/cobbler/kickstarts/vm_CentOS-4.4-x86_64_images_pxeboot/ks.cfg ', 'name': 'vm_CentOS-4.4-x86_64_images_pxeboot', 'virt_ram': '', 'virt_paravirt': '', 'kernel_options': 'lang=text ramdisk_size=16438 devfs=nomount ', 'virt_name': 'vm_CentOS-4.4-x86_64_images_pxeboot', 'virt_file_size': '', 'distro': 'vm_CentOS- 4.4-x86_64_images_pxeboot', 'ks_meta': ''}
- fetching configuration for distro: vm_CentOS-4.4-x86_64_images_pxeboot
- url="" href="http://10.147.105.6/cobbler/distros/vm_CentOS-4.4-x86_64_images_pxeboot" target="_blank" > http://10.147.105.6/cobbler/distros/vm_CentOS-4.4-x86_64_images_pxeboot
- {'kernel': '/vm/CentOS-4.4-x86_64/images/pxeboot/vmlinuz', 'ks_meta': '', 'kernel_options': 'lang=text ramdisk_size=16438 devfs=nomount ', 'initrd': '/vm/CentOS-4.4-x86_64/images/pxeboot/initrd.img', 'arch': 'x86_64', 'name': 'vm_CentOS- 4.4-x86_64_images_pxeboot'}
- downloading initrd initrd.img to /tmp/initrd.img
- url="" href="http://10.147.105.6/cobbler/images/vm_CentOS-4.4-x86_64_images_pxeboot/initrd.img" target="_blank" > http://10.147.105.6/cobbler/images/vm_CentOS-4.4-x86_64_images_pxeboot/initrd.img
- downloading kernel vmlinuz to /tmp/vmlinuz
- url="" href="http://10.147.105.6/cobbler/images/vm_CentOS-4.4-x86_64_images_pxeboot/vmlinuz" target="_blank" > http://10.147.105.6/cobbler/images/vm_CentOS-4.4-x86_64_images_pxeboot/vmlinuz
- kernel saved = /tmp/vmlinuz
- initrd saved = /tmp/initrd.img
- invalid RAM size specified, defaulting to 256 MB
- invalid file size specified, defaulting to 1 GB
libvir: Xen Daemon error : POST operation failed: (xend.err "Error creating domain: (22, 'Invalid argument')")
Failed to create domain vm_CentOS-4.4-x86_64_images_pxeboot
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/koan/app.py", line 96, in main
k.run()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 154, in run
self.do_virt()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 295, in do_virt
return self.do_net_install("/tmp",after_download)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 253, in do_net_install
after_download(self, distro_data, profile_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 294, in after_download
self.do_virt_net_install(profile_data, distro_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 574, in do_virt_net_install
extra=kextra
File "/usr/lib/python2.4/site-packages/koan/virtcreate.py", line 196, in start_paravirt_install
dom = conn.createLinux(cfgxml, 0)
File "/usr/lib64/python2.4/site-packages/libvirt.py", line 249, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed')
libvirtError: virDomainCreateLinux() failed
# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 32047 8 r----- 1050.8
# uname -a
Linux akc-xen 2.6.18-1.2849.fc6xen #1 SMP Fri Nov 10 12:57:36 EST 2006 x86_64 x86_64 x86_64 GNU/Linux
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:09:3D:14:A6:D8
inet addr: 10.147.105.6 Bcast: 255.255.255.127 Mask: 255.255.255.128
inet6 addr: fe80::209:3dff:fe14:a6d8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:196918 errors:0 dropped:0 overruns:0 frame:0
TX packets:120557 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:69478332 (66.2 MiB) TX bytes:111429235 ( 106.2 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask: 255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:18642 errors:0 dropped:0 overruns:0 frame:0
TX packets:18642 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3122795 (2.9 MiB) TX bytes:3122795 ( 2.9 MiB)
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:274248 errors:0 dropped:0 overruns:0 frame:0
TX packets:168037 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:75214944 (71.7 MiB) TX bytes:115129157 (109.7 MiB)
Interrupt:25
vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:120572 errors:0 dropped:0 overruns:0 frame:0
TX packets:196931 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:111432257 (106.2 MiB) TX bytes:69479190 (66.2 MiB)
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:43554 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4237721 (4.0 MiB) TX bytes:0 (0.0 b)
Thank in advance.
P.S. kernel_option in /var/lib/cobbler/settings
--
wbr, Anton A. Arapov.
e-mail: anton.arapov@xxxxxxxxx
Attachment:
cobbler_etc.tar.bz2
Description: BZip2 compressed data
Attachment:
cobbler_lib_var.tar.bz2
Description: BZip2 compressed data
Attachment:
xen_log.tar.bz2
Description: BZip2 compressed data