edxapp@precise64:~/edx-platform$ paver devstack lms
---> pavelib.servers.devstack
---> pavelib.prereqs.install_prereqs
---> pavelib.prereqs.install_node_prereqs
Node prereqs unchanged, skipping...
---> pavelib.prereqs.install_python_prereqs
---> pavelib.prereqs.uninstall_python_packages
Python uninstalls unchanged, skipping...
Python prereqs unchanged, skipping...
python manage.py cms --settings=devstack reindex_course --setup
/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/require/helpers.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
2016-12-13 09:57:46,803 WARNING 3304 [py.warnings] importlib.py:9 - /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/require/helpers.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils.importlib import import_module
2016-12-13 09:57:50,460 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (1): localhost
2016-12-13 09:57:50,461 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (3 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,461 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (2): localhost
2016-12-13 09:57:50,462 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (2 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,462 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (3): localhost
2016-12-13 09:57:50,463 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (1 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,463 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (4): localhost
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 46, in perform_request
response = self.pool.urlopen(method, url, body, **kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 591, in urlopen
raise MaxRetryError(self, url, e)
MaxRetryError: HTTPConnectionPool(host='localhost', port=9200): Max retries exceeded with url: /courseware_index (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
2016-12-13 09:57:50,469 INFO 3304 [elasticsearch] base.py:70 - > None
2016-12-13 09:57:50,470 WARNING 3304 [elasticsearch] connection_pool.py:141 - Connection <Urllib3HttpConnection: http://localhost:9200> has failed for 1 times in a row, putting on 60 second timeout. 2016-12-13 09:57:50,470 INFO 3304 [elasticsearch] connection_pool.py:185 - Resurrecting connection <Urllib3HttpConnection: http://localhost:9200> (force=True). 2016-12-13 09:57:50,471 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (5): localhost
2016-12-13 09:57:50,472 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (3 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,472 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (6): localhost
2016-12-13 09:57:50,472 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (2 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,473 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (7): localhost
2016-12-13 09:57:50,473 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (1 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,474 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (8): localhost
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 46, in perform_request
response = self.pool.urlopen(method, url, body, **kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 591, in urlopen
raise MaxRetryError(self, url, e)
MaxRetryError: HTTPConnectionPool(host='localhost', port=9200): Max retries exceeded with url: /courseware_index (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
2016-12-13 09:57:50,477 INFO 3304 [elasticsearch] base.py:70 - > None
2016-12-13 09:57:50,477 WARNING 3304 [elasticsearch] connection_pool.py:141 - Connection <Urllib3HttpConnection: http://localhost:9200> has failed for 2 times in a row, putting on 120 second timeout. 2016-12-13 09:57:50,478 INFO 3304 [elasticsearch] connection_pool.py:185 - Resurrecting connection <Urllib3HttpConnection: http://localhost:9200> (force=True). 2016-12-13 09:57:50,478 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (9): localhost
2016-12-13 09:57:50,479 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (3 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,479 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (10): localhost
2016-12-13 09:57:50,479 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (2 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,480 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (11): localhost
2016-12-13 09:57:50,480 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (1 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,481 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (12): localhost
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 46, in perform_request
response = self.pool.urlopen(method, url, body, **kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 591, in urlopen
raise MaxRetryError(self, url, e)
MaxRetryError: HTTPConnectionPool(host='localhost', port=9200): Max retries exceeded with url: /courseware_index (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
2016-12-13 09:57:50,483 INFO 3304 [elasticsearch] base.py:70 - > None
2016-12-13 09:57:50,484 WARNING 3304 [elasticsearch] connection_pool.py:141 - Connection <Urllib3HttpConnection: http://localhost:9200> has failed for 3 times in a row, putting on 240 second timeout. 2016-12-13 09:57:50,484 INFO 3304 [elasticsearch] connection_pool.py:185 - Resurrecting connection <Urllib3HttpConnection: http://localhost:9200> (force=True). 2016-12-13 09:57:50,484 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (13): localhost
2016-12-13 09:57:50,485 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (3 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,485 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (14): localhost
2016-12-13 09:57:50,486 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (2 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,486 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (15): localhost
2016-12-13 09:57:50,487 WARNING 3304 [urllib3.connectionpool] connectionpool.py:603 - Retrying (1 attempts remain) after connection broken by 'error(111, 'Connection refused')': /courseware_index
2016-12-13 09:57:50,487 INFO 3304 [urllib3.connectionpool] connectionpool.py:257 - Starting new HTTP connection (16): localhost
Traceback (most recent call last):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 46, in perform_request
response = self.pool.urlopen(method, url, body, **kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 607, in urlopen
release_conn=release_conn, **response_kw)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 591, in urlopen
raise MaxRetryError(self, url, e)
MaxRetryError: HTTPConnectionPool(host='localhost', port=9200): Max retries exceeded with url: /courseware_index (Caused by <class 'socket.error'>: [Errno 111] Connection refused)
2016-12-13 09:57:50,490 INFO 3304 [elasticsearch] base.py:70 - > None
2016-12-13 09:57:50,490 WARNING 3304 [elasticsearch] connection_pool.py:141 - Connection <Urllib3HttpConnection: http://localhost:9200> has failed for 4 times in a row, putting on 480 second timeout. 2016-12-13 09:57:50,491 ERROR 3304 [root] reindex_course.py:86 - Search Engine error - ConnectionError(HTTPConnectionPool(host='localhost', port=9200): Max retries exceeded with url: /courseware_index (Caused by <class 'socket.error'>: [Errno 111] Connection refused)) caused by: MaxRetryError(HTTPConnectionPool(host='localhost', port=9200): Max retries exceeded with url: /courseware_index (Caused by <class 'socket.error'>: [Errno 111] Connection refused))
Traceback (most recent call last):
File "/edx/app/edxapp/edx-platform/cms/djangoapps/contentstore/management/commands/reindex_course.py", line 84, in handle
searcher = SearchEngine.get_search_engine(index_name)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/search/search_engine_base.py", line 50, in get_search_engine
return search_engine_class(index=index) if search_engine_class else None
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/search/elastic.py", line 275, in __init__
if not self._es.indices.exists(index=self.index_name):
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/client/utils.py", line 70, in _wrapped
return func(*args, params=params, **kwargs)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/client/indices.py", line 149, in exists
self.transport.perform_request('HEAD', _make_path(index), params=params)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/transport.py", line 274, in perform_request
status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore)
File "/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 51, in perform_request
raise ConnectionError('N/A', str(e), e)
ConnectionError: ConnectionError(HTTPConnectionPool(host='localhost', port=9200): Max retries exceeded with url: /courseware_index (Caused by <class 'socket.error'>: [Errno 111] Connection refused)) caused by: MaxRetryError(HTTPConnectionPool(host='localhost', port=9200): Max retries exceeded with url: /courseware_index (Caused by <class 'socket.error'>: [Errno 111] Connection refused))
---> pavelib.assets.update_assets
python manage.py lms --settings=devstack preprocess_assets lms/static/sass/*.scss lms/static/themed_sass
Finished preprocessing lms assets.
xmodule_assets common/static/xmodule
Finished processing xmodule assets.
mkdir_p path('common/static/common/js/vendor')
/bin/cp -rf node_modules/jquery/dist/jquery.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery-migrate/dist/jquery-migrate.js common/static/common/js/vendor
/bin/cp -rf node_modules/jquery.scrollto/jquery.scrollTo.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore/underscore.js common/static/common/js/vendor
/bin/cp -rf node_modules/underscore.string/dist/underscore.string.js common/static/common/js/vendor
/bin/cp -rf node_modules/picturefill/dist/picturefill.js common/static/common/js/vendor
/bin/cp -rf node_modules/backbone/backbone.js common/static/common/js/vendor
/bin/cp -rf node_modules/edx-ui-toolkit/node_modules/backbone.paginator/lib/backbone.paginator.js common/static/common/js/vendor
---> pavelib.assets.compile_coffeescript
node_modules/.bin/coffee --compile `find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"`
python manage.py lms --settings=devstack compile_sass lms
Skipping theme asset compilation: enable theming to process themed assets
---> pavelib.assets.compile_sass
Started compiling Sass:
Finished compiling 'common' sass.
Started compiling 'lms' Sass for 'system'.
Finished compiling 'lms' Sass for 'system'.
Finished compiling Sass:
>> common/static/sass -> common/static/css in 0:00:00.018948s
>> lms/static/sass -> lms/static/css in 0:00:50.096556s
>> lms/static/certificates/sass -> lms/static/certificates/css in 0:00:12.936575s
Successful compilations:
--- "common" sass files.
--- lms sass for system.
---> pavelib.assets.watch_assets
find /edx/app/edxapp/edx-platform/lms /edx/app/edxapp/edx-platform/cms /edx/app/edxapp/edx-platform/common -type f -name "*.coffee"
Starting asset watcher...
Enter CTL-C to end
Performing system checks...
System check identified no issues (0 silenced).
December 13, 2016 - 09:59:19
Django version 1.8.13, using settings 'lms.envs.devstack'
Quit the server with CONTROL-C.