bzr925 nova-volume fail to run up.....see log

Asked by Hugo Kou

nova-volume 2011.2~bzr925-0ubuntu0ppa1~maver OpenStack Compute - Nova - storage
OS: Ubuntu maverick server

well, I try to use deploment tool with truck instead of release

933 2011-03-31 15:51:10,499 CRITICAL nova [-] f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:5>', mode 'wb' at 0x289f200>
    934 (nova): TRACE: Traceback (most recent call last):
    935 (nova): TRACE: File "/usr/bin/nova-volume", line 48, in <module>
    936 (nova): TRACE: service.serve()
    937 (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 290, in serve
    938 (nova): TRACE: x.start()
    939 (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 84, in start
    940 (nova): TRACE: self.manager.init_host()
    941 (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/volume/manager.py", line 83, in init_host
    942 (nova): TRACE: self.driver.check_for_setup_error()
    943 (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/volume/driver.py", line 87, in check_for_setup_error
    944 (nova): TRACE: out, err = self._execute('sudo', 'vgs', '--noheadings', '-o', 'name')
    945 (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 158, in execute
    946 (nova): TRACE: env=env)
    947 (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/green/subprocess.py", line 31, in __init__
    948 (nova): TRACE: wrapped_pipe = greenio.GreenPipe(pipe, pipe.mode, bufsize)
    949 (nova): TRACE: File "/usr/lib/pymodules/python2.6/eventlet/greenio.py", line 376, in __init__
    950 (nova): TRACE: raise TypeError('f(ile) should be int, str, unicode or file, not %r' % f)
    951 (nova): TRACE: TypeError: f(ile) should be int, str, unicode or file, not <open GreenPipe '<fd:5>', mode 'wb' at 0x289f200>
    952 (nova): TRACE:

===============check vgs==================
nii@ubuntu1:~$ sudo vgs
  VG #PV #LV #SN Attr VSize VFree
  ubuntu1 1 0 0 wz--n- 10.00g 10.00g

===============check flag=================
--volume_group=ubuntu1

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Hugo Kou
Solved:
Last query:
Last reply:
Revision history for this message
Everett Toews (everett-toews) said :
#1

You need to update python-eventlet. See https://answers.launchpad.net/nova/+question/146545

Revision history for this message
Hugo Kou (tonytkdk) said :
#2

thanks Everett~

There's something weired

After read the link, I try to check python-eventlet version. it's already the new one 0.9.12 for ubuntu maverick.

at first nova-volume is on same host which is "Maverick server 64" with nova-api and nova-objectstroe .
but while I replaced nova-volume into another host which is "Maverick server 32" this error is resolved .

Revision history for this message
Hugo Kou (tonytkdk) said :
#3

Solved in latest trunk