Skip to content

production: Decommission high priority service already running in elastic worker

Antoine R. Dumont requested to merge staging_decommission_highpriority into production

They are currently running in the elastic infra with the proper sentry setup to dispatch errors (if any) [1]

[1] swh/infra/ci-cd/swh-charts@e52cf52b

octo-diff worker16
$ $SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff --to staging_decommission_highpriority worker16.softwareheritage.org
Found host worker16.softwareheritage.org
Cloning into '/tmp/swh-ocd.ABnUNdcp/swh-site'...
done.
branch 'staging' set up to track 'origin/staging'.
Switched to a new branch 'staging'
Cloning into '/tmp/swh-ocd.ABnUNdcp/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.ABnUNdcp/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host worker16.softwareheritage.org
I, [2023-04-03T16:15:24.772034 #1111416]  INFO -- : Catalogs compiled for worker16.softwareheritage.org
I, [2023-04-03T16:15:25.106290 #1111416]  INFO -- : Diffs computed for worker16.softwareheritage.org
diff origin/production/worker16.softwareheritage.org current/worker16.softwareheritage.org
*******************************************
- Concat_fragment[profile::cron::swh-worker-loader_high_priority-autorestart]
*******************************************
  File[/etc/softwareheritage/loader_high_priority.yml] =>
   parameters =>
     ensure =>
      - present
      + absent
*******************************************
  File[/etc/systemd/system/swh-worker@loader_high_priority.service.d/parameters.conf] =>
   parameters =>
     ensure =>
      - file
      + absent
*******************************************
- File[/etc/systemd/system/swh-worker@loader_high_priority.service.d]
*******************************************
- Profile::Cron::D[swh-worker-loader_high_priority-autorestart]
*******************************************
  Profile::Swh::Deploy::Worker::Instance[loader_high_priority] =>
   parameters =>
     ensure =>
      - present
      + absent
     extra_config =>
       metadata_fetcher_credentials =>
        - {"github"=>{"github"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-github-github-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/0/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-1-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/1/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-2-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/2/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-3-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/3/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-4-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/4/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-5-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/5/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-6-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/6/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-7-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/7/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-8-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/8/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-9-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/9/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-10-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/10/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-11-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/11/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-12-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/12/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-13-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/13/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github-14-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github/14/username"}], "github.com"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/0/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-1-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/1/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-2-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/2/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-3-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/3/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-4-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/4/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-5-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/5/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-6-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/6/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-7-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/7/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-8-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/8/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-9-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/9/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-10-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/10/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-11-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/11/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-12-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/12/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-13-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/13/username"}, {"password"=>"swh-deploy-worker-lister-config-credentials-github-github.com-14-password", "username"=>"swh::deploy::worker::lister::config::credentials/github/github.com/14/username"}]}, "gitlab"=>{"gitlab"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-gitlab-gitlab-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/gitlab/gitlab/0/username"}], "gitlab.com"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-gitlab-gitlab.com-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/gitlab/gitlab.com/0/username"}]}, "phabricator"=>{"blender"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-blender-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/blender/0/username"}], "developer.blender.org"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-developer.blender.org-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/developer.blender.org/0/username"}], "forge.softwareheritage.org"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-forge.softwareheritage.org-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/forge.softwareheritage.org/0/username"}], "kde"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-kde-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/kde/0/username"}], "llvm"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-llvm-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/llvm/0/username"}], "phabricator.kde.org"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-phabricator.kde.org-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/phabricator.kde.org/0/username"}], "phabricator.wikimedia.org"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-phabricator.wikimedia.org-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/phabricator.wikimedia.org/0/username"}], "reviews.llvm.org"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-reviews.llvm.org-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/reviews.llvm.org/0/username"}], "swh"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-swh-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/swh/0/username"}], "wikimedia"=>[{"password"=>"swh-deploy-worker-lister-config-credentials-phabricator-wikimedia-0-password", "username"=>"swh::deploy::worker::lister::config::credentials/phabricator/wikimedia/0/username"}]}}
     send_task_events =>
      - true
      + false
     sentry_setup =>
      - false
      + true
*******************************************
  Service[swh-worker@loader_high_priority] =>
   parameters =>
     enable =>
      - true
     ensure =>
      + stopped
*******************************************
  Systemd::Dropin_file[swh-worker@loader_high_priority/parameters.conf] =>
   parameters =>
     content =>
      - # Managed by puppet - modifications will be overwritten
# In defined class profile::swh::deploy::worker::instance

[Service] Environment=CONCURRENCY=1 Environment=MAX_TASKS_PER_CHILD=1 Environment=LOGLEVEL=info

Environment=SWH_WORKER_CLI_EXTRA_ARGS=--events

 ensure =>
  - present
  + absent

*** End octocatalog-diff on worker16.softwareheritage.org

Refs. swh/meta#4949 (closed)

Edited by Antoine R. Dumont

Merge request reports