[et-mgmt-tools] [SOLVED] Cobbler 0.6.3 import error message regarding kickstart file

Caetano, Greg Greg.Caetano at hp.com
Mon Nov 12 19:42:30 UTC 2007


Yes...

Adding the colon after the server ip in the nfs string clears up the issue

thanks

-----Original Message-----
From: et-mgmt-tools-bounces at redhat.com [mailto:et-mgmt-tools-bounces at redhat.com] On Behalf Of Michael DeHaan
Sent: Monday, November 12, 2007 1:27 PM
To: Fedora/Linux Management Tools
Subject: Re: [et-mgmt-tools] Cobbler 0.6.3 import error message regarding kickstart file

Caetano, Greg wrote:
> Cobbler 0.6.3 on RHEL51
>
> [root at hpmgmt cobbler]# 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)
> - finding default kickstart template for redhat 5.0
> - tree: nfs://192.168.0.1/var/www/html/kits/RHEL51/i386/
> - finding default kickstart template for redhat 5.0
> - tree: nfs://192.168.0.1/var/www/html/kits/RHEL51/i386/
> ---------------- (syncing)
> sync distro: rhel51-i386
> sync distro: rhel51-xen-i386
> 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 594, 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
> [root at hpmgmt cobbler]#
>
>
>
>
> Greg Caetano
> Chicago, IL
> greg.caetano at hp.com
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>

Looks like you are missing a colon in the NFS path. See how it is documented in the manpage and compare with what you have in cobbler.

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools at redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools




More information about the et-mgmt-tools mailing list