2015-08-05 21:54:20.341 1 CRITICAL cinder [-] DBConnectionError: (OperationalError) (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)") None None
2015-08-05 21:54:20.341 1 ERROR cinder Traceback (most recent call last):
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/bin/cinder-volume", line 10, in <module>
2015-08-05 21:54:20.341 1 ERROR cinder sys.exit(main())
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/cmd/volume.py", line 81, in main
2015-08-05 21:54:20.341 1 ERROR cinder server = service.Service.create(binary='cinder-volume')
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/service.py", line 249, in create
2015-08-05 21:54:20.341 1 ERROR cinder service_name=service_name)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/service.py", line 129, in __init__
2015-08-05 21:54:20.341 1 ERROR cinder *args, **kwargs)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 200, in __init__
2015-08-05 21:54:20.341 1 ERROR cinder *args, **kwargs)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/manager.py", line 143, in __init__
2015-08-05 21:54:20.341 1 ERROR cinder super(SchedulerDependentManager, self).__init__(host, db_driver)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/manager.py", line 85, in __init__
2015-08-05 21:54:20.341 1 ERROR cinder super(Manager, self).__init__(db_driver)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/db/base.py", line 42, in __init__
2015-08-05 21:54:20.341 1 ERROR cinder self.db.dispose_engine()
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/db/api.py", line 84, in dispose_engine
2015-08-05 21:54:20.341 1 ERROR cinder if 'sqlite' not in IMPL.get_engine().name:
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/db/sqlalchemy/api.py", line 86, in get_engine
2015-08-05 21:54:20.341 1 ERROR cinder facade = _create_facade_lazily()
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/cinder/db/sqlalchemy/api.py", line 73, in _create_facade_lazily
2015-08-05 21:54:20.341 1 ERROR cinder **dict(CONF.database)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 930, in __init__
2015-08-05 21:54:20.341 1 ERROR cinder slave_connection=slave_connection)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 339, in _start
2015-08-05 21:54:20.341 1 ERROR cinder engine_args, maker_args)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/enginefacade.py", line 355, in _setup_for_connection
2015-08-05 21:54:20.341 1 ERROR cinder sql_connection=sql_connection, **engine_kwargs)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 152, in create_engine
2015-08-05 21:54:20.341 1 ERROR cinder test_conn = _test_connection(engine, max_retries, retry_interval)
2015-08-05 21:54:20.341 1 ERROR cinder File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/engines.py", line 331, in _test_connection
2015-08-05 21:54:20.341 1 ERROR cinder six.reraise(type(de_ref), de_ref)
2015-08-05 21:54:20.341 1 ERROR cinder File "<string>", line 2, in reraise
2015-08-05 21:54:20.341 1 ERROR cinder DBConnectionError: (OperationalError) (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)") None None
2015-08-05 21:54:20.341 1 ERROR cinder
INFO - This container has already been configured; Refusing to copy new configs
No handlers could be found for logger "oslo_config.cfg"
This was using the ansible-cinder patch. It's possible that was the cause of it.