Project

General

Profile

Actions

Bug #25610

closed

Allow DHCP orchestration on NIC alias

Added by Lukas Zapletal over 5 years ago. Updated over 4 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 #1

Updated by The Foreman Bot over 5 years ago

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

Updated by Lukas Zapletal over 4 years ago

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

Updated by Lukas Zapletal over 4 years ago

  • Status changed from Ready For Testing to Resolved

#26104 fixed this.

Actions #4

Updated by Lukas Zapletal over 4 years ago

  • Fixed in Releases 1.21.4 added
Actions #5

Updated by Tomer Brisker over 4 years ago

  • Fixed in Releases deleted (1.21.4)
Actions

Also available in: Atom PDF