Skip to content

Instantly share code, notes, and snippets.

View charlottestjohn's full-sized avatar

Charlotte St. John charlottestjohn

View GitHub Profile
@charlottestjohn
charlottestjohn / error.txt
Created June 9, 2016 21:04
error message from running script
Total number of users: None
Traceback (most recent call last):
File "get_teams_info.py", line 279, in <module>
sys.exit(main())
File "get_teams_info.py", line 271, in main
get_users_and_escalation_policies()
File "get_teams_info.py", line 46, in get_users_and_escalation_policies
user_data = get_all_eps(pd_team)
File "get_teams_info.py", line 187, in get_all_eps
users = get_all_users()
---
# Action definition metadata
name: "stuff"
description: "Lock and unlock repos"
pack: packtest
# `runner_type` has value `action-chain` to identify that action is an ActionChain.
runner_type: "action-chain"
# `entry_point` path to the ActionChain definition file, relative to the pack's action directory.
---
# Action definition metadata
name: "stagelock"
description: "Lock and unlock repos"
pack: packtest
# `runner_type` has value `action-chain` to identify that action is an ActionChain.
runner_type: "action-chain"
# `entry_point` path to the ActionChain definition file, relative to the pack's action directory.
+-------------+--------------------------------------------------------------+
| Property | Value |
+-------------+--------------------------------------------------------------+
| id | 5693edd75c8d975f39a3451d |
| name | stagelock |
| pack | packtest |
| description | Lock and unlock repos |
| enabled | True |
| entry_point | chains/stagelock.yaml |
| parameters | { |
+-----------------+--------------------------------------------------------------+
| Property | Value |
+-----------------+--------------------------------------------------------------+
| id | 56956c905c8d97032ce2534b |
| trigger | core.st2.generic.notifytrigger |
| occurrence_time | 2016-01-12T21:13:52.888000Z |
| payload | { |
| | "status": "succeeded", |
| | "start_timestamp": "2016-01-12T21:13:51.172562+00:00", |
| | "route": "hipchat_announce", |
+-----------------+--------------------------------------------------------------+
| Property | Value |
+-----------------+--------------------------------------------------------------+
| id | 56956bc85c8d97032ce25319 |
| trigger | core.st2.generic.actiontrigger |
| occurrence_time | 2016-01-12T21:10:32.210000Z |
| payload | { |
| | "status": "succeeded", |
| | "start_timestamp": "2016-01-12 21:10:30.813292+00:00", |
| | "parameters": { |
---
name: "notify_hipchat_status_room"
pack: "packtest"
description: "Notify specific hipchat room of announcements"
enabled: true
trigger:
type: "core.st2.generic.notifytrigger"
parameters: {}
+-----------------+--------------------------------------------------------------+
| Property | Value |
+-----------------+--------------------------------------------------------------+
| id | 569568095c8d971f0ab4077e |
| action.ref | packtest.stagelock |
| context.user | chatops_bot |
| parameters | { |
| | "action": "unlock", |
| | "repos": "apid" |
| | } |
vagrant@ip-192-168-33-10:~$ st2 execution get 569565315c8d971f0ab40772
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py:791: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
InsecureRequestWarning)
id: 569565315c8d971f0ab40772
action.ref: packtest.stagelock
status: failed
error: /opt/stackstorm/packs/packtest/actions/stagelock_driver:10:in `<main>': aakldsfjakldf (RuntimeError)
traceback: None
---
chain:
-
name: stagelock_driver
ref: core.local
params:
cmd: "/opt/stackstorm/packs/packtest/actions/stagelock_driver"