agilestacks / git-service

Git Service over SSH and HTTP, backed by Git CLI. API and authn / authz callouts.
Other
0 stars 0 forks source link

404 error on stack instance #17

Closed akranga closed 5 years ago

akranga commented 5 years ago

Steps to reproduce:

  1. login to stage using user from ASI org
  2. navigate to the stack instance (https://controlplane.stage.agilestacks.io/#/stack-instances/view/34)
  3. See the error described in attachment

Logs are saying the following:Screenshot 2019-04-22 at 17.18.42.png

api-7574dfc59-kq4vs proxy 2019-04-22T16:15:14.389Z - jusiggug - info: HTTP <<< GET /hub/api/v1/templates/13/git/status?ref=refs/heads/master
automation-hub-5f79bb859-vgzbr api 2019-04-22T16:15:14.412Z - req-jusij87c - debug: HTTP Request <<< GET /api/v1/templates/13/git/status?ref=refs/heads/master
git-844dfb8474-dlrhk git-service 2019/04/22 16:15:14 HTTP <<< GET /api/v1/repositories/asi/pipelinez-13/status?ref=refs%2Fheads%2Fmaster
automation-hub-5f79bb859-vgzbr api 2019-04-22T16:15:14.426Z - app-default - error: Unable to retrieve Git repository status: 404 HTTP:
git-844dfb8474-dlrhk git-service 2019/04/22 16:15:14 HTTP === 404
api-7574dfc59-kq4vs automation-hub-5f79bb859-vgzbr api 2019-04-22T16:15:14.433Z - req-jusij87c - error: Error
proxy 2019-04-22T16:15:14.434Z - jusiggk5 - info: HTTP >>> 404 Not Found
automation-hub-5f79bb859-vgzbr api {
automation-hub-5f79bb859-vgzbr api   error: [Error: Unable to retrieve Git repository status] {
automation-hub-5f79bb859-vgzbr api       at Object.status (/app/src/integrations/git.js:133:19)
automation-hub-5f79bb859-vgzbr api       at process._tickCallback (internal/process/next_tick.js:68:7)
automation-hub-5f79bb859-vgzbr api     status: 404,
automation-hub-5f79bb859-vgzbr api     meta: {},
automation-hub-5f79bb859-vgzbr api     source: null
automation-hub-5f79bb859-vgzbr api   },
automation-hub-5f79bb859-vgzbr api   stack: [
automation-hub-5f79bb859-vgzbr api     'Error: Unable to retrieve Git repository status',
automation-hub-5f79bb859-vgzbr api     '    at Object.status (/app/src/integrations/git.js:133:19)',
automation-hub-5f79bb859-vgzbr api     '    at process._tickCallback (internal/process/next_tick.js:68:7)'
automation-hub-5f79bb859-vgzbr api   ]
automation-hub-5f79bb859-vgzbr api }
automation-hub-5f79bb859-vgzbr api 2019-04-22T16:15:14.434Z - req-jusij87c - debug: HTTP Response >>> 404
eLco commented 5 years ago

The issue was connected to staging redeployment.