Ask Your Question
0

Caught CRITICAL keystone [-] ImportError: No module named psycopg2

asked 2014-04-23 23:31:29 -0500

ikhan gravatar image

updated 2014-04-23 23:36:25 -0500

Hi All,

With latest Icehouse release if the user is trying to use postgresql instead of mysql following error is thrown while configuring Keystone.

CRITICAL keystone [-] ImportError: No module named psycopg2

Installing postgresql-lib is not helping here, what is the corrective action to be taken and cant we include this package in the prerequisites?

Thanks

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-04-23 23:38:20 -0500

ikhan gravatar image

This was resolved by installing following packages.

yum install python-devel
yum install python-psycopg2

Is there any specific reason this lib is not included in installation prerequisites?

edit flag offensive delete link more
1

answered 2014-04-26 13:08:31 -0500

SGPJ gravatar image

in ubuntu it is python-dev then psycopg2 sudo apt-get install python-dev

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: 2014-04-23 23:31:29 -0500

Seen: 1,057 times

Last updated: Apr 26 '14