Page MenuHomePhabricator

Figure out why scap isn't setting vars right on cleartables
Closed, ResolvedPublic

Description

Running scap deploy -v -f -l maps-test2004.codfw.wmnet deploys to maps-test2004, but leaves a config file which references the standard source and style variables, not the ones set for the cleartables environment.

This command runs the remote command `['/usr/bin/scap', 'deploy-local', '-v', '--repo', 'tilerator/deploy', '--force', '-g', 'canary', 'config_deploy', '--refresh-config']`

When @Gehel runs `sudo -u deploy-service /usr/bin/scap deploy-local -D 'log_json:False' --repo kartotherian/deploy --force config_deploy` on the target machine, it works.

Event Timeline

We figured this out - it requires specifying the environment on the scap command line

Vvjjkkii renamed this task from Figure out why scap isn't setting vars right on cleartables to 0dcaaaaaaa.Jul 1 2018, 1:08 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 0dcaaaaaaa to Figure out why scap isn't setting vars right on cleartables.Jul 2 2018, 3:53 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.
Pnorman claimed this task.