FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 11-26-2007, 07:56 PM
"Caetano, Greg"
 
Default Cobbler import error on kickstart

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
#

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 11-26-2007, 08:08 PM
Michael DeHaan
 
Default Cobbler import error on kickstart

Caetano, Greg wrote:

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



It's the second colon, which is missing in one of your imports.


Change:

--available-as=nfs://192.168.0.1/var/www/html/kits/RHEL51/i386



To:

--available-as=nfs://192.168.0.1:/var/www/html/kits/RHEL51/i386



This warrants making an exception that says "your NFS path looks all all
weird", rather than letting the import happen, so I'll go ahead and add
that upstream.



--Michael




# 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
#

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



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

Thread Tools




All times are GMT. The time now is 11:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org