[VICTORIA][IRONIC] - Can inspect but not deploy
Harald Jensas
hjensas at redhat.com
Tue Jun 14 14:13:19 UTC 2022
On 6/13/22 12:41, Gaël THEROND wrote:
> Hi pierre,
>
> I’m using a dedicated interface but this interface is the same for all
> ironic networks inspection/provisioning/cleaning.
>
> This interface works fine for inspection, my only issue is the
> pxe_filter that the ironic inspector process allow during inspection
> correctly but then tag as disallowed again at the end of the inspection,
> shouldn’t the deploy process allow the Mac again before booting the node?
>
The ironic dnsmasq pxe filter is only supposed to allow DHCP requests
when a node is inspected.
There are two DHCP services, one for inspector and the other one is
typically hosted by neutron for provisioning/cleaning/rescue.
Only the dnsmasq for inspector uses the hostdir with ',ignore' files.
> I can correctly see the conductor instruct the node to boot up using pxe
> from the kvm console but the BootP process doesn’t load the IPA
> kernel/initramfs as the dnsmasq pxe discard the request (because of the
> mac being still tagged as «,ignore » within the hostdir file).
>
When a node is provisioned/cleaned/rescued the DHCP instance in neutron
should be the one providing the DHCP service, not the dnsmasq instance
for inspector service. i.e the ',ignore' entries should remain as
'ignore' to ensure the node does not get a DHCP reply from inspector's
DHCP service which would deliver the wrong DHCP options.
> I’m a bit disappointed by this behavior.
>
> Thanks a lot!
>
> Le lun. 13 juin 2022 à 11:41, Pierre Riteau <pierre at stackhpc.com
> <mailto:pierre at stackhpc.com>> a écrit :
>
> Hello Gaël,
>
> Which network_interface are you using for your nodes? Is your
> provisioning network different from the inspection network?
>
> Pierre
>
> On Mon, 13 Jun 2022 at 10:36, Gaël THEROND
> <gael.therond at bitswalk.com <mailto:gael.therond at bitswalk.com>> wrote:
>
> Hi everyone!
>
> I'm dealing with a strange issue today, we deployed IRONIC on a
> VICTORIA platform, we activated the dnsmasq pxe filtering option
> at the inspector level, it works great as only IRONIC listed
> hosts are then served by the dnsmasq DHCP as those hosts are
> allowed using the dhcp hosts dir.
>
> BUT, I'm having a weird issue now.
>
> All my nodes are able to get an IP from the DHCP at the
> INSPECTION step, however, as soon as the inspection step is
> finished, the mac related file is once again filled with
> "<mac>,ignore" which prohibits further operations.
>
> This means as soon as I put that node as available and try to
> deploy an "instance" on it (provision the host), it doesn't work
> as dnsmasq reject the host boot DHCP requests.
>
> So, is there a way to instruct the ironic-conductor to
> edit/allow the host the way the inspector is able to manipulate
> this file?
>
> Did I missed something?
>
> Thanks a lot!
>
More information about the openstack-discuss
mailing list