yugabyte/yugabyte-db

[platform] make the set home directory step idempotent

Open

#9,707 创建于 2021年8月12日

在 GitHub 查看
 (2 评论) (0 反应) (1 负责人)C (1,003 fork)batch import
area/platformgood first issue

仓库指标

Star
 (8,229 star)
PR 合并指标
 (平均合并 17天 21小时) (30 天内合并 92 个 PR)

描述

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.

贡献者指南