Missing exception data for exceptions raised in floating ip assignment when ebtables is missing
Bug #1202177 reported by
Nick Moffitt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Russell Bryant |
Bug Description
When I tried to assign one of my successfully-
I'm running nova-network 1:2013.
My searches through bugs while trying to find the *real* error turned up bug#1119817 which seems to be of a type with this one (although apparently more thoroughly researched).
tags: | added: network |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → havana-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-rc1 → 2013.2 |
To post a comment you must log in.
Okay, I"ve tracked this down to:
2013-07-17 12:44:34.849 12414 TRACE nova.api. openstack. compute. contrib. floating_ ips File "/usr/lib/ python2. 7/dist- packages/ nova/network/ floating_ ips.py" , line 375, in do_associate openstack. compute. contrib. floating_ ips raise openstack. compute. contrib. floating_ ips TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
2013-07-17 12:44:34.849 12414 TRACE nova.api.
2013-07-17 12:44:34.849 12414 TRACE nova.api.
And making line 375 of that file say "raise e" instead of just a bare raise gets me this:
2013-07-17 12:50:59.518 12414 TRACE nova.api. openstack. compute. contrib. floating_ ips ProcessExecutio nError: Unexpected error while running command. openstack. compute. contrib. floating_ ips Command: sudo nova-rootwrap /etc/nova/ rootwrap. conf ebtables -t nat -I PREROUTING --logical-in br3812 -p ipv4 --ip-src 10.55.224.3 ! --ip-dst 10.55.224.0/29 -j redirect --redirect-target ACCEPT openstack. compute. contrib. floating_ ips Exit code: 96 openstack. compute. contrib. floating_ ips Stdout: '/usr/bin/ nova-rootwrap: Executable not found: /sbin/ebtables (filter match = ebtables)\n' openstack. compute. contrib. floating_ ips Stderr: ''
2013-07-17 12:50:59.518 12414 TRACE nova.api.
2013-07-17 12:50:59.518 12414 TRACE nova.api.
2013-07-17 12:50:59.518 12414 TRACE nova.api.
2013-07-17 12:50:59.518 12414 TRACE nova.api.
So this is a problem in my deployment, but the error handling isn't helping me work it out right now. I'll update the subject to be more specific.