Project

General

Profile

Bug #25610

Allow DHCP orchestration on NIC alias

Added by Lukas Zapletal almost 3 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
DHCP
Target version:
-
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
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

Related to Foreman - Bug #26104: Multiple NIC orchestrations are not orchestratedClosed

History

#1 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6298 added

#2 Updated by Lukas Zapletal about 2 years ago

  • Related to Bug #26104: Multiple NIC orchestrations are not orchestrated added

#3 Updated by Lukas Zapletal about 2 years ago

  • Status changed from Ready For Testing to Resolved

#26104 fixed this.

#4 Updated by Lukas Zapletal about 2 years ago

  • Fixed in Releases 1.21.4 added

#5 Updated by Tomer Brisker about 2 years ago

  • Fixed in Releases deleted (1.21.4)

Also available in: Atom PDF