Hello,
I am trying to run the chef-server-ctl upgrade (using chef-server 14.7.1 version) but it failed with error,
Following is the log:
Recipe: private-chef:: elasticsearch
* component_runit_service[elasticsearch] action start
Recipe: <Dynamically Defined Resource>
* service[elasticsearch] action nothing (skipped due to action :nothing)
* runit_service[elasticsearch] action start (up to date)
(up to date)
Recipe: private-chef::elasticsearch_index
* elasticsearch_index[chef] action create
[2021-07-22T09:40:32+00:00] FATAL: Could not connect to Elasticsearch
Recipe: private-chef::elasticsearch
* component_runit_service[elasticsearch] action restart
Recipe: <Dynamically Defined Resource>
* service[elasticsearch] action nothing (skipped due to action :nothing)
* runit_service[elasticsearch] action restart (up to date)
(up to date)
Running handlers:
Running handlers complete
Chef Infra Client failed. 47 resources updated in 08 minutes 05 seconds
[2021-07-22T09:45:39+00:00] FATAL: Stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out
[2021-07-22T09:45:39+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2021-07-22T09:45:39+00:00] FATAL: RuntimeError: Failed to connect to elasticsearch service at http://127.0.0.1:9200: Connection refused - Connection refused connecting to http://127.0.0.1:9200, giving up
Can anyone help me in this?