Created
November 20, 2014 03:08
-
-
Save tduffield/dbb5695355c730330ca0 to your computer and use it in GitHub Desktop.
docker registry run output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dd33ec8955dd:/docker-api# docker run --privileged -p 5000:5000 registry | |
2014-11-20 01:14:04 [1] [INFO] Starting gunicorn 19.1.0 | |
2014-11-20 01:14:04 [1] [INFO] Listening at: http://0.0.0.0:5000 (1) | |
2014-11-20 01:14:04 [1] [INFO] Using worker: gevent | |
2014-11-20 01:14:04 [13] [INFO] Booting worker with pid: 13 | |
2014-11-20 01:14:04 [14] [INFO] Booting worker with pid: 14 | |
2014-11-20 01:14:04 [15] [INFO] Booting worker with pid: 15 | |
2014-11-20 01:14:04 [22] [INFO] Booting worker with pid: 22 | |
2014-11-20 01:14:04 [1] [INFO] 4 workers | |
20/Nov/2014:01:14:04 +0000 WARNING: Cache storage disabled! | |
20/Nov/2014:01:14:04 +0000 WARNING: Cache storage disabled! | |
20/Nov/2014:01:14:04 +0000 WARNING: Cache storage disabled! | |
20/Nov/2014:01:14:04 +0000 WARNING: LRU cache disabled! | |
20/Nov/2014:01:14:04 +0000 WARNING: LRU cache disabled! | |
20/Nov/2014:01:14:04 +0000 WARNING: LRU cache disabled! | |
20/Nov/2014:01:14:04 +0000 DEBUG: Will return docker-registry.drivers.file.Storage | |
20/Nov/2014:01:14:04 +0000 DEBUG: Will return docker-registry.drivers.file.Storage | |
20/Nov/2014:01:14:04 +0000 DEBUG: Will return docker-registry.drivers.file.Storage | |
20/Nov/2014:01:14:04 +0000 WARNING: Cache storage disabled! | |
20/Nov/2014:01:14:04 +0000 WARNING: LRU cache disabled! | |
20/Nov/2014:01:14:04 +0000 DEBUG: Will return docker-registry.drivers.file.Storage | |
2014-11-20 01:14:04 [13] [ERROR] Exception in worker process: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker | |
worker.init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process | |
super(GeventWorker, self).init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process | |
self.wsgi = self.app.wsgi() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi | |
self.callable = self.load() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load | |
return self.load_wsgiapp() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp | |
return util.import_app(self.app_uri) | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app | |
__import__(module) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 27, in <module> | |
from .search import * # noqa | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/search.py", line 14, in <module> | |
INDEX = index.load(cfg.search_backend.lower()) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/__init__.py", line 82, in load | |
return db.SQLAlchemyIndex() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 61, in __init__ | |
self._setup_database() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 76, in _setup_database | |
self._generate_index(session=session) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 81, in _generate_index | |
Base.metadata.create_all(self._engine) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 3291, in create_all | |
tables=tables) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1547, in _run_visitor | |
conn._run_visitor(visitorcallable, element, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1194, in _run_visitor | |
**kwargs).traverse_single(element) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 709, in visit_metadata | |
self.traverse_single(table, create_ok=True) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 728, in visit_table | |
self.connection.execute(CreateTable(table)) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 720, in execute | |
return meth(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 67, in _execute_on_connection | |
return connection._execute_ddl(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 774, in _execute_ddl | |
compiled | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 947, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1108, in _handle_dbapi_exception | |
exc_info | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 185, in raise_from_cause | |
reraise(type(exception), exception, tb=exc_tb) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 940, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 435, in do_execute | |
cursor.execute(statement, parameters) | |
OperationalError: (OperationalError) table version already exists u'\nCREATE TABLE version (\n\tid INTEGER NOT NULL, \n\tPRIMARY KEY (id)\n)\n\n' () | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker | |
worker.init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process | |
super(GeventWorker, self).init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process | |
self.wsgi = self.app.wsgi() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi | |
self.callable = self.load() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load | |
return self.load_wsgiapp() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp | |
return util.import_app(self.app_uri) | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app | |
__import__(module) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 27, in <module> | |
from .search import * # noqa | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/search.py", line 14, in <module> | |
INDEX = index.load(cfg.search_backend.lower()) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/__init__.py", line 82, in load | |
return db.SQLAlchemyIndex() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 61, in __init__ | |
self._setup_database() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 76, in _setup_database | |
self._generate_index(session=session) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 81, in _generate_index | |
Base.metadata.create_all(self._engine) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 3291, in create_all | |
tables=tables) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1547, in _run_visitor | |
conn._run_visitor(visitorcallable, element, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1194, in _run_visitor | |
**kwargs).traverse_single(element) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 709, in visit_metadata | |
self.traverse_single(table, create_ok=True) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 728, in visit_table | |
self.connection.execute(CreateTable(table)) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 720, in execute | |
return meth(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 67, in _execute_on_connection | |
return connection._execute_ddl(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 774, in _execute_ddl | |
compiled | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 947, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1108, in _handle_dbapi_exception | |
exc_info | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 185, in raise_from_cause | |
reraise(type(exception), exception, tb=exc_tb) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 940, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 435, in do_execute | |
cursor.execute(statement, parameters) | |
OperationalError: (OperationalError) table version already exists u'\nCREATE TABLE version (\n\tid INTEGER NOT NULL, \n\tPRIMARY KEY (id)\n)\n\n' () | |
2014-11-20 01:14:04 [13] [INFO] Worker exiting (pid: 13) | |
2014-11-20 01:14:04 [22] [ERROR] Exception in worker process: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker | |
worker.init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process | |
super(GeventWorker, self).init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process | |
self.wsgi = self.app.wsgi() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi | |
self.callable = self.load() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load | |
return self.load_wsgiapp() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp | |
return util.import_app(self.app_uri) | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app | |
__import__(module) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 27, in <module> | |
from .search import * # noqa | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/search.py", line 14, in <module> | |
INDEX = index.load(cfg.search_backend.lower()) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/__init__.py", line 82, in load | |
return db.SQLAlchemyIndex() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 61, in __init__ | |
self._setup_database() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 76, in _setup_database | |
self._generate_index(session=session) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 81, in _generate_index | |
Base.metadata.create_all(self._engine) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 3291, in create_all | |
tables=tables) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1547, in _run_visitor | |
conn._run_visitor(visitorcallable, element, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1194, in _run_visitor | |
**kwargs).traverse_single(element) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 709, in visit_metadata | |
self.traverse_single(table, create_ok=True) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 728, in visit_table | |
self.connection.execute(CreateTable(table)) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 720, in execute | |
return meth(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 67, in _execute_on_connection | |
return connection._execute_ddl(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 774, in _execute_ddl | |
compiled | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 947, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1108, in _handle_dbapi_exception | |
exc_info | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 185, in raise_from_cause | |
reraise(type(exception), exception, tb=exc_tb) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 940, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 435, in do_execute | |
cursor.execute(statement, parameters) | |
OperationalError: (OperationalError) table version already exists u'\nCREATE TABLE version (\n\tid INTEGER NOT NULL, \n\tPRIMARY KEY (id)\n)\n\n' () | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker | |
worker.init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process | |
super(GeventWorker, self).init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process | |
self.wsgi = self.app.wsgi() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi | |
self.callable = self.load() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load | |
return self.load_wsgiapp() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp | |
return util.import_app(self.app_uri) | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app | |
__import__(module) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 27, in <module> | |
from .search import * # noqa | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/search.py", line 14, in <module> | |
INDEX = index.load(cfg.search_backend.lower()) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/__init__.py", line 82, in load | |
return db.SQLAlchemyIndex() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 61, in __init__ | |
self._setup_database() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 76, in _setup_database | |
self._generate_index(session=session) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 81, in _generate_index | |
Base.metadata.create_all(self._engine) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 3291, in create_all | |
tables=tables) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1547, in _run_visitor | |
conn._run_visitor(visitorcallable, element, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1194, in _run_visitor | |
**kwargs).traverse_single(element) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 709, in visit_metadata | |
self.traverse_single(table, create_ok=True) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 728, in visit_table | |
self.connection.execute(CreateTable(table)) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 720, in execute | |
return meth(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 67, in _execute_on_connection | |
return connection._execute_ddl(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 774, in _execute_ddl | |
compiled | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 947, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1108, in _handle_dbapi_exception | |
exc_info | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 185, in raise_from_cause | |
reraise(type(exception), exception, tb=exc_tb) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 940, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 435, in do_execute | |
cursor.execute(statement, parameters) | |
OperationalError: (OperationalError) table version already exists u'\nCREATE TABLE version (\n\tid INTEGER NOT NULL, \n\tPRIMARY KEY (id)\n)\n\n' () | |
2014-11-20 01:14:04 [22] [INFO] Worker exiting (pid: 22) | |
2014-11-20 01:14:04 [14] [ERROR] Exception in worker process: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker | |
worker.init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process | |
super(GeventWorker, self).init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process | |
self.wsgi = self.app.wsgi() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi | |
self.callable = self.load() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load | |
return self.load_wsgiapp() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp | |
return util.import_app(self.app_uri) | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app | |
__import__(module) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 27, in <module> | |
from .search import * # noqa | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/search.py", line 14, in <module> | |
INDEX = index.load(cfg.search_backend.lower()) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/__init__.py", line 82, in load | |
return db.SQLAlchemyIndex() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 61, in __init__ | |
self._setup_database() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 76, in _setup_database | |
self._generate_index(session=session) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 81, in _generate_index | |
Base.metadata.create_all(self._engine) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 3291, in create_all | |
tables=tables) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1547, in _run_visitor | |
conn._run_visitor(visitorcallable, element, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1194, in _run_visitor | |
**kwargs).traverse_single(element) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 709, in visit_metadata | |
self.traverse_single(table, create_ok=True) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 728, in visit_table | |
self.connection.execute(CreateTable(table)) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 720, in execute | |
return meth(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 67, in _execute_on_connection | |
return connection._execute_ddl(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 774, in _execute_ddl | |
compiled | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 947, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1108, in _handle_dbapi_exception | |
exc_info | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 185, in raise_from_cause | |
reraise(type(exception), exception, tb=exc_tb) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 940, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 435, in do_execute | |
cursor.execute(statement, parameters) | |
OperationalError: (OperationalError) table version already exists u'\nCREATE TABLE version (\n\tid INTEGER NOT NULL, \n\tPRIMARY KEY (id)\n)\n\n' () | |
Traceback (most recent call last): | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 507, in spawn_worker | |
worker.init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/ggevent.py", line 193, in init_process | |
super(GeventWorker, self).init_process() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process | |
self.wsgi = self.app.wsgi() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi | |
self.callable = self.load() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load | |
return self.load_wsgiapp() | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp | |
return util.import_app(self.app_uri) | |
File "/usr/local/lib/python2.7/dist-packages/gunicorn/util.py", line 356, in import_app | |
__import__(module) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/wsgi.py", line 27, in <module> | |
from .search import * # noqa | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/search.py", line 14, in <module> | |
INDEX = index.load(cfg.search_backend.lower()) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/__init__.py", line 82, in load | |
return db.SQLAlchemyIndex() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 61, in __init__ | |
self._setup_database() | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 76, in _setup_database | |
self._generate_index(session=session) | |
File "/usr/local/lib/python2.7/dist-packages/docker_registry/lib/index/db.py", line 81, in _generate_index | |
Base.metadata.create_all(self._engine) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/schema.py", line 3291, in create_all | |
tables=tables) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1547, in _run_visitor | |
conn._run_visitor(visitorcallable, element, **kwargs) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1194, in _run_visitor | |
**kwargs).traverse_single(element) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 709, in visit_metadata | |
self.traverse_single(table, create_ok=True) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", line 119, in traverse_single | |
return meth(obj, **kw) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 728, in visit_table | |
self.connection.execute(CreateTable(table)) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 720, in execute | |
return meth(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 67, in _execute_on_connection | |
return connection._execute_ddl(self, multiparams, params) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 774, in _execute_ddl | |
compiled | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 947, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1108, in _handle_dbapi_exception | |
exc_info | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 185, in raise_from_cause | |
reraise(type(exception), exception, tb=exc_tb) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 940, in _execute_context | |
context) | |
File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 435, in do_execute | |
cursor.execute(statement, parameters) | |
OperationalError: (OperationalError) table version already exists u'\nCREATE TABLE version (\n\tid INTEGER NOT NULL, \n\tPRIMARY KEY (id)\n)\n\n' () | |
2014-11-20 01:14:04 [14] [INFO] Worker exiting (pid: 14) | |
2014-11-20 01:14:05 [15] [INFO] Worker exiting (pid: 15) | |
2014-11-20 01:14:05 [1] [INFO] Shutting down: Master | |
2014-11-20 01:14:05 [1] [INFO] Reason: Worker failed to boot. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment