Skip to content

Drop search instance from swh_storage_cloud role

In effect, this drops the search instance from storage01.euwest.azure

Related to T1526

Test Plan

octo diff:

$ bin/octocatalog-diff --to staging storage01.euwest.azure
Found host storage01.euwest.azure.internal.softwareheritage.org
WARN     -> Environment "wip-pg-hba-rules-in-yaml" contained non-word characters, correcting name to wip_pg_hba_rules_in_yaml
Cloning into '/tmp/swh-ocd.Dk2ci3Mr/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.Dk2ci3Mr/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host storage01.euwest.azure.internal.softwareheritage.org
I, [2021-06-25T10:19:02.756775 #5676]  INFO -- : Catalogs compiled for storage01.euwest.azure.internal.softwareheritage.org
I, [2021-06-25T10:19:04.307695 #5676]  INFO -- : Diffs computed for storage01.euwest.azure.internal.softwareheritage.org
diff origin/production/storage01.euwest.azure.internal.softwareheritage.org current/storage01.euwest.azure.internal.softwareheritage.org
*******************************************
- Concat::Fragment[nginx-swh-search-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat::Fragment[nginx-swh-search-default-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat::Fragment[nginx-swh-search-default-footer]
*******************************************
- Concat::Fragment[nginx-swh-search-default-header]
*******************************************
- Concat::Fragment[nginx-swh-search-footer]
*******************************************
- Concat::Fragment[nginx-swh-search-header]
*******************************************
- Concat::Fragment[swh-search-gunicorn_upstream_footer]
*******************************************
- Concat::Fragment[swh-search-gunicorn_upstream_header]
*******************************************
- Concat::Fragment[swh-search-gunicorn_upstream_member_gunicorn-search]
*******************************************
- Concat[/etc/nginx/conf.d/swh-search-gunicorn-upstream.conf]
*******************************************
- Concat[/etc/nginx/sites-available/nginx-swh-search-default.conf]
*******************************************
- Concat[/etc/nginx/sites-available/nginx-swh-search.conf]
*******************************************
- Concat_file[/etc/nginx/conf.d/swh-search-gunicorn-upstream.conf]
*******************************************
- Concat_file[/etc/nginx/sites-available/nginx-swh-search-default.conf]
*******************************************
- Concat_file[/etc/nginx/sites-available/nginx-swh-search.conf]
*******************************************
- Concat_fragment[nginx-swh-search-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat_fragment[nginx-swh-search-default-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat_fragment[nginx-swh-search-default-footer]
*******************************************
- Concat_fragment[nginx-swh-search-default-header]
*******************************************
- Concat_fragment[nginx-swh-search-footer]
*******************************************
- Concat_fragment[nginx-swh-search-header]
*******************************************
- Concat_fragment[swh-search-gunicorn_upstream_footer]
*******************************************
- Concat_fragment[swh-search-gunicorn_upstream_header]
*******************************************
- Concat_fragment[swh-search-gunicorn_upstream_member_gunicorn-search]
*******************************************
- Exec[active-initialize]
*******************************************
- Exec[swh-search-initialize]
*******************************************
- File[/etc/gunicorn/instances/swh-search.cfg]
*******************************************
- File[/etc/nginx/sites-enabled/nginx-swh-search-default.conf]
*******************************************
- File[/etc/nginx/sites-enabled/nginx-swh-search.conf]
*******************************************
- File[/etc/softwareheritage/search/server.yml]
*******************************************
- File[/etc/softwareheritage/search]
*******************************************
- File[/etc/systemd/system/gunicorn-swh-search.service]
*******************************************
- File[/etc/tmpfiles.d/gunicorn-swh-search.conf]
*******************************************
- Gunicorn::Instance[swh-search]
*******************************************
- Nginx::Resource::Location[nginx-swh-search-default-default]
*******************************************
- Nginx::Resource::Location[nginx-swh-search-default]
*******************************************
- Nginx::Resource::Server[nginx-swh-search-default]
*******************************************
- Nginx::Resource::Server[nginx-swh-search]
*******************************************
- Nginx::Resource::Upstream::Member[gunicorn-search]
*******************************************
- Nginx::Resource::Upstream[swh-search-gunicorn]
*******************************************
- Package[python3-swh.search]
*******************************************
- Profile::Swh::Deploy::Rpc_server[search]
*******************************************
- Service[gunicorn-swh-search]
*******************************************
- Systemd::Tmpfile[gunicorn-swh-search.conf]
*******************************************
- Systemd::Unit_file[gunicorn-swh-search.service]
*******************************************
*** End octocatalog-diff on storage01.euwest.azure.internal.softwareheritage.org

Migrated from D5920 (view on Phabricator)

Merge request reports