[et-mgmt-tools] Cobbler import error on kickstart

Caetano, Greg Greg.Caetano at hp.com
Mon Nov 26 20:56:12 UTC 2007


Below is output of a cobbler import using cobbler.6.4-2. I have not been able to figure out why the import fail after the first 2 succeed.

Thanks
Greg


# cobbler import --name=rhel46 --available-as=nfs://192.168.0.1:/var/www/html/kits/RHEL4/i386 --path=/var/www/html/RHEL4/i386
---------------- (adding distros)
- creating new distro: rhel46-i386
- creating new profile: rhel46-i386
- creating new distro: rhel46-xen-i386
- creating new profile: rhel46-xen-i386
---------------- (associating kickstarts)
- finding default kickstart template for redhat 4
- using default kickstart file choice
- tree: nfs://192.168.0.1:/var/www/html/kits/RHEL4/i386/
- finding default kickstart template for redhat 4
- using default kickstart file choice
- tree: nfs://192.168.0.1:/var/www/html/kits/RHEL4/i386/
---------------- (syncing)
sync distro: rhel46-i386
sync distro: rhel46-xen-i386
sync profile: rhel46-i386
sync profile: rhel46-xen-i386
Shutting down dhcpd: [  OK  ]
Starting dhcpd: [  OK  ]
# cobbler import --name=r64el51 --available-as=nfs://192.168.0.1:/var/www/html/kits/RHEL51/x86_64 --path=/var/www/html/RHEL51/x86_64
---------------- (adding distros)
- creating new distro: r64el51-x86_64
- creating new profile: r64el51-x86_64
- creating new distro: r64el51-xen-x86_64
- creating new profile: r64el51-xen-x86_64
---------------- (associating kickstarts)
- skipping distro rhel46-i386 since it wasn't imported this time
- finding default kickstart template for redhat 5.0
- tree: nfs://192.168.0.1:/var/www/html/kits/RHEL51/x86_64/
- finding default kickstart template for redhat 5.0
- tree: nfs://192.168.0.1:/var/www/html/kits/RHEL51/x86_64/
- skipping distro rhel46-xen-i386 since it wasn't imported this time
---------------- (syncing)
sync distro: rhel46-i386
sync distro: r64el51-x86_64
sync distro: r64el51-xen-x86_64
sync distro: rhel46-xen-i386
sync profile: rhel46-i386
sync profile: r64el51-x86_64
sync profile: r64el51-xen-x86_64
sync profile: rhel46-xen-i386
Shutting down dhcpd: [  OK  ]
Starting dhcpd: [  OK  ]
# cobbler import --name=rhel51 --available-as=nfs://192.168.0.1/var/www/html/kits/RHEL51/i386 --path=/var/www/html/RHEL51/i386
---------------- (adding distros)
- creating new distro: rhel51-i386
- creating new profile: rhel51-i386
- creating new distro: rhel51-xen-i386
- creating new profile: rhel51-xen-i386
---------------- (associating kickstarts)
- skipping distro r64el51-x86_64 since it wasn't imported this time
- finding default kickstart template for redhat 5.0
- tree: nfs://192.168.0.1/var/www/html/kits/RHEL51/i386/
- skipping distro rhel46-i386 since it wasn't imported this time
- skipping distro rhel46-xen-i386 since it wasn't imported this time
- skipping distro r64el51-xen-x86_64 since it wasn't imported this time
- finding default kickstart template for redhat 5.0
- tree: nfs://192.168.0.1/var/www/html/kits/RHEL51/i386/
---------------- (syncing)
sync distro: r64el51-x86_64
sync distro: rhel51-i386
sync distro: rhel46-i386
sync distro: rhel46-xen-i386
sync distro: r64el51-xen-x86_64
sync distro: rhel51-xen-i386
sync profile: r64el51-x86_64
sync profile: rhel51-i386
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 372, in validate_kickstart_for_specific_profile
    self.apply_template(kfile, meta, dest)
  File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 610, in apply_template
    (server, dir) = rest.split(":",2)
ValueError: need more than 1 value to unpack
Error while rendering kickstart file /etc/cobbler/kickstart_fc6.ks to /var/www/cobbler/kickstarts/rhel51-i386/ks.cfg
#




More information about the et-mgmt-tools mailing list