BCDevOps/platform-services-status-page-notifications

Status Page isn't updating

stewartshea opened this issue · 1 comments

Captured the following error when the webhook tries to kick off the status page update for notificaitons:


[webhook] 2019/10/07 18:09:43 [b40352] executing /opt/update_notifications.sh (/opt/update_notifications.sh) with arguments ["/opt/update_notifications.sh" "https://github.com/BCDevOps/platform-services-status-page-notifications " "" "19" "" ""] and environment [] using /opt as cwd
--
  | [webhook] 2019/10/07 18:09:51 [b40352] command output: From https://github.com/BCDevOps/platform-services
  | 79e0706..4e6c354  master     -> origin/master
  | df01781..f1ffd2a  cailey-hubot -> origin/cailey-hubot
  | * [new branch]      feature/devdocs -> origin/feature/devdocs
  | Updating 79e0706..4e6c354
  | Fast-forward
  | apps/documize/Dockerfile                           \|  23 +
  | apps/documize/entrypoint.sh                        \|   2 +
  | apps/hubot/README.md                               \|   8 +-
  | apps/hubot/prod.env                                \|   2 +-
  | apps/hubot/scripts/greeting.coffee                 \|   6 +-
  | apps/hubot/yarn.lock                               \| 812 ---------------------
  | .../ansible/tasks/monitor_policy_creation.yml      \|   2 +-
  | security/aporeto/readme.md                         \|   1 +
  | 8 files changed, 32 insertions(+), 824 deletions(-)
  | create mode 100644 apps/documize/Dockerfile
  | create mode 100644 apps/documize/entrypoint.sh
  | delete mode 100644 apps/hubot/yarn.lock
  | [WARNING]: Unable to parse /opt/platform-services/apps/statuspage/ansible/prod
  | as an inventory source
  | [WARNING]: No inventory was parsed, only implicit localhost is available
  | [WARNING]: provided hosts list is empty, only localhost is available. Note
  | that the implicit localhost does not match 'all'
  |  
  | PLAY [localhost] ***************************************************************
  |  
  | TASK [python_requirements_facts] ***********************************************
  | ok: [localhost]
  |  
  | TASK [include_tasks] ***********************************************************
  | included: /opt/platform-services/apps/statuspage/ansible/tasks/set_env.yml for localhost
  |  
  | TASK [set_fact] ****************************************************************
  | skipping: [localhost]
  |  
  | TASK [set_fact] ****************************************************************
  | skipping: [localhost]
  |  
  | TASK [set_fact] ****************************************************************
  | skipping: [localhost]
  |  
  | TASK [set_fact] ****************************************************************
  | fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'route'\n\nThe error appears to have been in '/opt/platform-services/apps/statuspage/ansible/tasks/set_env.yml': line 11, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  when:  env  == 'tools'\n- set_fact:\n  ^ here\n"}
  | to retry, use: --limit @/opt/platform-services/apps/statuspage/ansible/statuspage.retry
  |  
  | PLAY RECAP *********************************************************************
  | localhost                  : ok=2    changed=0    unreachable=0    failed=1


this one didn't actually post the full merge commit... hrm.