interfaces are restarted twice on changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
os-net-config |
Fix Committed
|
Critical
|
Dan Prince |
Bug Description
Running a simple os-net-config file to configure a single network interface:
network_config:
-
type: interface
name: eth0
use_dhcp: true
----
I'm seeing interfaces that get started twice. This can cause dhclient to fail since it is already running on the previously configured interface. See below:
[2015/08/17 02:53:07 PM] [INFO] running ifup on interface: eth0
[2015/08/17 02:53:24 PM] [INFO] running ifup on interface: eth0
Traceback (most recent call last):
File "/bin/os-
sys.
File "/usr/lib/
activate=not opts.no_activate)
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
processutil
File "/usr/lib/
cmd=
oslo_concurrenc
Command: /sbin/ifup eth0
Exit code: 1
Stdout: u'\nDetermining IP information for eth0... failed.\n'
Stderr: u'dhclient(710) is already running - exiting. \n\nThis version of ISC DHCP is based on th'
+ RETVAL=1
Changed in os-net-config: | |
importance: | Undecided → Critical |
status: | New → In Progress |
assignee: | nobody → Dan Prince (dan-prince) |
Fix proposed to branch: master /review. openstack. org/213746
Review: https:/