network from latest trunk fails to start up

Bug #752427 reported by Zoltan Arnold Nagy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

trying to run nova, this is what I get inside network.log:

2011-04-06 13:39:41,278 DEBUG nova.utils [-] Running cmd (subprocess): sudo iptables-save -t filter from (pid=23901) execute /opt/nova/nova/utils.py:150
2011-04-06 13:39:41,300 CRITICAL nova [-] f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:5>', mode 'wb' at 0x335b560>
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "./bin/nova-network", line 48, in <module>
(nova): TRACE: service.serve()
(nova): TRACE: File "/opt/nova/nova/service.py", line 290, in serve
(nova): TRACE: x.start()
(nova): TRACE: File "/opt/nova/nova/service.py", line 84, in start
(nova): TRACE: self.manager.init_host()
(nova): TRACE: File "/opt/nova/nova/network/manager.py", line 498, in init_host
(nova): TRACE: super(VlanManager, self).init_host()
(nova): TRACE: File "/opt/nova/nova/network/manager.py", line 128, in init_host
(nova): TRACE: self.driver.init_host()
(nova): TRACE: File "/opt/nova/nova/network/linux_net.py", line 378, in init_host
(nova): TRACE: iptables_manager.apply()
(nova): TRACE: File "/opt/nova/nova/utils.py", line 607, in inner
(nova): TRACE: retval = f(*args, **kwargs)
(nova): TRACE: File "/opt/nova/nova/network/linux_net.py", line 286, in apply
(nova): TRACE: attempts=5)
(nova): TRACE: File "/opt/nova/nova/network/linux_net.py", line 657, in _execute
(nova): TRACE: return utils.execute(*cmd, **kwargs)
(nova): TRACE: File "/opt/nova/nova/utils.py", line 158, in execute
(nova): TRACE: env=env)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/green/subprocess.py", line 31, in __init__
(nova): TRACE: wrapped_pipe = greenio.GreenPipe(pipe, pipe.mode, bufsize)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/greenio.py", line 376, in __init__
(nova): TRACE: raise TypeError('f(ile) should be int, str, unicode or file, not %r' % f)
(nova): TRACE: TypeError: f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:5>', mode 'wb' at 0x335b560>
(nova): TRACE:

Revision history for this message
Zoltan Arnold Nagy (zoltan) wrote :

ok, nova-volume dies the same way:

2011-04-06 13:39:41,191 AUDIT nova [-] Starting volume node (version 2011.2-LOCALBRANCH:LOCALREVISION)
2011-04-06 13:39:41,191 DEBUG nova.utils [-] Running cmd (subprocess): sudo vgs --noheadings -o name from (pid=23907) execute /opt/nova/nova/utils.py:150
2011-04-06 13:39:41,221 CRITICAL nova [-] f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:5>', mode 'wb' at 0x1921200>
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "./bin/nova-volume", line 48, in <module>
(nova): TRACE: service.serve()
(nova): TRACE: File "/opt/nova/nova/service.py", line 290, in serve
(nova): TRACE: x.start()
(nova): TRACE: File "/opt/nova/nova/service.py", line 84, in start
(nova): TRACE: self.manager.init_host()
(nova): TRACE: File "/opt/nova/nova/volume/manager.py", line 83, in init_host
(nova): TRACE: self.driver.check_for_setup_error()
(nova): TRACE: File "/opt/nova/nova/volume/driver.py", line 87, in check_for_setup_error
(nova): TRACE: out, err = self._execute('sudo', 'vgs', '--noheadings', '-o', 'name')
(nova): TRACE: File "/opt/nova/nova/utils.py", line 158, in execute
(nova): TRACE: env=env)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/green/subprocess.py", line 31, in __init__
(nova): TRACE: wrapped_pipe = greenio.GreenPipe(pipe, pipe.mode, bufsize)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/greenio.py", line 376, in __init__
(nova): TRACE: raise TypeError('f(ile) should be int, str, unicode or file, not %r' % f)
(nova): TRACE: TypeError: f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:5>', mode 'wb' at 0x1921200>
(nova): TRACE:

Revision history for this message
Thierry Carrez (ttx) wrote :

<ttx> nagyz: about bug 752427, what eventlet version are you using ?
<nagyz> 0.9.12-0ubuntu2
<nagyz> just checked, and I
<nagyz> and I'm running maverick in this VM
<nagyz> I'll try to patch it.
<ttx> You should be running 0.9.14-0ubuntu2~maverick1
<ttx> from the PPA.
<ttx> Looks like you're missing a bunch of deps from the PPA

Changed in nova:
status: New → Invalid
Revision history for this message
Soren Hansen (soren) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.