Comment 1 for bug 752427

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: