Salt Grain Targeting failing at properly filtering objects

Abierto
#236 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Tranquilo
Área
devops

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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:

Lenguaje dominante
Sin datos de lenguaje
Estrellas
36
Forks
13
Merge medio
2 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de saltstack/community

Todos los issues de saltstack/community

Issues similares

Más issues de DevOps

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.