Issue #6973
closedCluster Install: Ensure database initialization is run only on one node
Description
I am running a cluster install with pulp/pulp_installer
. This is the following snippet of interest
Inventory:
[pulp]
pulp01
pulp02
pulp03
playbook
---
- hosts: pulp
roles:
- pulp_database
Current run create failures when running the migrations because it tries to run it on the different nodes, while it works fine on the first node it reaches it fails on the other 2 because unique constraint is violated.
Added by spredzy over 4 years ago
Added by spredzy over 4 years ago
Revision 01cb5c16 | View on GitHub
cluster: Allow installer to finish with no failures
Currently running the installer in cluster setup will trigger 2 errors becauee it tries to run the db migration more than one time.
The following commit ensures that db migration are just run once from the pool of node selected.
fixes #6973
Updated by pulpbot over 4 years ago
- Status changed from NEW to POST
Updated by spredzy over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|01cb5c1624d3541342379fd7fb30c788e7671b35.
Updated by spredzy over 4 years ago
Applied in changeset ansible-pulp3|01cb5c1624d3541342379fd7fb30c788e7671b35.
Updated by fao89 over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
cluster: Allow installer to finish with no failures
Currently running the installer in cluster setup will trigger 2 errors becauee it tries to run the db migration more than one time.
The following commit ensures that db migration are just run once from the pool of node selected.
fixes #6973