Ask Your Question
0

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

asked 2011-03-31 08:06:22 -0500

tonytkdk gravatar image

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

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2011-04-06 13:37:39 -0500

tonytkdk gravatar image

Solved in latest trunk

edit flag offensive delete link more
0

answered 2011-04-01 02:52:34 -0500

tonytkdk gravatar image

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 .

edit flag offensive delete link more
0

answered 2011-03-31 14:47:19 -0500

everett-toews gravatar image

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

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-03-31 08:06:22 -0500

Seen: 23 times

Last updated: Apr 06 '11