cinder-volume service not starting up

asked 2016-07-19 04:19:44 -0500

San gravatar image

updated 2016-07-19 04:20:33 -0500

I am setting up openstack deployment using ansible scripts 12.0.9. I am not able to bring my storage node up. Deployment completed. cinder-volume service is not starting and no logs.

root@sdc-dev-d-storage1:/openstack/venvs/cinder-12.0.9/bin# service cinder-volume start cinder-volume start/running, process 13728 root@sdc-dev-d-storage1:/openstack/venvs/cinder-12.0.9/bin# service cinder-volume status cinder-volume stop/waiting root@sdc-dev-d-storage1:/openstack/venvs/cinder-12.0.9/bin#

I ran cinder-volume binrary manually and getting following exception

root@sdc-dev-d-storage1:/openstack/venvs/cinder-12.0.9/bin# ./cinder-volume Traceback (most recent call last): File "./cinder-volume", line 7, in <module> from cinder.cmd.volume import main File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/cinder/cmd/", line 36, in <module> from oslo_log import log as logging File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_log/", line 50, in <module> from oslo_log import formatters File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_log/", line 25, in <module> from oslo_serialization import jsonutils File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_serialization/", line 60, in <module> from oslo_utils import timeutils File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_utils/", line 25, in <module> from debtcollector import removals File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/debtcollector/", line 15, in <module> import pbr.version File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/pbr/", line 25, in <module> import pkg_resources File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/pkg_resources/", line 37, in <module> import email.parser File "/usr/lib/python2.7/email/", line 12, in <module> from email.feedparser import FeedParser File "/usr/lib/python2.7/email/", line 27, in <module> from email import message File "/usr/lib/python2.7/email/", line 16, in <module> import email.charset File "/usr/lib/python2.7/email/", line 13, in <module> import email.base64mime File "/usr/lib/python2.7/email/", line 40, in <module> from email.utils import fix_eols File "/usr/lib/python2.7/email/", line 27, in <module> import random File "/usr/lib/python2.7/", line 49, in <module> import hashlib as _hashlib ImportError: No module named hashlib

Can someone help me to resolve this issue ?

edit retag flag offensive close merge delete