OpenStack nova compute service failed to start after the update to th e openstack-icehouse version 2014.1.3-2.fc21 - the reason appeared to be:
This bug report, though marked as invalid, helped, The problem was a change in the file nova/network/linux_net.py.
The following exception had been in the wrong place earlier and was being ignored:
The interface for the flat network is set to 'lo' even if the nova.conf file does not define it. network['bridge_interface'] seems to be set to 'lo' in the following line:
One workaround was to change the following line in ensure_bridge method:
< if interface:
---
> if interface and interface != 'lo':
Subsequently, I came across another workaround in a bug report by creating a dummy interface.
The virtual machines were stuck in 'powering on' state after the update. This time solving it was easy!
"Failed to add interface: can't add lo to bridge br100: Invalid argument"
This bug report, though marked as invalid, helped, The problem was a change in the file nova/network/linux_net.py.
The following exception had been in the wrong place earlier and was being ignored:
if (err and err != "device %s is already a member of a bridge; "
"can't enslave it to bridge %s.\n" % (interface, bridge)):
msg = _('Failed to add interface: %s') % err
raise exception.NovaException(msg)
The interface for the flat network is set to 'lo' even if the nova.conf file does not define it. network['bridge_interface'] seems to be set to 'lo' in the following line:
iface = CONF.flat_interface or network['bridge_interface']
One workaround was to change the following line in ensure_bridge method:
< if interface:
---
> if interface and interface != 'lo':
Subsequently, I came across another workaround in a bug report by creating a dummy interface.
The virtual machines were stuck in 'powering on' state after the update. This time solving it was easy!
I wish more authors of this type of content would take the time you did to research and write so well. I am very impressed with your vision and insight.
ReplyDeletebest institute of ccna in pune