salt icon indicating copy to clipboard operation
salt copied to clipboard

Salt 2014.7.0 - No 'Minions' field when using Redis master_job_cache

Open trevor-h opened this issue 11 years ago • 7 comments

I noticed a useful new feature in 2014.7.0 (don't think it was there earlier) where for a JID there was a 'Minions' list populated with all hosts expected to reply based on the compound match target. This is great for comparing if a job is actually done VS looking done and a very welcome feature!

Unfortunately I've noticed when testing master_job_cache = redis there is no 'Minions' field when doing a jobs.print_job like there is with the local disk cache. My assumption here is that the same data is available to populate the Redis key for the job, and it slipped through the cracks perhaps?

As it stands I'm stuck between a lesser overhead, more flexible data store VS being able to evaluate jobs with the same granularity. I want my cake and to eat it too :) Is that a known issue?

Thanks!

trevor-h avatar Jan 27 '15 17:01 trevor-h

Adding versions report for completeness:

           Salt: 2014.7.0
         Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
         Jinja2: 2.7.3
       M2Crypto: 0.20.2
 msgpack-python: 0.1.13
   msgpack-pure: Not Installed
       pycrypto: 2.0.1
        libnacl: Not Installed
         PyYAML: 3.10
          ioflo: Not Installed
          PyZMQ: 14.3.1
           RAET: Not Installed
            ZMQ: 3.2.4
           Mako: Not Installed

trevor-h avatar Jan 27 '15 17:01 trevor-h

@trevor-h, will you check to make sure Minions is missing from the redis master_job_cache on 2014.7.1 as well? Thanks.

jfindlay avatar Jan 27 '15 19:01 jfindlay

I can confirm also missing from 2014.7.1 find_job responses.

trevor-h avatar Jan 27 '15 20:01 trevor-h

@trevor-h - is this still an issue on the latest version of salt you are using?

Updating severity and priority in case this is still an issue.

ssgward avatar May 19 '15 20:05 ssgward

@ssgward -I still see the issue present on 2014.7.6. I'm testing out transitioning to 2015.5 in the next week and as part of those tests I'll check this there as well.

trevor-h avatar May 23 '15 14:05 trevor-h

I can confirm this is also an issue on 2015.5.1.

trevor-h avatar May 26 '15 15:05 trevor-h

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

stale[bot] avatar Nov 10 '17 20:11 stale[bot]