Bug ID: 62862
           Summary: scap not reporting rsync failures
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Deployment systems
       Web browser: ---
   Mobile Platform: ---

During the 1.23wmf18 deploy and again today scap failed to update servers in
row D of eqiad. Neither time did the scap UI report the failures. Running
sync-common manually on one of the failing hosts reveals that it is correctly
reporting the error:

bd808@mw1202:~$ sync-common mw1010.eqiad.wmnet mw1070.eqiad.wmnet
00:20:39 DEBUG    - Copying to mw1202.eqiad.wmnet from mw1010.eqiad.wmnet
00:20:39 DEBUG    - Started rsync common
@ERROR: access denied to common from mw1202.eqiad.wmnet (
rsync error: error starting client-server protocol (code 5) at main.c(1534)
00:20:39 INFO     - Finished rsync common (duration: 00m 00s)
00:20:39 DEBUG    - Unhandled error:
Traceback (most recent call last):
  File "/srv/scap/scap/", line 201, in run
    exit_status = app.main(extra_args)
  File "/srv/scap/scap/", line 70, in main
    tasks.sync_common(self.config, self.arguments.servers)
  File "/srv/scap/scap/", line 167, in sync_common
  File "/usr/lib/python2.7/", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '('sudo', '-u', 'mwdeploy', '/usr/bin/rsync', '-a',
'--delete-delay', '--delay-updates', '--compress', '--delete',
n/lock', '--exclude=**/.git/objects', '--exclude=**/.git/**/objects',
=**/cache/l10n/*.cdb', '--no-perms', 'mw1010.eqiad.wmnet::common',
pache/common-local')' returned non-zero exit status 5
00:20:39 ERROR    - sync-common failed: <CalledProcessError> Command '('sudo',
-u', 'mwdeploy', '/usr/bin/rsync', '-a', '--delete-delay', '--delay-updates',
-compress', '--delete', '--exclude=**/.svn/lock', '--exclude=**/.git/objects',
--exclude=**/.git/**/objects', '--exclude=**/cache/l10n/*.cdb', '--no-perms',
w1010.eqiad.wmnet::common', '/usr/local/apache/common-local')' returned
 exit status 5

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to