cinder-volume ÆÐÅ°Áö ¼³Ä¡ÈÄ µ¥¸ó ¿Ã¸®´ÂÁß ¹ß»ý ¿¡·¯
# tail -f cinder-volume.log
2015-04-21 18:20:47.476 19373 INFO cinder.openstack.common.service [-] Child 27872 exited with status 0
2015-04-21 18:20:47.479 19373 INFO cinder.openstack.common.service [-] Started child 27904
2015-04-21 18:20:47.484 27904 INFO cinder.service [-] Starting cinder-volume node (version 2014.2.2)
2015-04-21 18:20:47.487 27904 INFO cinder.volume.manager [req-e1336304-c0bd-4d35-8934-9d62b577652e - - - - -] Starting volume driver LVMISCSIDriver (2.0.0)
2015-04-21 18:20:48.165 27904 ERROR cinder.openstack.common.threadgroup [-] No module named MySQLdb
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup Traceback (most recent call last):
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/threadgroup.py", line 143, in wait
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup x.wait()
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/threadgroup.py", line 47, in wait
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup return self.thread.wait()
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup return self._exit_event.wait()
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup return hubs.get_hub().switch()
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup return self.greenlet.switch()
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup result = function(*args, **kwargs)
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/service.py", line 500, in run_service
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup service.start()
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/service.py", line 141, in start
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup self.manager.init_host()
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup return f(*args, **kwargs)
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 261, in init_host
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup volumes = self.db.volume_get_all_by_host(ctxt, self.host)
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/db/api.py", line 222, in volume_get_all_by_host
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup return IMPL.volume_get_all_by_host(context, host)
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 154, in wrapper
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup return f(*args, **kwargs)
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 1268, in volume_get_all_by_host
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup session = get_session()
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 85, in get_session
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup facade = _create_facade_lazily()
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/api.py", line 67, in _create_facade_lazily
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup **dict(CONF.database.iteritems())
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/db/sqlalchemy/session.py", line 711, in __init__
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup **engine_kwargs)
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/oslo/db/sqlalchemy/session.py", line 378, in create_engine
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup engine = sqlalchemy.create_engine(url, **engine_args)
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/__init__.py", line 346, in create_engine
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup return strategy.create(*args, **kwargs)
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/strategies.py", line 74, in create
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup dbapi = dialect_cls.dbapi(**dbapi_args)
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/sqlalchemy/connectors/mysqldb.py", line 64, in dbapi
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup return __import__('MySQLdb')
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup ImportError: No module named MySQLdb
2015-04-21 18:20:48.165 27904 TRACE cinder.openstack.common.threadgroup
2015-04-21 18:20:48.175 19373 INFO cinder.openstack.common.service [-] Child 27904 exited with status 0
ÇØ°á)
# apt-get install python-mysqldb