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/volume.py", 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/log.py", line 50, in <module> from oslo_log import formatters File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_log/formatters.py", line 25, in <module> from oslo_serialization import jsonutils File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_serialization/jsonutils.py", line 60, in <module> from oslo_utils import timeutils File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/oslo_utils/timeutils.py", line 25, in <module> from debtcollector import removals File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/debtcollector/__init__.py", line 15, in <module> import pbr.version File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/pbr/version.py", line 25, in <module> import pkg_resources File "/openstack/venvs/cinder-12.0.9/lib/python2.7/site-packages/pkg_resources/__init__.py", line 37, in <module> import email.parser File "/usr/lib/python2.7/email/parser.py", line 12, in <module> from email.feedparser import FeedParser File "/usr/lib/python2.7/email/feedparser.py", line 27, in <module> from email import message File "/usr/lib/python2.7/email/message.py", line 16, in <module> import email.charset File "/usr/lib/python2.7/email/charset.py", line 13, in <module> import email.base64mime File "/usr/lib/python2.7/email/base64mime.py", line 40, in <module> from email.utils import fix_eols File "/usr/lib/python2.7/email/utils.py", line 27, in <module> import random File "/usr/lib/python2.7/random.py", 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