Failed to detect boot server: undefined method `bootserver_ip' for #

Hello Guys,

Went to switch some host IPs around today and started noticing this
error in the frontend:

failed to detect boot server: undefined method `bootserver_ip' for
··· # Failed to perform rollback on DHCP Settings for e- ns1.ame.admarketplace.net - undefined method `destroy' for nil:NilClass Failed to perform rollback on DHCP Settings for e- ns1.ame.admarketplace.net - undefined method `create' for nil:NilClass

The smart proxy opens the dhcp.conf and leases file but for whatever
reason is unable to determine the next-server.
-------
open("/etc/dhcp/dhcpd.conf", O_RDONLY) = 4
open("/var/lib/dhcpd/dhcpd.leases", O_RDONLY) = 4
-------

From the proxy.log:

DEBUG -- : omshell: executed - set name = "e-

ns1.ame.admarketplace.net"
DEBUG – : true
DEBUG – : omshell: executed - set ip-address = 108.60.142.8
DEBUG – : true
DEBUG – : omshell: executed - set hardware-address = 00:0c:
29:08:4d:fa
DEBUG – : true
DEBUG – : omshell: executed - set hardware-type = 1
DEBUG – : true
WARN – : Failed to resolve IP address for false
DEBUG – : omshell: executed - set statements = “filename =
“pxelinux.0”; next-server = “false”; option host-name = “e-
ns1.ame.admarketplace.net”;”

The subnet declaration from my dhcpd.conf

subnet 108.60.142.0 netmask 255.255.255.192 {
option routers      108.60.142.1;
option subnet-mask  255.255.255.192;

option domain-name    "ame.admarketplace.net";
option domain-name-servers  8.8.8.8, 208.67.222.222, 8.8.4.4,

208.67.222.220;

default-lease-time 21600;
max-lease-time 43200;
next-server 108.60.142.77;

filename "/pxelinux.0";

}

Any help would be much appreciated, thanks dudes!

> Hello Guys,
>
> Went to switch some host IPs around today and started noticing this
> error in the frontend:
>
> failed to detect boot server: undefined method bootserver_ip' for > # > Failed to perform rollback on DHCP Settings for e- > ns1.ame.admarketplace.net - undefined methoddestroy' for
> nil:NilClass
> Failed to perform rollback on DHCP Settings for e-
> ns1.ame.admarketplace.net - undefined method `create' for nil:NilClass
>
> The smart proxy opens the dhcp.conf and leases file but for whatever
> reason is unable to determine the next-server.
> -------
> open("/etc/dhcp/dhcpd.conf", O_RDONLY) = 4
> open("/var/lib/dhcpd/dhcpd.leases", O_RDONLY) = 4
> -------
>
> From the proxy.log:
>
> DEBUG – : omshell: executed - set name = "e-
> ns1.ame.admarketplace.net"
> DEBUG – : true
> DEBUG – : omshell: executed - set ip-address = 108.60.142.8
> DEBUG – : true
> DEBUG – : omshell: executed - set hardware-address = 00:0c:
> 29:08:4d:fa
> DEBUG – : true
> DEBUG – : omshell: executed - set hardware-type = 1
> DEBUG – : true
> WARN – : Failed to resolve IP address for false
> DEBUG – : omshell: executed - set statements = "filename =
> "pxelinux.0"; next-server = "false"; option host-name = "e-
> ns1.ame.admarketplace.net";"
>
> The subnet declaration from my dhcpd.conf
>
> subnet 108.60.142.0 netmask 255.255.255.192 {
> option routers 108.60.142.1;
> option subnet-mask 255.255.255.192;
>
> option domain-name "ame.admarketplace.net";
> option domain-name-servers 8.8.8.8, 208.67.222.222, 8.8.4.4,
> 208.67.222.220;
>
> default-lease-time 21600;
> max-lease-time 43200;
> next-server 108.60.142.77;
>
> filename "/pxelinux.0";
>
> }
>
>
> Any help would be much appreciated, thanks dudes!
>

Which version of foreman / proxy is it? we already solved a couple of
this issues recently.

Ohad

··· On Mon, Jan 23, 2012 at 8:36 PM, dmaraio wrote:


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.