Open xzenor opened 3 years ago
Can you edit the title please: [BUG] Minions data missing from MySQL job cache
Possible duplicate of #61222?
Possible duplicate of #61222?
Doesn't seem like it. I just confirmed that the result with redis is the same as with mysql. No list of minions.
Description The json output of list_job with local jobcache is different than a mysql jobcache.
Setup Very basic setup with CentOS 8 Stream
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior Just run jobs.list_job [ID] with local and with mysql output to see the difference.
This is the output with local jobcache
# salt-run jobs.list_job 20211116131018012776 --out=json
This is the output with mysql jobcache
$ salt-run jobs.list_job 20211116114342060929 --out=json
While the MySQL one provides a lot more output in the Result section, it is completely missing the minions section.
Expected behavior At least the sections in the json output should be the same. This breaks scripts and 3rd party software that depends on the json sections.
Screenshots Console output already provided in the steps to reproduce behavior.
Versions Report
Minion versions are the same. One is same centos 8 version as the master, the other is centos 7. The master is a minion as well.
Additional context Discovered this while trying to get SaltGUI working on salt with MySQL jobcache. Figured it was a bug in SaltGUI but it turns out Salt gives 2 different kinds of results.
If it's of any use, here's the bugreport for SaltGUI: https://github.com/erwindon/SaltGUI/issues/399