Ask Your Question
0

Unable to install keystone , sqlalchemy operational error

asked 2013-05-13 12:46:09 -0500

anonymous user

Anonymous

I am trying to configure Openstack on my system Ubuntu 12.04 LTS, while installing keystone I am getting an error related to SQLAlchemy as follows:

Preconfiguring packages ... Selecting previously unselected package keystone. (Reading database ... 215275 files and directories currently installed.) Unpacking keystone (from .../keystone2012.2.3+stable-20130206-82c87e56-0ubuntu2~cloud0all.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... Setting up keystone (2012.2.3+stable-20130206-82c87e56-0ubuntu2~cloud0) ...

sqlalchemy.exc.OperationalError: (OperationalError) unable to open database file None None dpkg: error processing keystone (--configure): subprocess installed post-installation script returned error exit status 1 E: Sub-process /usr/bin/dpkg returned an error code (1)

I searched and found out that the path to SQLite should be defined but I'm not sure how to do that. I have already installed Python-MySQLDB and MySQL-server. Kindly provide some pointers on how to resolve this issue.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-02-26 08:37:08 -0500

hi

Sql alchemy only support previous package during installation so do not upgrade your ubuntu OS package...

~parth_hack

edit flag offensive delete link more
0

answered 2013-05-14 13:54:48 -0500

bvivek gravatar image

updated 2013-05-14 13:57:43 -0500

Hi,

Can you run "apt-get update" once and then try the keystone install again?

Also have you configured mysql to accept all incoming requests: sed -i 's/127.0.0.1/0.0.0.0/g' /etc/mysql/my.cnf

~Vivek

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

Stats

Asked: 2013-05-13 12:46:09 -0500

Seen: 662 times

Last updated: May 14 '13