Ansible tower workflow

Hi

I am trying to follow the example given in the ansible tower workflow where using set_stats we can pass variable of previous playbook to new playbook. However i am getting the error in second playbook that the variable is not defined. My workflow template is correct as first job runs successfully.

What could be the reason or what all things I need to check.

Thanks,
Vinod

Hypothesis: Memcache is getting full and evicting entries.

Connect to memcache. From the Tower box: nc <memcache_container_name> 11211 then type stats and hit enter. You should see something like the below.

STAT pid 1
STAT uptime 34621
STAT time 1515457648
STAT version 1.5.3
STAT libevent 2.1.8-stable
STAT pointer_size 64
STAT rusage_user 12.180000
STAT rusage_system 18.340000
STAT max_connections 1024
STAT curr_connections 13
STAT total_connections 2588
STAT rejected_connections 0
STAT connection_structures 24
STAT reserved_fds 20
STAT cmd_get 7012
STAT cmd_set 6677
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 6407
STAT get_misses 605
STAT get_expired 2171
STAT get_flushed 0
STAT delete_misses 1
STAT delete_hits 30
STAT incr_misses 0
STAT incr_hits 0
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 874964
STAT bytes_written 845262
STAT limit_maxbytes 67108864
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT time_in_listen_disabled_us 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT slab_reassign_rescues 0
STAT slab_reassign_chunk_rescues 0
STAT slab_reassign_evictions_nomem 0
STAT slab_reassign_inline_reclaim 0
STAT slab_reassign_busy_items 0
STAT slab_reassign_busy_deletes 0
STAT slab_reassign_running 0
STAT slabs_moved 0
STAT lru_crawler_running 0
STAT lru_crawler_starts 8727
STAT lru_maintainer_juggles 346593
STAT malloc_fails 0
STAT log_worker_dropped 0
STAT log_worker_written 0
STAT log_watcher_skipped 0
STAT log_watcher_sent 0
STAT bytes 273587
STAT curr_items 147
STAT total_items 6677
STAT slab_global_page_pool 0
STAT expired_unfetched 2394
STAT evicted_unfetched 0
STAT evicted_active 0
STAT evictions 0
STAT reclaimed 2473
STAT crawler_reclaimed 766
STAT crawler_items_checked 2558
STAT lrutail_reflocked 564
STAT moves_to_cold 7251
STAT moves_to_warm 1871
STAT moves_within_lru 524
STAT direct_reclaims 0
STAT lru_bumps_dropped 0
END

We are interested in the evictions

STAT evicted_unfetched 0
STAT evicted_active 0
STAT evictions 0

If the hypothesis is correct, there will be evictions.