[cobbler] cobbler sync - Generating dhcpd.conf fail

2016-04-26 Thread nandakumar . n10
Hi I am new to cobbler. I am trying to resolve a cobbler issue, request your help/guidance on the same. we have spacewalk with cobbler. when I add a new host and do a cobbler sync, i am getting the below error and TASK FAILED. rendering DHCP files generating /etc/dhcp/dhcpd.conf Exception occ

[cobbler] Re: cobbler sync - Generating dhcpd.conf fail

2016-04-26 Thread Locane
What does your template look like? On Apr 26, 2016 4:48 AM, wrote: > Hi > > I am new to cobbler. > > I am trying to resolve a cobbler issue, request your help/guidance on the > same. we have spacewalk with cobbler. when I add a new host and do a > cobbler sync, i am getting the below error and TA

[cobbler] Re: cobbler sync - Generating dhcpd.conf fail

2016-04-26 Thread Nandakumar Nachimuthu
Here it goes, # ** ddns-update-style interim; allow booting; allow bootp; ignore client-updates; set vendorclass = option vendor-class-identifier; # CHE subnets subnet 10.220.5.0 netmask 255.255.255.0 { option broadcast-a

[cobbler] Re: cobbler sync - Generating dhcpd.conf fail

2016-04-26 Thread Locane
Someone else might be able to help more, I'm just kinda stabbing in the dark here. Do you have "net0" defined somewhere in your /etc/cobbler/settings ? On Apr 26, 2016 9:11 AM, "Nandakumar Nachimuthu" wrote: > Here it goes, > > # **

[cobbler] Re: cobbler sync - Generating dhcpd.conf fail

2016-04-26 Thread Chris Johnson
I have run into similar issues I think. I've had to put print statements in cobbler's python code to figure them out. I've found that cobble templater's error reporting often stinks. But it's also possible I'm not that familiar with python's stack dump. Take a look at what is in the dhcp_ta

[cobbler] Re: cobbler sync - Generating dhcpd.conf fail

2016-04-26 Thread Nandakumar Nachimuthu
No I am not Locane... On Tue, Apr 26, 2016 at 9:49 PM, Locane wrote: > Someone else might be able to help more, I'm just kinda stabbing in the > dark here. Do you have "net0" defined somewhere in your > /etc/cobbler/settings ? > On Apr 26, 2016 9:11 AM, "Nandakumar Nachimuthu" > wrote: > >> He