[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
This bug was fixed in the package openvswitch - 1.4.3-0ubuntu2.1 --- openvswitch (1.4.3-0ubuntu2.1) quantal-proposed; urgency=high * Fix broken brcompat module due to circular DKMS build dependency causing brcompat.o to be excluded from module (LP: #1125611): - d/p/0009-datapath-rename-brcompat.c-to-brcompat_main.c.patch: Cherry picked fix from upstream VCS which renames brcompat.c -> brcompat_main.c to support drop of _mod postfix. * Fix module-assistant installs of openvswitch-datapath (LP: #1088160): - d/rules.modules: Drop _mod postfix when installing modules. -- James PageSat, 16 Feb 2013 14:02:05 + -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
This bug was fixed in the package openvswitch - 1.4.0-1ubuntu1.5 --- openvswitch (1.4.0-1ubuntu1.5) precise-proposed; urgency=high * Fix broken brcompat module due to circular DKMS build dependency causing brcompat.o to be excluded from module (LP: #1125611): - d/p/0009-datapath-rename-brcompat.c-to-brcompat_main.c.patch: Cherry picked fix from upstream VCS which renames brcompat.c -> brcompat_main.c to support drop of _mod suffix. -- James PageSat, 16 Feb 2013 13:12:54 + ** Changed in: openvswitch (Ubuntu Precise) Status: Fix Committed => Fix Released ** Changed in: openvswitch (Ubuntu Quantal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
s/Waiting/Waiving/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
Waiting the usual seven-day waiting period since this is a regression. ** Tags added: regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
Version 1.4.0-1ubuntu1.5 working fine. Openstack Cloud Computing (Nova Network + brcompat) environment okay. Thanks! Thiago On 18 February 2013 16:55, Sebastian Marsching wrote: > I tested the following packages from precise-proposed on Ubuntu 12.04 LTS > (amd64) and they work fine for me: > openvswitch-brcompat_1.4.0-1ubuntu1.5 > openvswitch-common_1.4.0-1ubuntu1.5 > openvswitch-controller_1.4.0-1ubuntu1.5 > openvswitch-datapath-dkms_1.4.0-1ubuntu1.5 > openvswitch-pki_1.4.0-1ubuntu1.5 > openvswitch-switch_1.4.0-1ubuntu1.5 > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1125611 > > Title: > DKMS brcompat module circular dependency causes broken module > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
I tested the following packages from precise-proposed on Ubuntu 12.04 LTS (amd64) and they work fine for me: openvswitch-brcompat_1.4.0-1ubuntu1.5 openvswitch-common_1.4.0-1ubuntu1.5 openvswitch-controller_1.4.0-1ubuntu1.5 openvswitch-datapath-dkms_1.4.0-1ubuntu1.5 openvswitch-pki_1.4.0-1ubuntu1.5 openvswitch-switch_1.4.0-1ubuntu1.5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
Hello Sebastian, or anyone else affected, Accepted openvswitch into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/openvswitch/1.4.0-1ubuntu1.5 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: openvswitch (Ubuntu Precise) Status: In Progress => Fix Committed ** Tags added: verification-needed ** Changed in: openvswitch (Ubuntu Quantal) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
sorry, remove and install again, it works now -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
BTW, my Openstack environment, powered by Nova Network with Open vSwitch via brcompat module is working smoothly with openvswitch-1.4.0-1ubuntu1.5~ubuntu12.04.1~ppa1. Cheers! Thiago -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
The package (1.4.0-1ubuntu1.5~ubuntu12.04.1~ppa1) related on comment #10 (from James PPA) is working Okay. Problem fixed with James PPA. Thanks! Thiago -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
error in openstack: # lsmod|grep brcomp brcompat 13512 0 openvswitch84038 8 brcompat # service openvswitch-switch status ovsdb-server is running with pid 2186 ovs-vswitchd is running with pid 2228 ovs-brcompatd is running with pid 3007 2013-02-17 10:26:14 DEBUG nova.utils [req-1591a4d4-9779-452f-bd87-2801f25ae592 None None] Running cmd (subprocess): sudo nova-rootwrap /etc/nova/rootwrap.conf brctl addif qbreb2557ea-3b qvbeb2557ea-3b execute /usr/lib/python2.7/dist-packages/nova/utils.py:183 2013-02-17 10:26:14 DEBUG nova.utils [req-1591a4d4-9779-452f-bd87-2801f25ae592 None None] Result was 1 execute /usr/lib/python2.7/dist-packages/nova/utils.py:199 2013-02-17 10:26:14 2046 CRITICAL nova [-] Unexpected error while running command. Command: sudo nova-rootwrap /etc/nova/rootwrap.conf brctl addif qbreb2557ea-3b qvbeb2557ea-3b Exit code: 1 Stdout: '' Stderr: "can't add qvbeb2557ea-3b to bridge qbreb2557ea-3b: Invalid argument\n" 2013-02-17 10:26:14 2046 TRACE nova Traceback (most recent call last): 2013-02-17 10:26:14 2046 TRACE nova File "/usr/bin/nova-compute", line 48, in 2013-02-17 10:26:14 2046 TRACE nova service.wait() 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 659, in wait 2013-02-17 10:26:14 2046 TRACE nova _launcher.wait() 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 192, in wait 2013-02-17 10:26:14 2046 TRACE nova super(ServiceLauncher, self).wait() 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 162, in wait 2013-02-17 10:26:14 2046 TRACE nova service.wait() 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait 2013-02-17 10:26:14 2046 TRACE nova return self._exit_event.wait() 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait 2013-02-17 10:26:14 2046 TRACE nova return hubs.get_hub().switch() 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch 2013-02-17 10:26:14 2046 TRACE nova return self.greenlet.switch() 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main 2013-02-17 10:26:14 2046 TRACE nova result = function(*args, **kwargs) 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 132, in run_server 2013-02-17 10:26:14 2046 TRACE nova server.start() 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 398, in start 2013-02-17 10:26:14 2046 TRACE nova self.manager.init_host() 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 297, in init_host 2013-02-17 10:26:14 2046 TRACE nova self.driver.plug_vifs(instance, legacy_net_info) 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 439, in plug_vifs 2013-02-17 10:26:14 2046 TRACE nova self.vif_driver.plug(instance, (network, mapping)) 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 221, in plug 2013-02-17 10:26:14 2046 TRACE nova utils.execute('brctl', 'addif', br_name, v1_name, run_as_root=True) 2013-02-17 10:26:14 2046 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 206, in execute 2013-02-17 10:26:14 2046 TRACE nova cmd=' '.join(cmd)) 2013-02-17 10:26:14 2046 TRACE nova ProcessExecutionError: Unexpected error while running command. 2013-02-17 10:26:14 2046 TRACE nova Command: sudo nova-rootwrap /etc/nova/rootwrap.conf brctl addif qbreb2557ea-3b qvbeb2557ea-3b 2013-02-17 10:26:14 2046 TRACE nova Exit code: 1 2013-02-17 10:26:14 2046 TRACE nova Stdout: '' 2013-02-17 10:26:14 2046 TRACE nova Stderr: "can't add qvbeb2557ea-3b to bridge qbreb2557ea-3b: Invalid argument\n" 2013-02-17 10:26:14 2046 TRACE nova -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
I can confirm the the new version (from the PPA) fixes the problem for me. Thank you very much for the quick solution! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
Fix also uploaded to quantal-proposed for SRU team review. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
** Description changed: [Impact] brcompat module is broken [Test Case] sudo apt-get install openvswitch-datapath-dkms sudo apt-get install openvswitch-brcompat - brcompat daemon will fail to start - /var/log/syslog: brcompat: module license 'unspecified' taints kernel. + edit /etc/default/openvswitch-switch and enable BRCOMPAT=yes + sudo service openvswitch-switch restart + + brcompat daemon will fail to start: + ovs-brcompatd: could not open brcompat socket. Check "brcompat" kernel module. + + /var/log/syslog: + brcompat: module license 'unspecified' taints kernel. [Regression Potential] Minimal; the additional cherry picked patch renames the brcompat.c file brcompat_main.c to avoid a circular dependency during DKMS build. [Original bug report] On Ubuntu 12.04.2 LTS, after an automatic upgrade from openvswitch 1.4.0-1ubuntu1.3 to openvswith 1.4.0-1ubuntu1.4 the brcompat support does not work any longer. The brcompat kernel module can be build, installed, and loaded, but openvswitch-brcompatd will not start with the error message: "ovs- brcompatd: could not open brcompat socket. Check "brcompat" kernel module." After a downgrade back to version 1.4.0-1ubuntu1.3 brcompat works again. I think this is essentially the same problem as described here: https://answers.launchpad.net/ubuntu/+source/openvswitch/+question/221334 It might be unrelated, but after the upgrade "lsmod" does not list the "openvswitch" module as a dependency of the "brcompat" module. After downgrading, the dependency is shown again. ** Description changed: [Impact] brcompat module is broken [Test Case] sudo apt-get install openvswitch-datapath-dkms sudo apt-get install openvswitch-brcompat edit /etc/default/openvswitch-switch and enable BRCOMPAT=yes sudo service openvswitch-switch restart brcompat daemon will fail to start: ovs-brcompatd: could not open brcompat socket. Check "brcompat" kernel module. /var/log/syslog: brcompat: module license 'unspecified' taints kernel. + + Note that the 'force-reload-kmod' may be required after upgrading to + force the DKMS modules to be reloaded: + + sudo service openvswitch-switch force-reload-kmod [Regression Potential] Minimal; the additional cherry picked patch renames the brcompat.c file brcompat_main.c to avoid a circular dependency during DKMS build. [Original bug report] On Ubuntu 12.04.2 LTS, after an automatic upgrade from openvswitch 1.4.0-1ubuntu1.3 to openvswith 1.4.0-1ubuntu1.4 the brcompat support does not work any longer. The brcompat kernel module can be build, installed, and loaded, but openvswitch-brcompatd will not start with the error message: "ovs- brcompatd: could not open brcompat socket. Check "brcompat" kernel module." After a downgrade back to version 1.4.0-1ubuntu1.3 brcompat works again. I think this is essentially the same problem as described here: https://answers.launchpad.net/ubuntu/+source/openvswitch/+question/221334 It might be unrelated, but after the upgrade "lsmod" does not list the "openvswitch" module as a dependency of the "brcompat" module. After downgrading, the dependency is shown again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1125611] Re: DKMS brcompat module circular dependency causes broken module
Fix uploaded to precise-proposed for SRU team review. I've also uploaded the same fix to https://launchpad.net/~james- page/+archive/openvswitch ** Description changed: - On Ubuntu 12.04.2 LTS, after an automatic upgrade from openvswitch - 1.4.0-1ubuntu1.3 to openvswith 1.4.0-1ubuntu1.4 the brcompat support - does not work any longer. + [Impact] + brcompat module is broken + + [Test Case] + sudo apt-get install openvswitch-datapath-dkms + sudo apt-get install openvswitch-brcompat + brcompat daemon will fail to start + /var/log/syslog: brcompat: module license 'unspecified' taints kernel. + + [Regression Potential] + Minimal; the additional cherry picked patch renames the brcompat.c file brcompat_main.c to avoid a circular dependency during DKMS build. + + [Original bug report] + On Ubuntu 12.04.2 LTS, after an automatic upgrade from openvswitch 1.4.0-1ubuntu1.3 to openvswith 1.4.0-1ubuntu1.4 the brcompat support does not work any longer. The brcompat kernel module can be build, installed, and loaded, but openvswitch-brcompatd will not start with the error message: "ovs- brcompatd: could not open brcompat socket. Check "brcompat" kernel module." After a downgrade back to version 1.4.0-1ubuntu1.3 brcompat works again. I think this is essentially the same problem as described here: https://answers.launchpad.net/ubuntu/+source/openvswitch/+question/221334 It might be unrelated, but after the upgrade "lsmod" does not list the "openvswitch" module as a dependency of the "brcompat" module. After downgrading, the dependency is shown again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1125611 Title: DKMS brcompat module circular dependency causes broken module To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1125611/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs