Ask Your Question
0

No module found pymysql in cinder.log

asked 2016-01-06 18:59:03 -0600

guilly08 gravatar image

Hi,

I'm running liberty on Ubuntu 14.04 and just finished configuring my storage node for cinder. When I attempt to start the cinder-volume service lvm crashes. Here's the stack trace I see in the cinder.log file.

 2016-01-06 19:55:41.423 10803 INFO cinder.volume.manager [req-ad77e8b2-d5a3-4782-a959-3f6b82150f70 - - - - -] Starting volume driver LVMVolumeDriver (2.0.0)
**2016-01-06 19:55:41.836 10803 ERROR cinder.openstack.common.threadgroup [-] No module named pymysql**
2016-01-06 19:55:41.836 10803 TRACE cinder.openstack.common.threadgroup Traceback (most recent call last):
2016-01-06 19:55:41.836 10803 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/threadgroup.py", line 125, in wait

I'm a little confused why it's complaining it can't import the pymysql module. I've confirmed that's it's installed so not sure what the issue is here ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-07 15:54:12 -0600

guilly08 gravatar image

I was able to fix the issue by first installing the mysql-client and then installing the pymysql module using pip

apt-get install mysql-client
pip install pymysql
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-06 18:57:55 -0600

Seen: 406 times

Last updated: Jan 07 '16