Hi,

I want to have DHCP enabled on all of my interfaces of the hosts that are 
installed with foreman.
When I add interfaces to a host with vlan enabled it seems to work fine 
until I add the MAC address to other (vlan)interfaces.
The IP ranges and subnets are different for each vlan but the basic 
hostname is the same. So the fqdn for all interfaces are different.

The error I get is the following:

Create DHCP Settings for <host> task failed with the following error: 
ERF12-6899 [ProxyAPI::ProxyException]: Unable to set DHCP entry 
([RestClient::Conflict]: 409 Conflict) for proxy <proxy>:9090/dhcp
If I remove the MAC address for all but the provision interface and add 
them manually to the leases file, everything works fine.
So the DHCP server (ISC) is correctly setup but Foreman cannot cope 
correctly with multiple interfaces.

My leases file looks like this:


host <FQDN1> {
  dynamic;
  hardware ethernet <MAC>;
  fixed-address <IP1>;
        supersede server.filename = "pxelinux.0";
        supersede host-name = "< FQDN1 >";
}
host < FQDN2 > {
  dynamic;
  hardware ethernet <MAC>;
  fixed-address <IP2>;
        supersede server.filename = "pxelinux.0";
        supersede server.next-server = <TFTP_SERVER>;
        supersede host-name = "< FQDN2 >";
}

Currently using Foreman 1.16RC2 and Katello 3.5RC1, but I also tried before 
with 1.15 and 3.4 respectively with the same results.

Is there any way to make this working as I do not like to manually add 
hosts to the leases file....

Cheers,
Maarten

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to