Closed Bug 1150477 Opened 10 years ago Closed 10 years ago

[ReMo][Dev][Stage] Error when pushing code changes using chief

Categories

(Infrastructure & Operations Graveyard :: WebOps: Engagement, task)

x86_64
Linux
task
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nemo-yiannis, Assigned: cliang)

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/880] )

We are getting an error when trying to push on stage (reps.allizom.org) with chief. Logs show that there are is a problem with a lock file used by git. [localhost] err: [localhost] err: fatal: Unable to create '/data/genericrhel6-stage/www/.git/index.lock': File exists. [localhost] err: [localhost] err: [localhost] err: [localhost] err: If no other git process is currently running, this probably means a [localhost] err: [localhost] err: git process crashed in this repository earlier. Make sure no other git [localhost] err: [localhost] err: process is running and remove the file manually to continue. [localhost] err: [localhost] err: fatal: Unable to create '/data/genericrhel6-stage/www/.git/index.lock': File exists. [localhost] err: [localhost] err: [localhost] err: [localhost] err: If no other git process is currently running, this probably means a [localhost] err: [localhost] err: git process crashed in this repository earlier. Make sure no other git [localhost] err: [localhost] err: process is running and remove the file manually to continue. The same happens in our dev deployment (reps-dev.allizom.org) as well.
Summary: [ReMo][Dev][Stage] Error when pushing using chief → [ReMo][Dev][Stage] Error when pushing code changes using chief
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/880]
We need this for pushing a hotfix asap.
Severity: normal → critical
Assignee: server-ops-webops → cliang
It looks like the lock file in stage was left behind as a result of git issues with the generic cluster yesterday. I've removed that lock file. Please let me know if you still can not push to stage. Can you cut and paste a copy of the error that you are getting when pushing to dev? The error that you are getting with stage comes during the deploy process. I am able to deploy reps-dev.allizom.org so I'm wondering if you are encountering a different problem.
We don't manually push on dev. There is a cron job that updates our deployment. The error is similar (I got this from the chief history in reps.dev) [localhost] err: [localhost] err: fatal: Unable to create '/data/genericrhel6-dev/www/.git/index.lock': File exists. [localhost] err: [localhost] err: [localhost] err: [localhost] err: If no other git process is currently running, this probably means a [localhost] err: [localhost] err: git process crashed in this repository earlier. Make sure no other git [localhost] err: [localhost] err: process is running and remove the file manually to continue. [localhost] err: [localhost] err: fatal: Unable to create '/data/genericrhel6-dev/www/.git/index.lock': File exists. [localhost] err: [localhost] err: [localhost] err: [localhost] err: If no other git process is currently running, this probably means a [localhost] err: [localhost] err: git process crashed in this repository earlier. Make sure no other git [localhost] err: [localhost] err: process is running and remove the file manually to continue.
I pushed on stage and it works fine. Also dev seems to get updated as expected. Marking this one as fixed. Thank you :)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.