Skip to content

Instantly share code, notes, and snippets.

Created August 15, 2017 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/321b5aafcb88e0ff262365529e41f924 to your computer and use it in GitHub Desktop.
Save anonymous/321b5aafcb88e0ff262365529e41f924 to your computer and use it in GitHub Desktop.
"return": {"data": {...}} section not returned in lookup_jid or jobs cache return.p file
Snippet of `salt-run state.event pretty=True` after running orchestration
salt/run/20170815183641906294/ret {
"_stamp": "2017-08-15T18:37:06.055661",
"fun": "runner.state.orchestrate",
"fun_args": [
"orchestration.elasticsearch5",
{
"orchestration_jid": "20170815183641906294",
"pillar": {
"deployment_id": "fd1a4025-9783-427b-b51b-e5a4e602ab20",
"role": "elasticsearch5"
}
}
],
"jid": "20170815183641906294",
"return": {
"data": {
"salt-master.<domain>.com_master": {
"salt_|-deploy_elasticsearch5_|-deploy_elasticsearch5_|-state": {
"__id__": "deploy_elasticsearch5",
"__run_num__": 0,
"changes": {},
"comment": "States ran successfully.",
"duration": 15217.43,
"name": "deploy_elasticsearch5",
"result": true,
"start_time": "18:36:50.835291"
}
}
},
"outputter": "highstate",
"retcode": 0
},
"success": true,
"user": "sudo_<user>"
}
salt-run jobs.lookup_jid 20170815183641906294
salt-master<domain>.com_master:
----------
_stamp:
2017-08-15T18:37:06.055661
fun:
runner.state.orchestrate
fun_args:
- orchestration.elasticsearch5
|_
----------
orchestration_jid:
20170815183641906294
pillar:
----------
deployment_id:
fd1a4025-9783-427b-b51b-e5a4e602ab20
role:
elasticsearch5
jid:
20170815183641906294
return:
----------
outputter:
highstate
retcode:
0
success:
True
user:
sudo_<user>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment