https://bugzilla.wikimedia.org/show_bug.cgi?id=60068

       Web browser: ---
            Bug ID: 60068
           Summary: UnboundLocalError: local variable 'status' referenced
                    before assignment
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: git-deploy
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: o...@wikimedia.org
                CC: g...@wikimedia.org, has...@free.fr, rlan...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

err:
/Stage[main]/Role::Logstash/Deployment::Target[elasticsearchplugins]/Exec[deployment_target_deploy_all]:
Failed to call refresh: salt-call deploy.sync_all returned 1 instead of one of
[0] at /etc/puppet/modules/deployment/manifests/target.pp:35
notice: Finished catalog run in 57.37 seconds


root@logstash1003:~# salt-call deploy.sync_all
[ERROR   ] An un-handled exception was caught by salt's global exception
handler:
UnboundLocalError: local variable 'status' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/salt-call", line 11, in <module>
    salt_call()
  File "/usr/lib/pymodules/python2.7/salt/scripts.py", line 77, in salt_call
    client.run()
  File "/usr/lib/pymodules/python2.7/salt/cli/__init__.py", line 303, in run
    caller.run()
  File "/usr/lib/pymodules/python2.7/salt/cli/caller.py", line 135, in run
    ret = self.call()
  File "/usr/lib/pymodules/python2.7/salt/cli/caller.py", line 78, in call
    ret['return'] = func(*args, **kwargs)
  File "/var/cache/salt/minion/extmods/modules/deploy.py", line 154, in
sync_all
    stats[repo]["deploy.checkout"] = __salt__['deploy.checkout'](repo)
  File "/var/cache/salt/minion/extmods/modules/deploy.py", line 347, in
checkout
    return {'status': status, 'repo': repo, 'dependencies': depstats}
UnboundLocalError: local variable 'status' referenced before assignment
Traceback (most recent call last):
  File "/usr/bin/salt-call", line 11, in <module>
    salt_call()
  File "/usr/lib/pymodules/python2.7/salt/scripts.py", line 77, in salt_call
    client.run()
  File "/usr/lib/pymodules/python2.7/salt/cli/__init__.py", line 303, in run
    caller.run()
  File "/usr/lib/pymodules/python2.7/salt/cli/caller.py", line 135, in run
    ret = self.call()
  File "/usr/lib/pymodules/python2.7/salt/cli/caller.py", line 78, in call
    ret['return'] = func(*args, **kwargs)
  File "/var/cache/salt/minion/extmods/modules/deploy.py", line 154, in
sync_all
    stats[repo]["deploy.checkout"] = __salt__['deploy.checkout'](repo)
  File "/var/cache/salt/minion/extmods/modules/deploy.py", line 347, in
checkout
    return {'status': status, 'repo': repo, 'dependencies': depstats}
UnboundLocalError: local variable 'status' referenced before assignment

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to