Hi friends ,
I tried to install Ironwood then Ansible become fail.
But edx server works properly currently . I dont know may be this will be an issue in the further for me ? or how can I fix that the installation may finished properly.
Those are the logs . Thanks in advance!
TASK [forum : enable the supervisor config] ************************************
changed: [localhost]TASK [forum : create the supervisor wrapper] ***********************************
changed: [localhost]TASK [forum : git checkout forum repo into /edx/app/forum/cs_comments_service] ***
changed: [localhost]TASK [forum : install comments service bundle] *********************************
changed: [localhost]TASK [forum : initialize elasticsearch] ****************************************
fatal: [localhost]: FAILED! => {“changed”: true, “cmd”: [“/edx/app/forum/cs_comments_service/bin/rake”, “search:initialize”], “delta”: “0:00:32.570365”, “end”: “2019-11-08 08:27:24.767989”, “failed”: true, “rc”: 1, “start”: “2019-11-08 08:26:52.197624”, “stderr”: “/edx/app/forum/cs_comments_service/lib/tasks/flags.rake:6: warning: already initialized constant ROOT\n/edx/app/forum/cs_comments_service/lib/tasks/deep_search.rake:7: warning: previous definition of ROOT was here\n/edx/app/forum/cs_comments_service/lib/tasks/kpis.rake:7: warning: already initialized constant ROOT\n/edx/app/forum/cs_comments_service/lib/tasks/flags.rake:6: warning: previous definition of ROOT was here\n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:52: warning: constant ::Fixnum is deprecated\n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:54: warning: constant ::Fixnum is deprecated\n/edx/app/forum/cs_comments_service/models/constants.rb:2: warning: already initialized constant COURSE_ID\n/edx/app/forum/cs_comments_service/lib/tasks/db.rake:28: warning: previous definition of COURSE_ID was here\nrake aborted!\nElasticsearch::Transport::Transport::Errors::ServiceUnavailable: [503] \n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:201:in__raise_transport_error'\n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:312:in
perform_request’\n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/http/faraday.rb:20:inperform_request'\n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/client.rb:128:in
perform_request’\n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-api-1.1.2/lib/elasticsearch/api/namespace/common.rb:21:inperform_request'\n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-api-1.1.2/lib/elasticsearch/api/actions/indices/exists_alias.rb:44:in
block in exists_alias’\n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-api-1.1.2/lib/elasticsearch/api/utils.rb:197:in__rescue_from_not_found'\n/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-api-1.1.2/lib/elasticsearch/api/actions/indices/exists_alias.rb:43:in
exists_alias’\n/edx/app/forum/cs_comments_service/lib/task_helpers.rb:92:inexists_alias'\n/edx/app/forum/cs_comments_service/lib/task_helpers.rb:146:in
initialize_index’\n/edx/app/forum/cs_comments_service/lib/tasks/search.rake:40:inblock (2 levels) in <top (required)>'\n/edx/app/forum/.gem/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in
<top (required)>'\nTasks: TOP => search:initialize\n(See full trace by running task with --trace)”, “stderr_lines”: [“/edx/app/forum/cs_comments_service/lib/tasks/flags.rake:6: warning: already initialized constant ROOT”, “/edx/app/forum/cs_comments_service/lib/tasks/deep_search.rake:7: warning: previous definition of ROOT was here”, “/edx/app/forum/cs_comments_service/lib/tasks/kpis.rake:7: warning: already initialized constant ROOT”, “/edx/app/forum/cs_comments_service/lib/tasks/flags.rake:6: warning: previous definition of ROOT was here”, “/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:52: warning: constant ::Fixnum is deprecated”, “/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:54: warning: constant ::Fixnum is deprecated”, “/edx/app/forum/cs_comments_service/models/constants.rb:2: warning: already initialized constant COURSE_ID”, “/edx/app/forum/cs_comments_service/lib/tasks/db.rake:28: warning: previous definition of COURSE_ID was here”, “rake aborted!”, "Elasticsearch::Transport::Transport::Errors::ServiceUnavailable: [503] ", “/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:201:in__raise_transport_error'", "/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/base.rb:312:in
perform_request’”, “/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/transport/http/faraday.rb:20:inperform_request'", "/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-transport-1.1.2/lib/elasticsearch/transport/client.rb:128:in
perform_request’”, “/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-api-1.1.2/lib/elasticsearch/api/namespace/common.rb:21:inperform_request'", "/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-api-1.1.2/lib/elasticsearch/api/actions/indices/exists_alias.rb:44:in
block in exists_alias’”, “/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-api-1.1.2/lib/elasticsearch/api/utils.rb:197:in__rescue_from_not_found'", "/edx/app/forum/.gem/ruby/2.4.0/gems/elasticsearch-api-1.1.2/lib/elasticsearch/api/actions/indices/exists_alias.rb:43:in
exists_alias’”, “/edx/app/forum/cs_comments_service/lib/task_helpers.rb:92:inexists_alias'", "/edx/app/forum/cs_comments_service/lib/task_helpers.rb:146:in
initialize_index’”, “/edx/app/forum/cs_comments_service/lib/tasks/search.rake:40:inblock (2 levels) in <top (required)>'", "/edx/app/forum/.gem/ruby/2.4.0/gems/rake-12.0.0/exe/rake:27:in
<top (required)>'”, “Tasks: TOP => search:initialize”, “(See full trace by running task with --trace)”], “stdout”: “W, [2019-11-08T08:26:54.591626 #7737] WARN – : Overwriting existing field _id in class User.\nW, [2019-11-08T08:26:54.659683 #7737] WARN – : MONGODB | Unsupported client option ‘max_retries’. It will be ignored.\nW, [2019-11-08T08:26:54.659727 #7737] WARN – : MONGODB | Unsupported client option ‘retry_interval’. It will be ignored.\nW, [2019-11-08T08:26:54.659743 #7737] WARN – : MONGODB | Unsupported client option ‘timeout’. It will be ignored.”, “stdout_lines”: [“W, [2019-11-08T08:26:54.591626 #7737] WARN – : Overwriting existing field _id in class User.”, “W, [2019-11-08T08:26:54.659683 #7737] WARN – : MONGODB | Unsupported client option ‘max_retries’. It will be ignored.”, “W, [2019-11-08T08:26:54.659727 #7737] WARN – : MONGODB | Unsupported client option ‘retry_interval’. It will be ignored.”, “W, [2019-11-08T08:26:54.659743 #7737] WARN – : MONGODB | Unsupported client option ‘timeout’. It will be ignored.”]}NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/var/tmp/configuration/playbooks/openedx_native.retryPLAY RECAP *********************************************************************
localhost : ok=444 changed=328 unreachable=0 failed=1INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate [0] ------------------------------------------------------------------- 494.90s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install python requirements [0] ----------------------------------------------- 410.35s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: gather static assets with paver [1] ------------------------------------------- 395.10s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements [0] ------------------------------------------- 327.67s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install ruby 2.4.1 ------------------------------------------------------------ 258.74s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install production requirements [1] ------------------------------------------- 185.36s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: checkout edx-platform repo into /edx/app/edxapp/edx-platform [0] -------------- 131.66s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install comments service bundle ----------------------------------------------- 131.10s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: install node dependencies [2] -------------------------------------------------- 89.21s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing: migrate database [0] ----------------------------------------------------------- 80.47s
INFO:/var/tmp/configuration/playbooks/callback_plugins/task_timing:
Playbook Configure instance(s) finished: 2019-11-08 13:27:24.813964, 1039 total tasks. 1:10:44.546942 elapsed.========================================
Ansible failed!