Skip to content

Instantly share code, notes, and snippets.

@HugoKuo
Created March 31, 2014 09:20
Show Gist options
  • Save HugoKuo/9888554 to your computer and use it in GitHub Desktop.
Save HugoKuo/9888554 to your computer and use it in GitHub Desktop.
ssman=> select id,state,args_json,state_data from app_workjob where id=48854;
id | state | args_json | state_data
-------+------------------+----------------------+-----------------------------------------------------------------------------------------------------------
48854 | COMPLETED_FAILED | {"cluster_id": 2284} | 1396250962.091366 INFO Pushing new versions +
| | | 1396250962.291359 ERROR push_config failed +
| | | Traceback (most recent call last): +
| | | File "/deploy/ssman/current/ssman/app/tasks.py", line 96, in push_config +
| | | success = nodecontrol.push_config(cluster) +
| | | File "/deploy/ssman/current/ssman/app/nodecontrol.py", line 480, in push_config +
| | | cluster.save() +
| | | File "/deploy/ssman/current/ssman/app/models/cluster.py", line 145, in save +
| | | save_proxy_middleware(self, ware) +
| | | File "/deploy/ssman/current/ssman/app/domain/proxy_middleware.py", line 140, in save_proxy_middleware +
| | | configs = _load_middleware_config(cluster, middleware.__class__) +
| | | File "/deploy/ssman/current/ssman/app/domain/proxy_middleware.py", line 121, in _load_middleware_config+
| | | raise KeyError("> 1 middleware instance found for this cluster!") +
| | | KeyError: '> 1 middleware instance found for this cluster!'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment