ceph / ceph/ceph-salt

Do we really need ceph-salt grains?

Open
#435 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
36
Forks
20
PR merge metrics
No merged PRs in 30d

Description

(Relying on the pillar is more secure because only the master node can set it)

For ceph-salt minions targetting, we can use pillar:

```
salt -I ceph-salt:minions state.apply
```

instead of grain:

```
salt -G ceph-salt:member state.apply
```

So, apart from `ceph-salt:execution` grains that are set during execution for orchestration, do we really need any other `ceph-salt` grains?

(AFAIK, Suse Manager doesn't support grains)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by auditing where ceph-salt grains are defined and consumed, comparing those uses with pillar-based targeting. Check the Salt commands shown in the issue and distinguish execution-time grains from other grains. Done means documenting which grains are still required and identifying the affected configuration or targeting changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops, infrastructure
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.