Skip to content

storage1.staging: Decommission gunicorn swh.*storage service

Antoine R. Dumont requested to merge decommission-staging-storage1 into production

The node is already converted to a rancher agent node.

We decommission those (by dropping them from the role and rename appropriately said role).

The actual gunicorn services decommissionning will be done manually once this is merged.

swh-octodiff
*** Running octocatalog-diff on host storage1.internal.staging.swh.network
I, [2023-12-06T10:51:52.937991 #2041408]  INFO -- : Catalogs compiled for storage1.internal.staging.swh.network
I, [2023-12-06T10:51:53.206926 #2041408]  INFO -- : Diffs computed for storage1.internal.staging.swh.network
diff origin/production/storage1.internal.staging.swh.network current/storage1.internal.staging.swh.network
*******************************************
- Concat::Fragment[nginx-metrics-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat::Fragment[nginx-metrics-500-ae3b848d2daecffc635ae20b0b882d8f]
*******************************************
- Concat::Fragment[nginx-metrics-footer]
*******************************************
- Concat::Fragment[nginx-metrics-header]
*******************************************
- Concat::Fragment[nginx-swh-objstorage-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat::Fragment[nginx-swh-objstorage-default-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat::Fragment[nginx-swh-objstorage-default-footer]
*******************************************
- Concat::Fragment[nginx-swh-objstorage-default-header]
*******************************************
- Concat::Fragment[nginx-swh-objstorage-footer]
*******************************************
- Concat::Fragment[nginx-swh-objstorage-header]
*******************************************
- Concat::Fragment[nginx-swh-storage-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat::Fragment[nginx-swh-storage-default-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat::Fragment[nginx-swh-storage-default-footer]
*******************************************
- Concat::Fragment[nginx-swh-storage-default-header]
*******************************************
- Concat::Fragment[nginx-swh-storage-footer]
*******************************************
- Concat::Fragment[nginx-swh-storage-header]
*******************************************
- Concat::Fragment[swh-objstorage-gunicorn_upstream_footer]
*******************************************
- Concat::Fragment[swh-objstorage-gunicorn_upstream_header]
*******************************************
- Concat::Fragment[swh-objstorage-gunicorn_upstream_member_gunicorn-objstorage]
*******************************************
- Concat::Fragment[swh-storage-gunicorn_upstream_footer]
*******************************************
- Concat::Fragment[swh-storage-gunicorn_upstream_header]
*******************************************
- Concat::Fragment[swh-storage-gunicorn_upstream_member_gunicorn-storage]
*******************************************
- Concat[/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf]
*******************************************
- Concat[/etc/nginx/conf.d/swh-storage-gunicorn-upstream.conf]
*******************************************
- Concat[/etc/nginx/sites-available/nginx-metrics.conf]
*******************************************
- Concat[/etc/nginx/sites-available/nginx-swh-objstorage-default.conf]
*******************************************
- Concat[/etc/nginx/sites-available/nginx-swh-objstorage.conf]
*******************************************
- Concat[/etc/nginx/sites-available/nginx-swh-storage-default.conf]
*******************************************
- Concat[/etc/nginx/sites-available/nginx-swh-storage.conf]
*******************************************
- Concat_file[/etc/nginx/conf.d/swh-objstorage-gunicorn-upstream.conf]
*******************************************
- Concat_file[/etc/nginx/conf.d/swh-storage-gunicorn-upstream.conf]
*******************************************
- Concat_file[/etc/nginx/sites-available/nginx-metrics.conf]
*******************************************
- Concat_file[/etc/nginx/sites-available/nginx-swh-objstorage-default.conf]
*******************************************
- Concat_file[/etc/nginx/sites-available/nginx-swh-objstorage.conf]
*******************************************
- Concat_file[/etc/nginx/sites-available/nginx-swh-storage-default.conf]
*******************************************
- Concat_file[/etc/nginx/sites-available/nginx-swh-storage.conf]
*******************************************
- Concat_file[profile::cron::storage]
*******************************************
- Concat_fragment[nginx-metrics-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat_fragment[nginx-metrics-500-ae3b848d2daecffc635ae20b0b882d8f]
*******************************************
- Concat_fragment[nginx-metrics-footer]
*******************************************
- Concat_fragment[nginx-metrics-header]
*******************************************
- Concat_fragment[nginx-swh-objstorage-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat_fragment[nginx-swh-objstorage-default-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat_fragment[nginx-swh-objstorage-default-footer]
*******************************************
- Concat_fragment[nginx-swh-objstorage-default-header]
*******************************************
- Concat_fragment[nginx-swh-objstorage-footer]
*******************************************
- Concat_fragment[nginx-swh-objstorage-header]
*******************************************
- Concat_fragment[nginx-swh-storage-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat_fragment[nginx-swh-storage-default-500-6666cd76f96956469e7be39d750cc7d9]
*******************************************
- Concat_fragment[nginx-swh-storage-default-footer]
*******************************************
- Concat_fragment[nginx-swh-storage-default-header]
*******************************************
- Concat_fragment[nginx-swh-storage-footer]
*******************************************
- Concat_fragment[nginx-swh-storage-header]
*******************************************
- Concat_fragment[profile::cron::storage::_header]
*******************************************
- Concat_fragment[profile::cron::swh.storage-create-partitions]
*******************************************
- Concat_fragment[swh-objstorage-gunicorn_upstream_footer]
*******************************************
- Concat_fragment[swh-objstorage-gunicorn_upstream_header]
*******************************************
- Concat_fragment[swh-objstorage-gunicorn_upstream_member_gunicorn-objstorage]
*******************************************
- Concat_fragment[swh-storage-gunicorn_upstream_footer]
*******************************************
- Concat_fragment[swh-storage-gunicorn_upstream_header]
*******************************************
- Concat_fragment[swh-storage-gunicorn_upstream_member_gunicorn-storage]
*******************************************
- Exec[systemd-tmpfiles]
*******************************************
- File[/etc/cron.d/puppet-storage]
*******************************************
- File[/etc/default/prometheus-nginx-exporter]
*******************************************
- File[/etc/gunicorn/instances/swh-objstorage.cfg]
*******************************************
- File[/etc/gunicorn/instances/swh-storage.cfg]
*******************************************
- File[/etc/gunicorn/instances]
*******************************************
- File[/etc/gunicorn/logconfig.ini]
*******************************************
- File[/etc/gunicorn]
*******************************************
- File[/etc/nginx/conf.d/error_status-map.conf]
*******************************************
- File[/etc/nginx/conf.d]
*******************************************
- File[/etc/nginx/conf.mail.d]
*******************************************
- File[/etc/nginx/conf.stream.d]
*******************************************
- File[/etc/nginx/mime.types]
*******************************************
- File[/etc/nginx/nginx.conf]
*******************************************
- File[/etc/nginx/sites-available]
*******************************************
- File[/etc/nginx/sites-enabled/nginx-metrics.conf]
*******************************************
- File[/etc/nginx/sites-enabled/nginx-swh-objstorage-default.conf]
*******************************************
- File[/etc/nginx/sites-enabled/nginx-swh-objstorage.conf]
*******************************************
- File[/etc/nginx/sites-enabled/nginx-swh-storage-default.conf]
*******************************************
- File[/etc/nginx/sites-enabled/nginx-swh-storage.conf]
*******************************************
- File[/etc/nginx/sites-enabled]
*******************************************
- File[/etc/nginx/snippets]
*******************************************
- File[/etc/nginx/streams-available]
*******************************************
- File[/etc/nginx/streams-enabled]
*******************************************
- File[/etc/nginx]
*******************************************
- File[/etc/softwareheritage/journal/backfill.yml]
*******************************************
- File[/etc/softwareheritage/journal/backfill_logger.yml]
*******************************************
- File[/etc/softwareheritage/journal]
*******************************************
- File[/etc/softwareheritage/objstorage/server.yml]
*******************************************
- File[/etc/softwareheritage/objstorage]
*******************************************
- File[/etc/softwareheritage/storage/storage.yml]
*******************************************
- File[/etc/softwareheritage/storage]
*******************************************
- File[/etc/systemd/system/gunicorn-swh-objstorage.service]
*******************************************
- File[/etc/systemd/system/gunicorn-swh-storage.service]
*******************************************
- File[/etc/systemd/system/gunicorn.service]
*******************************************
- File[/etc/systemd/system/prometheus-nginx-exporter.service.d/ordering.conf]
*******************************************
- File[/etc/systemd/system/prometheus-nginx-exporter.service.d/restart.conf]
*******************************************
- File[/etc/systemd/system/prometheus-nginx-exporter.service.d]
*******************************************
- File[/etc/tmpfiles.d/gunicorn-swh-objstorage.conf]
*******************************************
- File[/etc/tmpfiles.d/gunicorn-swh-storage.conf]
*******************************************
- File[/etc/tmpfiles.d/gunicorn.conf]
*******************************************
- File[/etc/tmpfiles.d/nginx.conf]
*******************************************
- File[/run/nginx/client_body_temp]
*******************************************
- File[/run/nginx/proxy_temp]
*******************************************
- File[/run/nginx]
*******************************************
- File[/srv/softwareheritage/objects]
*******************************************
- File[/tmp/nginx.d]
*******************************************
- File[/tmp/nginx.mail.d]
*******************************************
- File[/var/log/nginx]
*******************************************
- Gunicorn::Instance[swh-objstorage]
*******************************************
- Gunicorn::Instance[swh-storage]
*******************************************
- Icinga2::Object::Service[swh-objstorage api (local on storage1.internal.staging.swh.network)]
*******************************************
- Icinga2::Object::Service[swh-objstorage api (remote on storage1.internal.staging.swh.network)]
*******************************************
- Icinga2::Object::Service[swh-storage api (local on storage1.internal.staging.swh.network)]
*******************************************
- Icinga2::Object::Service[swh-storage api (remote on storage1.internal.staging.swh.network)]
*******************************************
- Nginx::Resource::Location[/metrics]
*******************************************
- Nginx::Resource::Location[nginx-metrics-default]
*******************************************
- Nginx::Resource::Location[nginx-swh-objstorage-default-default]
*******************************************
- Nginx::Resource::Location[nginx-swh-objstorage-default]
*******************************************
- Nginx::Resource::Location[nginx-swh-storage-default-default]
*******************************************
- Nginx::Resource::Location[nginx-swh-storage-default]
*******************************************
- Nginx::Resource::Map[error_status]
*******************************************
- Nginx::Resource::Server[nginx-metrics]
*******************************************
- Nginx::Resource::Server[nginx-swh-objstorage-default]
*******************************************
- Nginx::Resource::Server[nginx-swh-objstorage]
*******************************************
- Nginx::Resource::Server[nginx-swh-storage-default]
*******************************************
- Nginx::Resource::Server[nginx-swh-storage]
*******************************************
- Nginx::Resource::Upstream::Member[gunicorn-objstorage]
*******************************************
- Nginx::Resource::Upstream::Member[gunicorn-storage]
*******************************************
- Nginx::Resource::Upstream[swh-objstorage-gunicorn]
*******************************************
- Nginx::Resource::Upstream[swh-storage-gunicorn]
*******************************************
- Package[gunicorn3]
*******************************************
- Package[nginx]
*******************************************
- Package[prometheus-nginx-exporter]
*******************************************
- Package[python3-swh.journal]
*******************************************
- Package[python3-swh.objstorage]
*******************************************
- Package[python3-swh.storage]
*******************************************
- Profile::Cron::D[swh.storage-create-partitions]
*******************************************
- Profile::Cron::File[storage]
*******************************************
- Profile::Prometheus::Export_scrape_config[nginx]
*******************************************
- Profile::Swh::Deploy::Rpc_server[objstorage]
*******************************************
- Profile::Swh::Deploy::Rpc_server[storage]
*******************************************
- Service[gunicorn-swh-objstorage]
*******************************************
- Service[gunicorn-swh-storage]
*******************************************
- Service[gunicorn]
*******************************************
- Service[nginx]
*******************************************
- Service[prometheus-nginx-exporter]
*******************************************
- Systemd::Dropin_file[prometheus-nginx-exporter/ordering.conf]
*******************************************
- Systemd::Dropin_file[prometheus-nginx-exporter/restart.conf]
*******************************************
- Systemd::Tmpfile[gunicorn-swh-objstorage.conf]
*******************************************
- Systemd::Tmpfile[gunicorn-swh-storage.conf]
*******************************************
- Systemd::Tmpfile[gunicorn.conf]
*******************************************
- Systemd::Tmpfile[nginx.conf]
*******************************************
- Systemd::Unit_file[gunicorn-swh-objstorage.service]
*******************************************
- Systemd::Unit_file[gunicorn-swh-storage.service]
*******************************************
- Systemd::Unit_file[gunicorn.service]
*******************************************
*** End octocatalog-diff on storage1.internal.staging.swh.network

Refs. swh/infra/sysadm-environment#5164 (closed)

Edited by Antoine R. Dumont

Merge request reports