Project

General

Profile

Actions

Bug #25610

closed

Allow DHCP orchestration on NIC alias

Added by Lukas Zapletal about 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
DHCP
Target version:
-
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Our orchestration queue has a mechanism to prevent multiple DHCP orchestration calls. It uses MAC address to identify duplicates however for NIC alias there are actually two NICs with same MAC address. Adding an extra information to the orchestration name allows orchestrating those.

Reproducer is simple, create a subnet with Internal DB IPAM, static mode (id=3 in my case) and a subnet with DHCP IPAM, static mode (id=9 in my case) and create a host with an alias as provisioning interface. It must have name associated too:

hammer -u admin -p changeme host create --name simple-13006 --organization MyOrg --location MyLoc --hostgroup 'CentOS 7.1' --interface identifier=eth0,mac=52:54:00:45:ae:90,primary=true,provision=false,domain_id=1,subnet_id=3 --interface identifier=eth0:1,mac=52:54:00:45:ae:90,primary=false,provision=true,domain_id=1,subnet_id=9,virtual=true,attached_to=eth0,name=prov-32042

Related issues 1 (0 open1 closed)

Related to Foreman - Bug #26104: Multiple NIC orchestrations are not orchestratedClosedLukas ZapletalActions
Actions

Also available in: Atom PDF