network from latest trunk fails to start up
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/
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): TRACE: service.serve()
(nova): TRACE: File "/opt/nova/
(nova): TRACE: x.start()
(nova): TRACE: File "/opt/nova/
(nova): TRACE: self.manager.
(nova): TRACE: File "/opt/nova/
(nova): TRACE: super(VlanManager, self).init_host()
(nova): TRACE: File "/opt/nova/
(nova): TRACE: self.driver.
(nova): TRACE: File "/opt/nova/
(nova): TRACE: iptables_
(nova): TRACE: File "/opt/nova/
(nova): TRACE: retval = f(*args, **kwargs)
(nova): TRACE: File "/opt/nova/
(nova): TRACE: attempts=5)
(nova): TRACE: File "/opt/nova/
(nova): TRACE: return utils.execute(*cmd, **kwargs)
(nova): TRACE: File "/opt/nova/
(nova): TRACE: env=env)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: wrapped_pipe = greenio.
(nova): TRACE: File "/usr/lib/
(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:
ok, nova-volume dies the same way:
2011-04-06 13:39:41,191 AUDIT nova [-] Starting volume node (version 2011.2- LOCALBRANCH: LOCALREVISION) nova/utils. py:150 nova-volume" , line 48, in <module> nova/service. py", line 290, in serve nova/service. py", line 84, in start init_host( ) nova/volume/ manager. py", line 83, in init_host check_for_ setup_error( ) nova/volume/ driver. py", line 87, in check_for_ setup_error 'sudo', 'vgs', '--noheadings', '-o', 'name') nova/utils. py", line 158, in execute pymodules/ python2. 6/eventlet/ green/subproces s.py", line 31, in __init__ GreenPipe( pipe, pipe.mode, bufsize) pymodules/ python2. 6/eventlet/ greenio. py", line 376, in __init__
2011-04-06 13:39:41,191 DEBUG nova.utils [-] Running cmd (subprocess): sudo vgs --noheadings -o name from (pid=23907) execute /opt/nova/
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): TRACE: service.serve()
(nova): TRACE: File "/opt/nova/
(nova): TRACE: x.start()
(nova): TRACE: File "/opt/nova/
(nova): TRACE: self.manager.
(nova): TRACE: File "/opt/nova/
(nova): TRACE: self.driver.
(nova): TRACE: File "/opt/nova/
(nova): TRACE: out, err = self._execute(
(nova): TRACE: File "/opt/nova/
(nova): TRACE: env=env)
(nova): TRACE: File "/usr/lib/
(nova): TRACE: wrapped_pipe = greenio.
(nova): TRACE: File "/usr/lib/
(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: