brcompat module problem after upgrade to the release "1.4.0-1ubuntu1.4".

Asked by Thiago Martins

Hi!

 I was running Open vSwitch 1.4.0 on my Ubuntu 12.04.2 LTS until the last upgrade, to the release (1ubuntu1.4).

 I mean, I just upgrade my Ubuntu 12.04.2 Open vSwitch packages (to 1.4.0-1ubuntu1.4) (aptitude update ; aptitude safe-upgrade ; reboot) and, the brcompat module isn't working anymore...

 My previous kernel.log.1 shows:

  "brcompat_mod: Open vSwtich Bridge Compatibility, build Jan 30...."

 But now, kernel.org (dmesg) shows:

  "brcompat: module license 'unspecified' taints kernel."

 Also, when I run:

   /etc/init.d/openvswitch restart

 I'm getting:

  "ovs-brcompatd: could not open brcompat socket. Check "brcompat" kernel module."

 I already tried to recompile the modules with: "dpkg-reconfigure openvswitch-datapath-dkms", the module is in fact, loaded but, doesn't work anymore... The command: "ifup br100" also doesn't work too...

 The initramdisk was updated with: "update-initramfs -u"

 And, the command: "ovs-vsctl show" seems to be working, "brctl show" also lists the bridge br100' there...

 Kernel version: 3.2.0-37-virtual

 Any clue?

Thanks!
Thiago

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openvswitch Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug.

Revision history for this message
Thiago Martins (martinx) said :
#2

Upgrading to Open vSwtich 1.6.90-1.ubuntu.1 via:

sudo add-apt-repository ppa:gdahlman/openvswitch
sudo aptitude update
sudo aptitude safe-upgrade
sudo reboot

...solve my problem...

-
 Thiago

Revision history for this message
Thiago Martins (martinx) said :
#3

But, version 1.6.90 breaks something else, my nova-network (Openstack Folsom via Ubuntu Cloud Archive) doesn't work anymore, Instances doesn't come up.

On nova-compute.log:

2013-02-07 21:58:34 1458 CRITICAL nova [-] Unable to add bridge br100 port vnet0: Connection timed out
2013-02-07 21:58:34 1458 TRACE nova Traceback (most recent call last):
2013-02-07 21:58:34 1458 TRACE nova File "/usr/bin/nova-compute", line 48, in <module>
2013-02-07 21:58:34 1458 TRACE nova service.wait()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 659, in wait
2013-02-07 21:58:34 1458 TRACE nova _launcher.wait()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 192, in wait
2013-02-07 21:58:34 1458 TRACE nova super(ServiceLauncher, self).wait()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 162, in wait
2013-02-07 21:58:34 1458 TRACE nova service.wait()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait
2013-02-07 21:58:34 1458 TRACE nova return self._exit_event.wait()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2013-02-07 21:58:34 1458 TRACE nova return hubs.get_hub().switch()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
2013-02-07 21:58:34 1458 TRACE nova return self.greenlet.switch()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main
2013-02-07 21:58:34 1458 TRACE nova result = function(*args, **kwargs)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 132, in run_server
2013-02-07 21:58:34 1458 TRACE nova server.start()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 398, in start
2013-02-07 21:58:34 1458 TRACE nova self.manager.init_host()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 314, in init_host
2013-02-07 21:58:34 1458 TRACE nova block_device_info)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 117, in wrapped
2013-02-07 21:58:34 1458 TRACE nova temp_level, payload)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-02-07 21:58:34 1458 TRACE nova self.gen.next()
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 92, in wrapped
2013-02-07 21:58:34 1458 TRACE nova return f(*args, **kw)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1013, in resume_state_on_host_boot
2013-02-07 21:58:34 1458 TRACE nova block_device_info)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1931, in _create_domain_and_network
2013-02-07 21:58:34 1458 TRACE nova domain = self._create_domain(xml)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 1910, in _create_domain
2013-02-07 21:58:34 1458 TRACE nova domain.createWithFlags(launch_flags)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 187, in doit
2013-02-07 21:58:34 1458 TRACE nova result = proxy_call(self._autowrap, f, *args, **kwargs)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 147, in proxy_call
2013-02-07 21:58:34 1458 TRACE nova rv = execute(f,*args,**kwargs)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 76, in tworker
2013-02-07 21:58:34 1458 TRACE nova rv = meth(*args,**kwargs)
2013-02-07 21:58:34 1458 TRACE nova File "/usr/lib/python2.7/dist-packages/libvirt.py", line 650, in createWithFlags
2013-02-07 21:58:34 1458 TRACE nova if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
2013-02-07 21:58:34 1458 TRACE nova libvirtError: Unable to add bridge br100 port vnet0: Connection timed out
2013-02-07 21:58:34 1458 TRACE nova

I'll try to downgrade openvswitch to 1.4.0-1ubuntu1.3 (by disabling proposed updates)...

Revision history for this message
Thiago Martins (martinx) said :
#4

Back to: openvswitch 1.4.0-1ubuntu1.3, everything is fine...
ubuntu-proposed updates repository disabled for instance.
I'll try to reproduce this problem on a isolated VM.

-
 Thiago

Revision history for this message
James Page (james-page) said :
#5

Just for future reference any problems with packages in proposed should be reported back to the bugs identified in the changelog entires; this will stop them progressing to updates!

Can you help with this problem?

Provide an answer of your own, or ask Thiago Martins for more information if necessary.

To post a message you must log in.