Salt Grain Targeting failing at properly filtering objects

オープン
#236 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
領域
devops

調査の方向性

Start by reproducing salt -G os_family:Debian test.ping with both Debian and Windows minions, then compare the reported grain values and targeting behavior across the default, custom, and osfinger grains mentioned. Done means grain targeting filters minions correctly instead of returning or attempting requests for the wrong operating system.

索引モデルが issue の本文から書いたものです。

説明

Good afternoon since upgrading to 3008.1 we have noticed a missfire in grain targetings of minions.

namely salt -G os_family:Debian will target Debian and Windows minions attached to the same master and vice versa, i have tested with multiple different grains (Default like the os and os_family and osfinger as well as custom ones we set by ourselves, it seems that the filtering is just completely broken this is how the responses look like:

~$ salt -G os_family:Debian test.ping
vm1.some.domain.com:
True
vm2.some.domain.com:
True
vm3.some.domain.com:
True
vm4.some.domain.com:
True
vm5.some.domain.com:
True
vm6.some.domain.com:
True
Machines below are all Windows
vm7.some.domain.com:
Minion did not return. [No response]
The minions may not have all finished running and any remaining minions will return upon completion. To look up the return data for this job later, run the following command:

salt-run jobs.lookup_jid 20260708131754534267

vm8.some.domain.com:
Minion did not return. [No response]
The minions may not have all finished running and any remaining minions will return upon completion. To look up the return data for this job later, run the following command:

salt-run jobs.lookup_jid 20260708131754534267

vm9.some.domain.com:
Minion did not return. [No response]
The minions may not have all finished running and any remaining minions will return upon completion. To look up the return data for this job later, run the following command:

主要言語
言語のデータがありません
スター
36
フォーク
13
平均マージ
2分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

saltstack/community のほかの issue

saltstack/community の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。