willingc

boto-aws-error

Jun 16th, 2015
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.57 KB | None | 0 0
  1. $ docker-compose up
  2. Recreating warehouse_db_1...
  3. Recreating warehouse_redis_1...
  4. Recreating warehouse_camo_1...
  5. Recreating warehouse_web_1...
  6. Attaching to warehouse_db_1, warehouse_redis_1, warehouse_camo_1, warehouse_web_1
  7. db_1 | LOG: database system was shut down at 2015-06-16 15:58:30 UTC
  8. db_1 | LOG: database system is ready to accept connections
  9. db_1 | LOG: autovacuum launcher started
  10. redis_1 | 1:C 16 Jun 16:16:11.243 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
  11. camo_1 | SSL-Proxy running on 9000 with pid:1 version:2.3.0.
  12. redis_1 | _._
  13. redis_1 | _.-``__ ''-._
  14. redis_1 | _.-`` `. `_. ''-._ Redis 3.0.1 (00000000/0) 64 bit
  15. redis_1 | .-`` .-```. ```\/ _.,_ ''-._
  16. redis_1 | ( ' , .-` | `, ) Running in standalone mode
  17. redis_1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
  18. redis_1 | | `-._ `._ / _.-' | PID: 1
  19. redis_1 | `-._ `-._ `-./ _.-' _.-'
  20. redis_1 | |`-._`-._ `-.__.-' _.-'_.-'|
  21. redis_1 | | `-._`-._ _.-'_.-' | http://redis.io
  22. redis_1 | `-._ `-._`-.__.-'_.-' _.-'
  23. redis_1 | |`-._`-._ `-.__.-' _.-'_.-'|
  24. redis_1 | | `-._`-._ _.-'_.-' |
  25. redis_1 | `-._ `-._`-.__.-'_.-' _.-'
  26. redis_1 | `-._ `-.__.-' _.-'
  27. redis_1 | `-._ _.-'
  28. redis_1 | `-.__.-'
  29. redis_1 |
  30. redis_1 | 1:M 16 Jun 16:16:11.245 # Server started, Redis version 3.0.1
  31. redis_1 | 1:M 16 Jun 16:16:11.245 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
  32. redis_1 | 1:M 16 Jun 16:16:11.246 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
  33. redis_1 | 1:M 16 Jun 16:16:11.246 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
  34. redis_1 | 1:M 16 Jun 16:16:11.246 * DB loaded from disk: 0.000 seconds
  35. redis_1 | 1:M 16 Jun 16:16:11.246 * The server is now ready to accept connections on port 6379
  36. web_1 | [2015-06-16 16:16:15 +0000] [1] [INFO] Starting gunicorn 19.3.0
  37. web_1 | [2015-06-16 16:16:15 +0000] [1] [INFO] Listening at: http://0.0.0.0:8000 (1)
  38. web_1 | [2015-06-16 16:16:15 +0000] [1] [INFO] Using worker: sync
  39. web_1 | [2015-06-16 16:16:15 +0000] [9] [INFO] Booting worker with pid: 9
  40. web_1 | [2015-06-16 16:16:16 +0000] [9] [ERROR] Exception in worker process:
  41. web_1 | Traceback (most recent call last):
  42. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/path.py", line 380, in _zope_dottedname_style
  43. web_1 | found = getattr(found, n)
  44. web_1 | AttributeError: 'module' object has no attribute 'aws'
  45. web_1 |
  46. web_1 | During handling of the above exception, another exception occurred:
  47. web_1 |
  48. web_1 | Traceback (most recent call last):
  49. web_1 | File "/usr/local/lib/python3.4/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker
  50. web_1 | worker.init_process()
  51. web_1 | File "/usr/local/lib/python3.4/site-packages/gunicorn/workers/base.py", line 118, in init_process
  52. web_1 | self.wsgi = self.app.wsgi()
  53. web_1 | File "/usr/local/lib/python3.4/site-packages/gunicorn/app/base.py", line 67, in wsgi
  54. web_1 | self.callable = self.load()
  55. web_1 | File "/app/warehouse/cli/serve.py", line 41, in load
  56. web_1 | return self.configurator.make_wsgi_app()
  57. web_1 | File "/app/warehouse/cli/__init__.py", line 33, in __getattr__
  58. web_1 | self.__config = configure(*self.__args, **self.__kwargs)
  59. web_1 | File "/app/warehouse/config.py", line 114, in configure
  60. web_1 | config.include(".aws")
  61. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/config/__init__.py", line 769, in include
  62. web_1 | c = self.maybe_dotted(callable)
  63. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/config/__init__.py", line 869, in maybe_dotted
  64. web_1 | return self.name_resolver.maybe_resolve(dotted)
  65. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/path.py", line 320, in maybe_resolve
  66. web_1 | return self._resolve(dotted, package)
  67. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/path.py", line 327, in _resolve
  68. web_1 | return self._zope_dottedname_style(dotted, package)
  69. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/path.py", line 382, in _zope_dottedname_style
  70. web_1 | __import__(used)
  71. web_1 | File "/app/warehouse/aws.py", line 13, in <module>
  72. web_1 | import boto3.session
  73. web_1 | ImportError: No module named 'boto3'
  74. web_1 | Traceback (most recent call last):
  75. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/path.py", line 380, in _zope_dottedname_style
  76. web_1 | found = getattr(found, n)
  77. web_1 | AttributeError: 'module' object has no attribute 'aws'
  78. web_1 |
  79. web_1 | During handling of the above exception, another exception occurred:
  80. web_1 |
  81. web_1 | Traceback (most recent call last):
  82. web_1 | File "/usr/local/lib/python3.4/site-packages/gunicorn/arbiter.py", line 507, in spawn_worker
  83. web_1 | worker.init_process()
  84. web_1 | File "/usr/local/lib/python3.4/site-packages/gunicorn/workers/base.py", line 118, in init_process
  85. web_1 | self.wsgi = self.app.wsgi()
  86. web_1 | File "/usr/local/lib/python3.4/site-packages/gunicorn/app/base.py", line 67, in wsgi
  87. web_1 | self.callable = self.load()
  88. web_1 | File "/app/warehouse/cli/serve.py", line 41, in load
  89. web_1 | return self.configurator.make_wsgi_app()
  90. web_1 | File "/app/warehouse/cli/__init__.py", line 33, in __getattr__
  91. web_1 | self.__config = configure(*self.__args, **self.__kwargs)
  92. web_1 | File "/app/warehouse/config.py", line 114, in configure
  93. web_1 | config.include(".aws")
  94. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/config/__init__.py", line 769, in include
  95. web_1 | c = self.maybe_dotted(callable)
  96. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/config/__init__.py", line 869, in maybe_dotted
  97. web_1 | return self.name_resolver.maybe_resolve(dotted)
  98. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/path.py", line 320, in maybe_resolve
  99. web_1 | return self._resolve(dotted, package)
  100. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/path.py", line 327, in _resolve
  101. web_1 | return self._zope_dottedname_style(dotted, package)
  102. web_1 | File "/usr/local/lib/python3.4/site-packages/pyramid/path.py", line 382, in _zope_dottedname_style
  103. web_1 | __import__(used)
  104. web_1 | File "/app/warehouse/aws.py", line 13, in <module>
  105. web_1 | import boto3.session
  106. web_1 | ImportError: No module named 'boto3'
  107. web_1 | [2015-06-16 16:16:16 +0000] [9] [INFO] Worker exiting (pid: 9)
  108. web_1 | [2015-06-16 16:16:17 +0000] [1] [INFO] Shutting down: Master
  109. web_1 | [2015-06-16 16:16:17 +0000] [1] [INFO] Reason: Worker failed to boot.
  110. warehouse_web_1 exited with code 3
  111. Gracefully stopping... (press Ctrl+C again to force)
  112. Stopping warehouse_camo_1...
  113. Stopping warehouse_redis_1...
  114. Stopping warehouse_db_1...
Advertisement
Add Comment
Please, Sign In to add comment