yugabyte/yugabyte-db

[platform] make the set home directory step idempotent

Open

#9.707 geöffnet am 12. Aug. 2021

Auf GitHub ansehen
 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C (1.003 Forks)batch import
area/platformgood first issue

Repository-Metriken

Stars
 (8.229 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17T 21h) (92 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide