Provisioning from a dedicated tftp+dhcp host

Hello,

I setup a few hosts as tftp + dhcp servers and correctly connected them to
the Foreman instance via the smart proxies. This architecture allows some
distribution of roles.
I proceeded with the "provisioning setup" section and am presented with the
pre-requisites step, plus a subnet dropdown. All is fine but I can't seem
to be able to select a different "provisioning host": the wizard assumes I
want to provision stuff from the foreman master:

✓ Found registered host fm-master.local
✓ Found registered smart proxy fm-master.local
✓ Host fm-master.local has at least one network interface

Clicking next and filling the configuration values takes me to the
foreman-installer copy-pastable commands, and I can notice the
–foreman-proxy-tftp-servername parameter pointing at the foreman master
itself. I would like to be allowed to use whatever tftp server I have
registered, instead of the foreman instance. Is this even possible (and
would it make sense, instead of using foreman as the tftp)?

Some additional oddities:

  • At the end of the wizard I end up with two subnet definitions for the
    same subnet, and I can only remove one of them since the other is used by
    "provision fom fm-master.local"
  • The foreman instance WAS configured with the tftp feature enabled. I
    then removed the feature running the foreman-installer again passing the
    necessary "tftp false" parameter.

Thanks.

More info:

Foreman 1.13, Ubuntu 16.04.

Architecture:

Foreman instance

DHCP+TFTP instance

DNS instance

PuppetDB

Puppetmaster 4.x

Yes, don't use the provisioning setup. It's a plugin that's only
designed to help set up provisioning first time from the Foreman server
itself with the installer.

Set up the smart proxies as you wish (manually or using the installer),
register them in Foreman and then under Infrastructure > Subnets, assign
them to the subnets.

··· On 24/10/16 20:13, Nicola V wrote: > Hello, > > I setup a few hosts as tftp + dhcp servers and correctly connected them > to the Foreman instance via the smart proxies. This architecture allows > some distribution of roles. > I proceeded with the "provisioning setup" section and am presented with > the pre-requisites step, plus a subnet dropdown. All is fine but I can't > seem to be able to select a different "provisioning host": the wizard > assumes I want to provision stuff from the foreman master: > > ✓ Found registered host fm-master.local > ✓ Found registered smart proxy fm-master.local > ✓ Host fm-master.local has at least one network interface > > Clicking next and filling the configuration values takes me to the > foreman-installer copy-pastable commands, and I can notice the > --foreman-proxy-tftp-servername parameter pointing at the foreman master > itself. I would like to be allowed to use whatever tftp server I have > registered, instead of the foreman instance. Is this even possible (and > would it make sense, instead of using foreman as the tftp)?


Dominic Cleal
dominic@cleal.org

Thank you, that was indeed the case and I'm now up and running!
Nicola

··· On Tuesday, October 25, 2016 at 9:46:06 AM UTC+2, Dominic Cleal wrote: > > > Yes, don't use the provisioning setup. It's a plugin that's only > designed to help set up provisioning first time from the Foreman server > itself with the installer. >