Project

General

Profile

Actions

action #175851

closed

coordination #161414: [epic] Improved salt based infrastructure management

Prevent re-evaluation of "stop_and_disable_all_not_configured_workers" state on every run size:S

Added by okurz about 1 month ago. Updated 28 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Start date:
2025-01-20
Due date:
% Done:

0%

Estimated time:

Description

Observation

On salt --state-output=changes -C "G@roles:worker" state.apply the state "stop_and_disable_all_not_configured_workers" is always executed and listed as changed. For proper idempotent evaluation the state shouldn't be evaluated.

Acceptance criteria

  • AC1: Running state.apply on multiple OSD hosts repeatedly shows no changed states

Acceptance tests

  • AT1-1: Run ssh openqa.suse.de "sudo nice env runs=30 count-fail-ratio salt --state-output=changes -C '*' state.apply queue=True | grep -v 'Result.*Clean" and look for "Succeeded: $big_number" without "(changed=1)"

Suggestions

Actions

Also available in: Atom PDF