postgresql integration needs host option

Bug #1659422 reported by mellotron
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-openstacklib
Won't Fix
Undecided
Unassigned

Bug Description

openstacklib::db::postgresql assumes that the postgresql database is on localhost, while ::mysql allows one to specify a host => option. The puppet-postgresql module has the ability to use a connect_settings variable to work around this issue.

I have PostgreSQL set up in a 3-node HA cluster with a VIP for the master node.

Sadly, I can't use keystone::db::postgresql, etc, as I can't specify these to talk to a VIP and localhost might not be my master when puppet runs.

mellotron (mellotron)
description: updated
Revision history for this message
Takashi Kajinami (kajinamit) wrote :

We are currently using the postgresql::server::db defined resource type from puppet-postgresql but this defined type does not support such host option.

Because the option is not implemented in the underlying library, there is no good way to implement this in our modules.

Maybe you better bring this topic to the puppet-postgresql project first. They might have better idea about the possible solutions.

Changed in puppet-openstacklib:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.