Rescue bug: tinyipa fails to acquire IP in multitenant env
It seems the udhcpc script is not executable and no sleeping cause tinyipa fails to acquire IP in multi-tenant env. Story: #2002024 Change-Id: I3a693d75bfa54fe905bd3cd0587bb139934c087c
This commit is contained in:
parent
7dbcaa69e5
commit
0889051159
@ -53,6 +53,8 @@ configure_dhcp_network() {
|
||||
|
||||
# NOTE(TheJulia): We may need to add a short wait here as
|
||||
# network interface plugging actions may not be asynchronous.
|
||||
echo "Sleeping 30 sec as network interface is being updated"
|
||||
sleep 30
|
||||
INTERFACES=$(ip -o link |grep "LOWER_UP"|cut -f2 -d" "|sed 's/://'|grep -v "lo")
|
||||
for interface in $INTERFACES; do
|
||||
pidfile="/var/run/udhcpc/${interface}.pid"
|
||||
|
0
imagebuild/tinyipa/udhcpc.script
Normal file → Executable file
0
imagebuild/tinyipa/udhcpc.script
Normal file → Executable file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes bug where TinyIPA fails to acquire IP address when
|
||||
in RESCUE state and in multi-tenant environment.
|
Loading…
Reference in New Issue
Block a user