Created
June 22, 2018 18:35
-
-
Save namachieli/0035a0783e38024571c76c06f8bf9757 to your computer and use it in GitHub Desktop.
packs.install output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": "failed", | |
"start_timestamp": "2018-06-22T18:30:03.907223Z", | |
"log": [ | |
{ | |
"status": "requested", | |
"timestamp": "2018-06-22T18:30:03.925000Z" | |
}, | |
{ | |
"status": "scheduled", | |
"timestamp": "2018-06-22T18:30:04.000000Z" | |
}, | |
{ | |
"status": "running", | |
"timestamp": "2018-06-22T18:30:04.084000Z" | |
}, | |
{ | |
"status": "failed", | |
"timestamp": "2018-06-22T18:30:24.988000Z" | |
} | |
+ 184 more lines | |
{ | |
"status": "failed", | |
"start_timestamp": "2018-06-22T18:30:03.907223Z", | |
"log": [ | |
{ | |
"status": "requested", | |
"timestamp": "2018-06-22T18:30:03.925000Z" | |
}, | |
{ | |
"status": "scheduled", | |
"timestamp": "2018-06-22T18:30:04.000000Z" | |
}, | |
{ | |
"status": "running", | |
"timestamp": "2018-06-22T18:30:04.084000Z" | |
}, | |
{ | |
"status": "failed", | |
"timestamp": "2018-06-22T18:30:24.988000Z" | |
} | |
], | |
"parameters": { | |
"python3": false, | |
"packs": [ | |
"infoblox" | |
] | |
}, | |
"runner": { | |
"runner_module": "action_chain_runner", | |
"uid": "runner_type:action-chain", | |
"runner_package": "action_chain_runner", | |
"enabled": true, | |
"name": "action-chain", | |
"runner_parameters": { | |
"display_published": { | |
"default": true, | |
"type": "boolean", | |
"description": "Intermediate published variables will be stored and displayed.", | |
"_name": "display_published" | |
}, | |
"skip_notify": { | |
"default": [], | |
"type": "array", | |
"description": "List of tasks to skip notifications for.", | |
"_name": "skip_notify" | |
} | |
}, | |
"id": "5b22e3806c52e92288498c97", | |
"description": "A runner for launching linear action chains." | |
}, | |
"id": "5b2d402b6c52e96780a56932", | |
"elapsed_seconds": 21.059918, | |
"web_url": "https://ip-10-176-162-81/#/history/5b2d402b6c52e96780a56932/general", | |
"result": { | |
"tasks": [ | |
{ | |
"liveaction_id": "5b2d402c6c52e954a6782ec8", | |
"workflow": null, | |
"created_at": "2018-06-22T18:30:04.172641+00:00", | |
"updated_at": "2018-06-22T18:30:10.364669+00:00", | |
"state": "succeeded", | |
"result": { | |
"exit_code": 0, | |
"result": { | |
"infoblox": "Success." | |
}, | |
"stderr": "st2.actions.python.DownloadGitRepoAction: DEBUG Moving pack from /root/bea5d29bc1af22c60b800ac53513c65d to /opt/stackstorm/packs/.\n", | |
"stdout": "" | |
}, | |
"id": "download pack", | |
"execution_id": "5b2d402c6c52e954a6782ec9", | |
"name": "download pack" | |
}, | |
{ | |
"liveaction_id": "5b2d40326c52e954a6782eca", | |
"workflow": null, | |
"created_at": "2018-06-22T18:30:10.377787+00:00", | |
"updated_at": "2018-06-22T18:30:11.547500+00:00", | |
"state": "succeeded", | |
"result": { | |
"exit_code": 0, | |
"result": [ | |
"infoblox" | |
], | |
"stderr": "", | |
"stdout": "" | |
}, | |
"id": "make a prerun", | |
"execution_id": "5b2d40326c52e954a6782ecb", | |
"name": "make a prerun" | |
}, | |
{ | |
"liveaction_id": "5b2d40336c52e954a6782ecc", | |
"workflow": null, | |
"created_at": "2018-06-22T18:30:11.558889+00:00", | |
"updated_at": "2018-06-22T18:30:21.767674+00:00", | |
"state": "succeeded", | |
"result": { | |
"exit_code": 0, | |
"result": "Successfuly set up virtualenv for the following packs: infoblox", | |
"stderr": "st2.actions.python.SetupVirtualEnvironmentAction: DEBUG Setting up virtualenv for pack \"infoblox\" (/opt/stackstorm/packs/infoblox)\nst2.actions.python.SetupVirtualEnvironmentAction: INFO Virtualenv path \"/opt/stackstorm/virtualenvs/infoblox\" doesn't exist\nst2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv for pack \"infoblox\" in \"/opt/stackstorm/virtualenvs/infoblox\"\nst2.actions.python.SetupVirtualEnvironmentAction: DEBUG Creating virtualenv in \"/opt/stackstorm/virtualenvs/infoblox\" using Python binary \"/opt/stackstorm/st2/bin/python\"\nst2.actions.python.SetupVirtualEnvironmentAction: DEBUG Running command \"/opt/stackstorm/st2/bin/virtualenv -p /opt/stackstorm/st2/bin/python --always-copy --no-download /opt/stackstorm/virtualenvs/infoblox\" to create virtualenv.\nst2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing base requirements\nst2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirement six>=1.9.0,<2.0 with command /opt/stackstorm/virtualenvs/infoblox/bin/pip install six>=1.9.0,<2.0.\nst2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing pack specific requirements from \"/opt/stackstorm/packs/infoblox/requirements.txt\"\nst2.actions.python.SetupVirtualEnvironmentAction: DEBUG Installing requirements from file /opt/stackstorm/packs/infoblox/requirements.txt with command /opt/stackstorm/virtualenvs/infoblox/bin/pip install -U -r /opt/stackstorm/packs/infoblox/requirements.txt.\nst2.actions.python.SetupVirtualEnvironmentAction: DEBUG Virtualenv for pack \"infoblox\" successfully created in \"/opt/stackstorm/virtualenvs/infoblox\"\n", | |
"stdout": "" | |
}, | |
"id": "install pack dependencies", | |
"execution_id": "5b2d40336c52e954a6782ecd", | |
"name": "install pack dependencies" | |
}, | |
{ | |
"liveaction_id": "5b2d403d6c52e954a6782ece", | |
"workflow": null, | |
"created_at": "2018-06-22T18:30:21.780044+00:00", | |
"updated_at": "2018-06-22T18:30:24.952017+00:00", | |
"state": "failed", | |
"result": { | |
"exit_code": 1, | |
"result": "None", | |
"stderr": "st2.actions.python.St2RegisterAction: DEBUG Calling client method \"register\" with kwargs \"{'types': [u'all'], 'packs': [u'infoblox']}\"\nTraceback (most recent call last):\n File \"/opt/stackstorm/runners/python_runner/python_runner/python_action_wrapper.py\", line 320, in <module>\n obj.run()\n File \"/opt/stackstorm/runners/python_runner/python_runner/python_action_wrapper.py\", line 179, in run\n output = action.run(**self._parameters)\n File \"/opt/stackstorm/packs/packs/actions/pack_mgmt/register.py\", line 81, in run\n format_func=format_result)\n File \"/opt/stackstorm/packs/packs/actions/pack_mgmt/register.py\", line 149, in _run_client_method\n result = method(**method_kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2client/models/core.py\", line 40, in decorate\n return func(*args, **kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2client/models/core.py\", line 530, in register\n response = self.client.post(url, payload, **kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2client/utils/httpclient.py\", line 33, in decorate\n return func(*args, **kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2client/utils/httpclient.py\", line 51, in decorate\n return func(*args, **kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2client/utils/httpclient.py\", line 61, in decorate\n return func(*args, **kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/st2client/utils/httpclient.py\", line 96, in post\n response = requests.post(self.root + url, json.dumps(data), **kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/requests/api.py\", line 112, in post\n return request('post', url, data=data, json=json, **kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/requests/api.py\", line 58, in request\n return session.request(method=method, url=url, **kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/requests/sessions.py\", line 518, in request\n resp = self.send(prep, **send_kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/requests/sessions.py\", line 639, in send\n r = adapter.send(request, **kwargs)\n File \"/opt/stackstorm/st2/lib/python2.7/site-packages/requests/adapters.py\", line 512, in send\n raise SSLError(e, request=request)\nrequests.exceptions.SSLError: (\"bad handshake: SysCallError(-1, 'Unexpected EOF')\",)\n", | |
"stdout": "" | |
}, | |
"id": "register pack", | |
"execution_id": "5b2d403d6c52e954a6782ecf", | |
"name": "register pack" | |
} | |
], | |
"published": {} | |
}, | |
"context": { | |
"user": "iprice", | |
"pack": "packs" | |
}, | |
"action": { | |
"runner_type": "action-chain", | |
"name": "install", | |
"parameters": { | |
"register": { | |
"default": "all", | |
"type": "string", | |
"description": "Possible options are all, sensors, actions, rules, aliases, runners, triggers, rule_types, policiy_types, policies, configs.", | |
"_name": "register" | |
}, | |
"force": { | |
"default": false, | |
"required": false, | |
"type": "boolean", | |
"description": "Set to True to force install the pack and skip StackStorm version compatibility check and also delete and ignore lock file if one exists.", | |
"_name": "force" | |
}, | |
"python3": { | |
"default": false, | |
"required": false, | |
"type": "boolean", | |
"description": "Use Python 3 binary when creating a virtualenv for this pack.", | |
"_name": "python3" | |
}, | |
"env": { | |
"required": false, | |
"type": "object", | |
"description": "Optional environment variables.", | |
"_name": "env" | |
}, | |
"packs": { | |
"items": { | |
"type": "string" | |
}, | |
"required": true, | |
"type": "array", | |
"description": "Name of the pack in Exchange or a git repo URL.", | |
"_name": "packs" | |
} | |
}, | |
"tags": [], | |
"enabled": true, | |
"entry_point": "workflows/install.yaml", | |
"notify": {}, | |
"uid": "action:packs:install", | |
"pack": "packs", | |
"ref": "packs.install", | |
"id": "5b22e3826c52e92288498cce", | |
"description": "Installs or upgrades a pack into local content repository, either by git URL or a short name matching an index entry. Will download pack, load the actions, sensors and rules from the pack. Note that install requires reboot of some st2 services." | |
}, | |
"liveaction": { | |
"runner_info": { | |
"hostname": "ip-10-176-162-81", | |
"pid": 21670 | |
}, | |
"parameters": { | |
"python3": false, | |
"packs": [ | |
"infoblox" | |
] | |
}, | |
"action_is_workflow": true, | |
"callback": {}, | |
"action": "packs.install", | |
"id": "5b2d402b6c52e96780a56931" | |
}, | |
"children": [ | |
"5b2d402c6c52e954a6782ec9", | |
"5b2d40326c52e954a6782ecb", | |
"5b2d40336c52e954a6782ecd", | |
"5b2d403d6c52e954a6782ecf" | |
], | |
"end_timestamp": "2018-06-22T18:30:24.967141Z" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment