theforeman / theforeman/foremanctl

Idea: use PgBouncer to handle PostgreSQL connections

Open
#67 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

candlepin foreman postgresql pulp
Dominant language
Python
Stars
27
Forks
47
Avg merge
1d 12h
Merged PRs (30d)
40

Description

If we use PgBouncer then we can separate the logic. Quoting https://www.pgbouncer.org/config.html#authentication-settings

PgBouncer handles its own client authentication and has its own database of users. These settings control this.

What this means is that we can our services (Candlepin, Foreman, Pulp) to connect to PgBouncer with fixed credentials. If you want to switch from a local to a remote database, we only need to reconfigure PgBouncer without touching the individual services.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files, tests, or entry points are named. Start by reviewing the proposed PgBouncer authentication settings and how Candlepin, Foreman, and Pulp currently connect to PostgreSQL; done would require an agreed implementation plan for centralizing those credentials and supporting local or remote databases.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgresql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.