Ask Your Question
0

puppet-openstack-integration switching to postgresql

asked 2017-02-18 22:23:43 -0500

minimike gravatar image

updated 2017-03-16 13:52:58 -0500

rbowen gravatar image

Hi

I've cloned via git puppet-openstack-integration... I've found that MySQL would be choosed by installing OpenStack using Puppet. So to use and switch to my favorated database I have to rewrite all files a little bit and define a postgresql.pp instead mysql. I gues that would be not very much work and sounds easy. The only thing what I don't know is to describe postgresql instead mysql

as an example...

database_connection => 'mysql+pymysql://nova:nova@127.0.0.1/nova?charset=utf8',

what I've to write instead mysql+pymysql for postgresql?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-03-20 03:56:22 -0500

minimike gravatar image

I have found the solution. postgresql+psycopg2://nova:nova@127.0.0.1/nova or just simple without psycop2

But i got a lot of failed inserts and selects they flood my postgresql.log It seems like postgresql would be unsupportet now. No offense. But I get database errors with keystone, glance, neutron (all the most) and nova. Then I've stopped to install and switched to Percona.

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: 2017-02-18 22:23:43 -0500

Seen: 59 times

Last updated: Mar 20