Skip to content

Disable creation of users and database if database is a secondary

Stan Hu requested to merge sh-disable-pg-create-users into master

Geo secondaries would fail to reconfigure with this error:

* postgresql_user[gitlab_replicator] action create
        * execute[create gitlab_replicator postgresql user] action run (skipped due to not_if)
        * execute[set password for gitlab_replicator postgresql user] action run
          [execute] ERROR:  cannot execute ALTER ROLE in a read-only transaction

Closes #2912 (closed)

Edited by GitLab Release Tools Bot

Merge request reports