Returning Successful Execution of jobs on target minions
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Hi, i am new to salt and i am trying to schedule salt states and find out whether they have successfully been executed on the respective minions or not. I am using schedule.sls to create Jobs, and i am successfully able to run the jobs on the minions during the scheduled time.
However, in the log files on the master, in /var/log/salt/master, there were no logs indicating successful execution of the scheduled job on the minion.I even made sure to include this argument in my scheduled jobs, ' return_job: true'.
On the Master. I want to automatically generate separate directories for each minion containing files of each job scheduled to run on that minion. Each file containing timestamps along with message whenever a job is successfully run on that minion.
Would be great if anyone can guide me on how to do this using salt tools.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Salt's scheduler and job-return documentation for schedule.sls and the return_job: true option, then compare the expected behavior with /var/log/salt/master. Done should clarify whether per-minion job directories and timestamped success files are supported by existing Salt tools or require a separately scoped feature.
Written by the indexing model from the issue text.
Assessment
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100