Page MenuHomeSoftware Heritage

Drop no longer running scheduler_archive_tasks service
ClosedPublic

Authored by ardumont on Dec 9 2021, 11:01 AM.

Details

Summary

The service has long been stopped. The code is now being phased out. So cleaning this
up.

Related to T3782

Test Plan

octo diff on both scheduler nodes (scheduler0.staging and saatchi):

$SWH_PUPPET_ENVIRONMENT_HOME/bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging scheduler0.internal.staging.swh.network
*** Running octocatalog-diff on host scheduler0.internal.staging.swh.network
I, [2021-12-09T10:59:07.568854 #1174458]  INFO -- : Catalogs compiled for scheduler0.internal.staging.swh.network
I, [2021-12-09T10:59:07.892598 #1174458]  INFO -- : Diffs computed for scheduler0.internal.staging.swh.network
diff origin/production/scheduler0.internal.staging.swh.network current/scheduler0.internal.staging.swh.network
*******************************************
- Concat_file[profile::cron::default]
*******************************************
- Concat_fragment[profile::cron::default::_header]
*******************************************
- Concat_fragment[profile::cron::scheduler_archive_tasks]
*******************************************
- Cron[archive_completed_oneshot_and_disabled_recurring_tasks]
*******************************************
- File[/etc/cron.d/puppet-default]
*******************************************
  File[/etc/softwareheritage/scheduler/elastic.yml] =>
   parameters =>
     ensure =>
      - present
      + absent
*******************************************
- Profile::Cron::D[scheduler_archive_tasks]
*******************************************
- Profile::Cron::File[default]
*******************************************
*** End octocatalog-diff on scheduler0.internal.staging.swh.network

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Drop unnecessary @archive_config (which would not work actually?!)

This revision is now accepted and ready to land.Dec 9 2021, 11:05 AM
ardumont retitled this revision from Drop scheduler_archive_tasks service to Drop no longer running scheduler_archive_tasks service.Dec 9 2021, 11:05 AM
ardumont edited the summary of this revision. (Show Details)