PXEboot with VLAN Fails with Discovery failed, code 422, reason: ERF42-1064 [Foreman::Exception]: Unable to assign subnet, primary interface is missing IP address

Problem:
Discovery failed, code 422, reason: ERF42-1064 [Foreman::Exception]: Unable to assign subnet, primary interface is missing IP address

Expected outcome:
Host should be able to be added with VLAN
Foreman and Proxy versions:
1.16.2

I Applied all possible patches from this bug Bug #24711: Virtual interfaces are not detected as primary (discovery over VLAN support) - Foreman not luck.

Thanks

Hello, this has been fixed in 1.23 (currently RC2).