Page MenuHomePhabricator

Scap required manual 'git update-server-info' on first run
Closed, DeclinedPublic

Description

I was installing a new service that will be deployed via scap, just adding the config in Puppet hiera ( https://gerrit.wikimedia.org/r/#/c/436070/ ). At that point also after running puppet on tin, the deploy and/or the puppet runs on the target hosts was failing because unable to download the repository from tin, although the repository was already there and ready.

What was needed to fix it (thanks @thcipriani for the help!) was to run git update-server-info inside the repository on tin, and also in its git submodule, given that the repo has a git submodule.

According to @thcipriani scap should take care of this and the manual intervention should not be needed, hence opening this ticket.

This is the reported error:

17:56:58 deploy-local failed: <ErrorReturnCode_128>

  RAN: /usr/bin/git clone --jobs 1 http://tin.eqiad.wmnet/debmonitor/deploy/.git /srv/deployment/debmonitor/deploy-cache/cache

  STDOUT:


  STDERR:
Cloning into '/srv/deployment/debmonitor/deploy-cache/cache'...
fatal: repository 'http://tin.eqiad.wmnet/debmonitor/deploy/.git/' not found

Event Timeline

Vvjjkkii renamed this task from Scap required manual 'git update-server-info' on first run to lxbaaaaaaa.Jul 1 2018, 1:06 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from lxbaaaaaaa to Scap required manual 'git update-server-info' on first run.Jul 2 2018, 3:21 AM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
dancy subscribed.

Closing due to age.