- don't use the loopback interface for the swh-search service
- declare a new search configuration for search1
- use the default values when possible
Related to T2905
Differential D4809
Plug webapp1 on the swh-search with live production data vsellier on Jan 6 2021, 9:55 AM. Authored by Tags None Subscribers None
Details
Related to T2905 Octocatalog-diff
diff origin/production/webapp1.internal.softwareheritage.org current/webapp1.internal.softwareheritage.org ******************************************* File[/etc/softwareheritage/search/server.yml] => parameters => content => @@ -1,9 +1,5 @@ --- search: - cls: elasticsearch - args: - hosts: - - host: search-esnode0.internal.staging.swh.network - port: 9200 - index_prefix: production + cls: remote + url: http://search1.internal.softwareheritage.org:5010/ _ *******************************************
diff origin/production/search1.internal.softwareheritage.org current/search1.internal.softwareheritage.org ******************************************* Concat::Fragment[nginx-swh-search-default-header] => parameters => content => @@ -1,5 +1,5 @@ # MANAGED BY PUPPET server { - listen 127.0.0.1:5010 default_server; + listen 0.0.0.0:5010 default_server; _ _ ******************************************* Concat::Fragment[nginx-swh-search-header] => parameters => content => @@ -1,5 +1,5 @@ # MANAGED BY PUPPET server { - listen 127.0.0.1:5010 deferred; + listen 0.0.0.0:5010 deferred; _ _ ******************************************* Concat_fragment[nginx-swh-search-default-header] => parameters => content => @@ -1,5 +1,5 @@ # MANAGED BY PUPPET server { - listen 127.0.0.1:5010 default_server; + listen 0.0.0.0:5010 default_server; _ _ ******************************************* Concat_fragment[nginx-swh-search-header] => parameters => content => @@ -1,5 +1,5 @@ # MANAGED BY PUPPET server { - listen 127.0.0.1:5010 deferred; + listen 0.0.0.0:5010 deferred; _ _ ******************************************* Nginx::Resource::Server[nginx-swh-search-default] => parameters => listen_ip => - 127.0.0.1 + 0.0.0.0 ******************************************* Nginx::Resource::Server[nginx-swh-search] => parameters => listen_ip => - 127.0.0.1 + 0.0.0.0 ******************************************* *** End octocatalog-diff on search1.internal.softwareheritage.org
Diff Detail
|