ifdown does not work if no ifcfg file exist
Bug #1836024 reported by
Noam Angel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-net-config |
Fix Released
|
Undecided
|
Noam Angel |
Bug Description
ifdown happen before writing_config and if interface is up by dhcp/dhclient will not be down, ifdown relaying on ifcfg exist.
https:/
causing issue when pxe boot interface is also used in part of bond interface.
interface is required to be down before adding to bond, failing network config at first run.
suggestion:
use "ip link set dev $interface down"
or
move all write_config to be before ifdown.
Fix proposed to branch: master /review. opendev. org/670020
Review: https:/