Cannot start nova-network on juno and kilo
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Brent Eagles |
Bug Description
Hi!
I was testing packstack --allinone on "RDO test day Juno milestone 3" and i cannot start nova-network.
OS: CentOS7
Openstack version: juno-1
Packstack cmd: packstack --allinone --os-neutron-
Error:
2014-10-01 18:17:53.853 6108 AUDIT nova.service [-] Starting network node (version 2014.2-
2014-10-01 18:17:54.055 6108 ERROR nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
2014-10-01 18:17:54.055 6108 TRACE nova.openstack.
Changed in nova: | |
status: | Opinion → Confirmed |
summary: |
- Cannot start nova-network on juno-1 + Cannot start nova-network on juno and kilo |
Changed in nova: | |
assignee: | nobody → Brent Eagles (beagles) |
Changed in nova: | |
status: | Confirmed → Won't Fix |
Hi again!
So I found the problem.
So on juno you changed the logic on this file /usr/lib/ python2. 7/site- packages/ nova/network/ linux_net. py
RDO packages: 0.4.b3. el7.centos @openstack-juno
icehouse: python-nova.noarch 2014.1.2-1.el6 @openstack-icehouse
juno: python-nova.noarch 2014.2-
icehouse ensure_bridge function:
if interface:
LOG. debug(msg, {'interface': interface, 'bridge': bridge})
check_ exit_code= False, run_as_root=True)
check_ exit_code= False, run_as_root=True)
msg = _('Adding interface %(interface)s to bridge %(bridge)s')
out, err = _execute('brctl', 'addif', bridge, interface,
out, err = _execute('ip', 'link', 'set', interface, 'up',
master/juno ensure_bridge function:
if interface:
LOG. debug(msg, {'interface': interface, 'bridge': bridge})
check_ exit_code= False, run_as_root=True)
"can't enslave it to bridge %s.\n" % (interface, bridge)):
raise exception. NovaException( msg)
msg = _('Adding interface %(interface)s to bridge %(bridge)s')
out, err = _execute('brctl', 'addif', bridge, interface,
if (err and err != "device %s is already a member of a bridge; "
msg = _('Failed to add interface: %s') % err
out, err = _execute('ip', 'link', 'set', interface, 'up',
check_ exit_code= False, run_as_root=True)
I understand that the developer was trying not to lose the error message here but it didnt catch it properly.
I hope that helps!