Project

General

Profile

Actions

action #158913

closed

Fix salt warning observed on petrol "State for file: /etc/fstab - Neither 'source' nor 'contents' nor 'contents_pillar' nor 'contents_grains' was defined, yet 'replace' was set to 'True'"

Added by okurz 8 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Start date:
2024-04-12
Due date:
% Done:

0%

Estimated time:

Description

Observation

Apr 12 14:25:09 petrol salt-minion[63100]: [WARNING ] State for file: /etc/fstab - Neither 'source' nor 'contents' nor 'contents_pillar' nor 'contents_grains' was defined, yet 'replace' was set to 'True'. As there is no source to replace the file with, 'replace' has been set to 'False' to avoid reading the file unnecessarily.
Actions #1

Updated by mkittler 8 months ago

  • Status changed from New to In Progress
  • Assignee set to mkittler
Actions #2

Updated by mkittler 8 months ago

  • Status changed from In Progress to Feedback

This warning is showing up on all workers (also x86_64 workers).

MR: https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/1153

Actions #3

Updated by mkittler 8 months ago

  • Status changed from Feedback to Resolved

The MR was merged and the warning no longer occurs on petrol (where I manually re-applied the states).

Actions

Also available in: Atom PDF