We worked around this in devstack:

https://github.com/openstack-
dev/devstack/commit/7860f2ba3189b0361693c8ee9c65d8d03fb115d6

Using:

https://review.openstack.org/#/c/246581/

** Changed in: nova
       Status: Confirmed => Fix Released

** Changed in: nova
     Assignee: (unassigned) => Chet Burgess (cfb-n)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1501558

Title:
  nova-net: libvirtError: Error while building firewall: Some rules
  could not be created for interface: Unable to update the kernel

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Just started seeing this show up in juno jobs:

  http://logs.openstack.org/39/229639/2/check/gate-tempest-dsvm-full-
  juno/a0bb0c0/logs/screen-n-net.txt.gz?level=TRACE#_2015-09-30_22_21_27_400

  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher Traceback 
(most recent call last):
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 
134, in _dispatch_and_reply
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     
incoming.message))
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 
177, in _dispatch
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     return 
self._do_dispatch(endpoint, method, ctxt, args)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 
123, in _do_dispatch
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     result 
= getattr(endpoint, method)(ctxt, **new_args)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/network/floating_ips.py", line 393, in 
_associate_floating_ip
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     
do_associate()
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/openstack/common/lockutils.py", line 272, in inner
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     return 
f(*args, **kwargs)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/network/floating_ips.py", line 386, in do_associate
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     
interface=interface)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/openstack/common/excutils.py", line 82, in __exit__
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     
six.reraise(self.type_, self.value, self.tb)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/network/floating_ips.py", line 370, in do_associate
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     
interface, fixed['network'])
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/network/l3.py", line 114, in add_floating_ip
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     
l3_interface_id, network)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/network/linux_net.py", line 784, in 
ensure_floating_forward
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     
ensure_ebtables_rules(*floating_ebtables_rules(fixed_ip, network))
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/openstack/common/lockutils.py", line 272, in inner
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     return 
f(*args, **kwargs)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/network/linux_net.py", line 1649, in 
ensure_ebtables_rules
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     
_execute(*cmd, run_as_root=True)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/network/linux_net.py", line 1229, in _execute
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     return 
utils.execute(*cmd, **kwargs)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/utils.py", line 187, in execute
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     return 
processutils.execute(*cmd, **kwargs)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher   File 
"/opt/stack/new/nova/nova/openstack/common/processutils.py", line 222, in 
execute
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher     
cmd=sanitized_cmd)
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher 
ProcessExecutionError: Unexpected error while running command.
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher Command: 
sudo nova-rootwrap /etc/nova/rootwrap.conf ebtables -t nat -I PREROUTING 
--logical-in br100 -p ipv4 --ip-src 10.1.0.7 ! --ip-dst 10.1.0.0/20 -j redirect 
--redirect-target ACCEPT
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher Exit code: 
255
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher Stdout: u''
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher Stderr: 
u"Unable to update the kernel. Two possible causes:\n1. Multiple ebtables 
programs were executing simultaneously. The ebtables\n   userspace tool doesn't 
by default support multiple ebtables programs running\n   concurrently. The 
ebtables option --concurrent or a tool like flock can be\n   used to support 
concurrent scripts that update the ebtables kernel tables.\n2. The kernel 
doesn't support a certain ebtables extension, consider\n   recompiling your 
kernel or insmod the extension.\n.\n"
  2015-09-30 22:21:27.400 24730 TRACE oslo.messaging.rpc.dispatcher

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1501558/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to