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)
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.
| Reporter | ||
Updated•10 years ago
|
Summary: [ReMo][Dev][Stage] Error when pushing using chief → [ReMo][Dev][Stage] Error when pushing code changes using chief
| Assignee | ||
Updated•10 years ago
|
Assignee: server-ops-webops → cliang
| Assignee | ||
Comment 2•10 years ago
|
||
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.
| Reporter | ||
Comment 3•10 years ago
|
||
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.
| Reporter | ||
Comment 4•10 years ago
|
||
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
Updated•9 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•