yugabyte/yugabyte-db

[platform] make the set home directory step idempotent

Open

#9707 aperta il 12 ago 2021

Vedi su GitHub
 (2 commenti) (0 reazioni) (1 assegnatario)C (1003 fork)batch import
area/platformgood first issue

Metriche repository

Star
 (8229 star)
Metriche merge PR
 (Merge medio 17g 21h) (92 PR mergiate in 30 g)

Descrizione

We have a step in ansible today that tries to make sure the home directory is owned by its owner. However, this step checks to see if the user exists first, and if the user exists, it'll skip this step.

We should change this to just checking if the home directory is owned by its owner, if not, go ahead and make it so.

This would reduce the number of errors or intermittent results that we are currently getting when nodes are reused.

Guida contributor