Condition in dhcp-interface systemd service stops interfaces from coming up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
In Progress
|
Undecided
|
Tim Rozet |
Bug Description
Consider a baremetal node being booted for the first time with these interfaces:
eno1 - able to dhcp
eno3 - will fail dhcp
enp4s0f3 - has an ifcfg already, able to dhcp
The node boots up, linux networking attempts to dhcp interfaces in order. eno1 is successful, eno3 fails and dhcp stops (expected behavior). Therefore we rely on <email address hidden> to bring up enp4s0f3. However, because of the condition:
ConditionPathEx
and the ifcfg-enp4s0f3 file exists, this service will never run. Leaving the interface down. However, this condition is not necessary. What actually runs in the service is:
ExecStartPre=
ExecStart=
dhcp-all-
Changed in diskimage-builder: | |
assignee: | nobody → Tim Rozet (trozet) |
status: | New → In Progress |
Fix proposed to branch: master /review. openstack. org/561003
Review: https:/