[cobbler] 2.4.0 beta 3 now has Kernel Options: {'repo': '$tree'}?

Zack Perry zack.perry at sbcglobal.net
Tue Mar 5 06:22:29 UTC 2013


I have been using 2.4.0beta2 for a while successfully. Wishing to keep up with cobbler's evoluation, this evening I decided to try (in a fresh SL 6.3 KVM guest) 2.4.0 beta 3.

Upon importing Fedora 17 x86_64, I immediately noticed that the distro object has a new attribute:

(A) 2.4.0 beta2

[root at cobbler ~]# cobbler distro report --name=fedora17-x86_64
Name                           : fedora17-x86_64
Architecture                   : x86_64
TFTP Boot Files                : {}
Breed                          : redhat
Comment                        : 
Fetchable Files                : {}
Initrd                         : /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/initrd.img
Kernel                         : /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/vmlinuz
Kernel Options                 : {}
Kernel Options (Post Install)  : {}
Kickstart Metadata             : {'tree': 'http://@@http_server@@/cblr/links/fedora17-x86_64'}
Management Classes             : []
OS Version                     : fedora17
Owners                         : ['admin']
Red Hat Management Key         : <<inherit>>
Red Hat Management Server      : <<inherit>>
Template Files                 : {}

(B) 2.4.0 beta 3

[root at sl0 ~]# cobbler distro report --name=fedora17-x86_64
Name                           : fedora17-x86_64
Architecture                   : x86_64
TFTP Boot Files                : {}
Breed                          : redhat
Comment                        : 
Fetchable Files                : {}
Initrd                         : /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/initrd.img
Kernel                         : /var/www/cobbler/ks_mirror/fedora17-x86_64/images/pxeboot/vmlinuz
Kernel Options                 : {'repo': '$tree'}
Kernel Options (Post Install)  : {}
Kickstart Metadata             : {'tree': 'http://@@http_server@@/cblr/links/fedora17-x86_64'}
Management Classes             : []
OS Version                     : fedora17
Owners                         : ['admin']
Red Hat Management Key         : <<inherit>>
Red Hat Management Server      : <<inherit>>
Template Files                 : {}


The Kerneal Options now has {'repo': '$tree'} which now causes koan to fail. See below the virt-install output by koan:

- ['virt-install', '--connect', 'qemu:///system', '--name', 'zalb0', '--ram', '512', '--vcpus', '1', '--autostart', '--vnc', '--virt-type', 'kvm', '--machine', 'pc', '--extra-args=ks=http://192.168.123.2/cblr/svc/op/ks/system/zalb0 ksdevice=link repo=$tree lang= kssendmac ', '--location', 'http://192.168.123.2/cblr/links/fedora17-x86_64/', '--arch', 'x86_64', '--os-variant', 'fedora17', '--disk', 'path=/dev/vg/zalb0,size=5,bus=virtio,driver_type=raw', '--network', 'bridge=br0,model=virtio,mac=00:16:3e:14:13:99', '--network', 'bridge=virbr1,model=virtio,mac=00:16:3e:3f:9c:ed', '--wait', '0', '--noautoconsole']

Note that the unsubstituted repo=$tree after the '--extra-args'. 

I checked the man page but didn't see any clues as to where to set the tree parameter.  cobbler system dumpvars also shows this unsubstituted parameter.  I would be appreciative of any hints.

Regards,

-- Zack 


More information about the cobbler mailing list