Skip to content

Instantly share code, notes, and snippets.

@Bind
Created January 13, 2015 22:29
Show Gist options
  • Save Bind/688d96e23558c4a5e871 to your computer and use it in GitHub Desktop.
Save Bind/688d96e23558c4a5e871 to your computer and use it in GitHub Desktop.
(fintech)➜ fintech git:(feature/elasticsearch) ✗ fig up
Recreating fintech_search_1...
Recreating fintech_cache_1...
Recreating fintech_db_1...
Recreating fintech_web_1...
Attaching to fintech_search_1, fintech_cache_1, fintech_db_1, fintech_web_1
search_1 | [2015-01-13 22:00:28,226][INFO ][node ] [Farallah] version[1.4.1], pid[1], build[89d3241/2014-11-26T15:49:29Z]
search_1 | [2015-01-13 22:00:28,226][INFO ][node ] [Farallah] initializing ...
search_1 | [2015-01-13 22:00:28,232][INFO ][plugins ] [Farallah] loaded [], sites []
search_1 | [2015-01-13 22:00:32,021][INFO ][node ] [Farallah] initialized
search_1 | [2015-01-13 22:00:32,024][INFO ][node ] [Farallah] starting ...
search_1 | [2015-01-13 22:00:32,156][INFO ][transport ] [Farallah] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/172.17.1.0:9300]}
search_1 | [2015-01-13 22:00:32,176][INFO ][discovery ] [Farallah] elasticsearch/H5syTlLeRseu8kzqsBM40A
db_1 | LOG: database system was shut down at 2015-01-13 22:00:19 UTC
db_1 | LOG: database system is ready to accept connections
db_1 | LOG: autovacuum launcher started
cache_1 | [1] 13 Jan 22:00:28.792 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
cache_1 | _._
cache_1 | _.-``__ ''-._
cache_1 | _.-`` `. `_. ''-._ Redis 2.8.19 (00000000/0) 64 bit
cache_1 | .-`` .-```. ```\/ _.,_ ''-._
cache_1 | ( ' , .-` | `, ) Running in stand alone mode
cache_1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379
cache_1 | | `-._ `._ / _.-' | PID: 1
cache_1 | `-._ `-._ `-./ _.-' _.-'
cache_1 | |`-._`-._ `-.__.-' _.-'_.-'|
cache_1 | | `-._`-._ _.-'_.-' | http://redis.io
cache_1 | `-._ `-._`-.__.-'_.-' _.-'
cache_1 | |`-._`-._ `-.__.-' _.-'_.-'|
cache_1 | | `-._`-._ _.-'_.-' |
cache_1 | `-._ `-._`-.__.-'_.-' _.-'
cache_1 | `-._ `-.__.-' _.-'
cache_1 | `-._ _.-'
cache_1 | `-.__.-'
cache_1 |
cache_1 | [1] 13 Jan 22:00:28.794 # Server started, Redis version 2.8.19
cache_1 | [1] 13 Jan 22:00:28.794 # 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.
cache_1 | [1] 13 Jan 22:00:28.794 # 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.
cache_1 | [1] 13 Jan 22:00:28.794 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
cache_1 | [1] 13 Jan 22:00:28.795 * DB loaded from disk: 0.000 seconds
cache_1 | [1] 13 Jan 22:00:28.795 * The server is now ready to accept connections on port 6379
search_1 | [2015-01-13 22:00:35,324][INFO ][cluster.service ] [Farallah] detected_master [Baron Von Blitzschlag][3rHHjtcgSgKe_f22wSMXRg][a8f1b402e8f9][inet[/172.17.0.10:9300]], added {[Baron Von Blitzschlag][3rHHjtcgSgKe_f22wSMXRg][a8f1b402e8f9][inet[/172.17.0.10:9300]],}, reason: zen-disco-receive(from master [[Baron Von Blitzschlag][3rHHjtcgSgKe_f22wSMXRg][a8f1b402e8f9][inet[/172.17.0.10:9300]]])
search_1 | [2015-01-13 22:00:35,384][INFO ][http ] [Farallah] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/172.17.1.0:9200]}
search_1 | [2015-01-13 22:00:35,386][INFO ][node ] [Farallah] started
web_1 | [profile] heap size is 14.3 MB
web_1 | [profile] heap size is 14.3 MB
web_1 | Validating models...
web_1 |
web_1 | 0 errors found
web_1 | Django version 1.6.5, using settings 'fintech.settings.docker'
web_1 | Running django-devserver 0.7.0
web_1 | Threaded werkzeug server is running at http://0.0.0.0:8000/
web_1 | Quit the server with CONTROL-C.
web_1 | * Running on http://0.0.0.0:8000/
search_1 | [2015-01-13 22:02:37,779][INFO ][discovery.zen ] [Farallah] master_left [[Baron Von Blitzschlag][3rHHjtcgSgKe_f22wSMXRg][a8f1b402e8f9][inet[/172.17.0.10:9300]]], reason [shut_down]
search_1 | [2015-01-13 22:02:37,780][WARN ][discovery.zen ] [Farallah] master left (reason = shut_down), current nodes: {[Farallah][H5syTlLeRseu8kzqsBM40A][c859f88aba30][inet[/172.17.1.0:9300]],}
search_1 | [2015-01-13 22:02:37,784][INFO ][cluster.service ] [Farallah] removed {[Baron Von Blitzschlag][3rHHjtcgSgKe_f22wSMXRg][a8f1b402e8f9][inet[/172.17.0.10:9300]],}, reason: zen-disco-master_failed ([Baron Von Blitzschlag][3rHHjtcgSgKe_f22wSMXRg][a8f1b402e8f9][inet[/172.17.0.10:9300]])
search_1 | [2015-01-13 22:02:41,547][INFO ][cluster.service ] [Farallah] new_master [Farallah][H5syTlLeRseu8kzqsBM40A][c859f88aba30][inet[/172.17.1.0:9300]], reason: zen-disco-join (elected_as_master)
web_1 | /usr/local/lib/python2.7/site-packages/session_security/settings.py:41: UserWarning: settings.SESSION_EXPIRE_AT_BROWSER_CLOSE is not True
web_1 | warnings.warn('settings.SESSION_EXPIRE_AT_BROWSER_CLOSE is not True')
web_1 |
web_1 | 192.168.59.3 - - [13/Jan/2015 22:02:54] "GET / HTTP/1.1" 500 -
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python2.7/site-packages/django/contrib/staticfiles/handlers.py", line 67, in __call__
web_1 | return self.application(environ, start_response)
web_1 | File "/usr/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 194, in __call__
web_1 | signals.request_started.send(sender=self.__class__)
web_1 | File "/usr/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 185, in send
web_1 | response = receiver(signal=self, sender=sender, **named)
web_1 | File "/usr/local/lib/python2.7/site-packages/haystack/__init__.py", line 60, in reset_search_queries
web_1 | for conn in connections.all():
web_1 | File "/usr/local/lib/python2.7/site-packages/haystack/utils/loading.py", line 111, in all
web_1 | return [self[alias] for alias in self.connections_info]
web_1 | File "/usr/local/lib/python2.7/site-packages/haystack/utils/loading.py", line 99, in __getitem__
web_1 | self._connections[key] = load_backend(self.connections_info[key]['ENGINE'])(using=key)
web_1 | File "/usr/local/lib/python2.7/site-packages/haystack/utils/loading.py", line 52, in load_backend
web_1 | return import_class(full_backend_path)
web_1 | File "/usr/local/lib/python2.7/site-packages/haystack/utils/loading.py", line 19, in import_class
web_1 | module_itself = importlib.import_module(module_path)
web_1 | File "/usr/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
web_1 | __import__(name)
web_1 | File "/usr/local/lib/python2.7/site-packages/haystack/backends/elasticsearch_backend.py", line 26, in <module>
web_1 | raise MissingDependency("The 'elasticsearch' backend requires the installation of 'elasticsearch'. Please refer to the documentation.")
web_1 | MissingDependency: The 'elasticsearch' backend requires the installation of 'elasticsearch'. Please refer to the documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment