Install the scheduler-runner-priority in scheduler nodes
This got already deployed in production manually.
Related to T3367
Test Plan
$ bin/octocatalog-diff --to staging saatchi 2>&1
*******************************************
File[/etc/softwareheritage/scheduler/listener-runner.yml] =>
parameters =>
notify =>
- ["Service[swh-scheduler-listener]", "Service[swh-scheduler-runner]"]
+ ["Service[swh-scheduler-listener]", "Service[swh-scheduler-runner-priority]", "Service[swh-scheduler-runner]"]
*******************************************
- File[/etc/systemd/system/swh-scheduler-runner.service]
*******************************************
+ File[/etc/systemd/system/swh-scheduler-swh-scheduler-runner-priority.service] =>
parameters =>
"content": "# Scheduler Runner unit file\n# Managed by puppet class profile:...
"ensure": "file",
"group": "root",
"mode": "0444",
"notify": "Class[Systemd::Systemctl::Daemon_reload]",
"owner": "root",
"show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scheduler-swh-scheduler-runner.service] =>
parameters =>
"content": "# Scheduler Runner unit file\n# Managed by puppet class profile:...
"ensure": "file",
"group": "root",
"mode": "0444",
"notify": "Class[Systemd::Systemctl::Daemon_reload]",
"owner": "root",
"show_diff": true
*******************************************
+ Profile::Swh::Deploy::Scheduler::Runner[swh-scheduler-runner-priority] =>
parameters =>
"config_file": "/etc/softwareheritage/scheduler/listener-runner.yml",
"group": "swhscheduler",
"packages": [
"python3-swh.scheduler"
],
"priority": true,
"sentry_dsn": "https://swh::deploy::scheduler::sentry_token@sentry.softwareh...
"sentry_environment": "production",
"sentry_swh_package": "swh.scheduler",
"service_name": "swh-scheduler-runner-priority",
"user": "swhscheduler"
*******************************************
+ Profile::Swh::Deploy::Scheduler::Runner[swh-scheduler-runner] =>
parameters =>
"config_file": "/etc/softwareheritage/scheduler/listener-runner.yml",
"group": "swhscheduler",
"packages": [
"python3-swh.scheduler"
],
"priority": false,
"sentry_dsn": "https://swh::deploy::scheduler::sentry_token@sentry.softwareh...
"sentry_environment": "production",
"sentry_swh_package": "swh.scheduler",
"service_name": "swh-scheduler-runner",
"user": "swhscheduler"
*******************************************
+ Service[swh-scheduler-runner-priority] =>
parameters =>
"enable": true,
"ensure": "running",
"subscribe": [
"Package[python3-swh.scheduler]"
]
*******************************************
- Systemd::Unit_file[swh-scheduler-runner.service]
*******************************************
+ Systemd::Unit_file[swh-scheduler-swh-scheduler-runner-priority.service] =>
parameters =>
"content": "# Scheduler Runner unit file\n# Managed by puppet class profile:...
"ensure": "present",
"group": "root",
"mode": "0444",
"notify": "Service[swh-scheduler-runner-priority]",
"owner": "root",
"path": "/etc/systemd/system",
"show_diff": true
*******************************************
+ Systemd::Unit_file[swh-scheduler-swh-scheduler-runner.service] =>
parameters =>
"content": "# Scheduler Runner unit file\n# Managed by puppet class profile:...
"ensure": "present",
"group": "root",
"mode": "0444",
"notify": "Service[swh-scheduler-runner]",
"owner": "root",
"path": "/etc/systemd/system",
"show_diff": true
*******************************************
*** End octocatalog-diff on saatchi.internal.softwareheritage.org
$ bin/octocatalog-diff --to staging scheduler0.internal.staging.swh.network
*******************************************
File[/etc/softwareheritage/scheduler/listener-runner.yml] =>
parameters =>
notify =>
- ["Service[swh-scheduler-listener]", "Service[swh-scheduler-runner]"]
+ ["Service[swh-scheduler-listener]", "Service[swh-scheduler-runner-priority]", "Service[swh-scheduler-runner]"]
*******************************************
- File[/etc/systemd/system/swh-scheduler-runner.service]
*******************************************
+ File[/etc/systemd/system/swh-scheduler-swh-scheduler-runner-priority.service] =>
parameters =>
"content": "# Scheduler Runner unit file\n# Managed by puppet class profile:...
"ensure": "file",
"group": "root",
"mode": "0444",
"notify": "Class[Systemd::Systemctl::Daemon_reload]",
"owner": "root",
"show_diff": true
*******************************************
+ File[/etc/systemd/system/swh-scheduler-swh-scheduler-runner.service] =>
parameters =>
"content": "# Scheduler Runner unit file\n# Managed by puppet class profile:...
"ensure": "file",
"group": "root",
"mode": "0444",
"notify": "Class[Systemd::Systemctl::Daemon_reload]",
"owner": "root",
"show_diff": true
*******************************************
+ Profile::Swh::Deploy::Scheduler::Runner[swh-scheduler-runner-priority] =>
parameters =>
"config_file": "/etc/softwareheritage/scheduler/listener-runner.yml",
"group": "swhscheduler",
"packages": [
"python3-swh.scheduler"
],
"priority": true,
"sentry_dsn": "https://swh::deploy::scheduler::sentry_token@sentry.softwareh...
"sentry_environment": "staging",
"sentry_swh_package": "swh.scheduler",
"service_name": "swh-scheduler-runner-priority",
"user": "swhscheduler"
*******************************************
+ Profile::Swh::Deploy::Scheduler::Runner[swh-scheduler-runner] =>
parameters =>
"config_file": "/etc/softwareheritage/scheduler/listener-runner.yml",
"group": "swhscheduler",
"packages": [
"python3-swh.scheduler"
],
"priority": false,
"sentry_dsn": "https://swh::deploy::scheduler::sentry_token@sentry.softwareh...
"sentry_environment": "staging",
"sentry_swh_package": "swh.scheduler",
"service_name": "swh-scheduler-runner",
"user": "swhscheduler"
*******************************************
+ Service[swh-scheduler-runner-priority] =>
parameters =>
"enable": true,
"ensure": "running",
"subscribe": [
"Package[python3-swh.scheduler]"
]
*******************************************
- Systemd::Unit_file[swh-scheduler-runner.service]
*******************************************
+ Systemd::Unit_file[swh-scheduler-swh-scheduler-runner-priority.service] =>
parameters =>
"content": "# Scheduler Runner unit file\n# Managed by puppet class profile:...
"ensure": "present",
"group": "root",
"mode": "0444",
"notify": "Service[swh-scheduler-runner-priority]",
"owner": "root",
"path": "/etc/systemd/system",
"show_diff": true
*******************************************
+ Systemd::Unit_file[swh-scheduler-swh-scheduler-runner.service] =>
parameters =>
"content": "# Scheduler Runner unit file\n# Managed by puppet class profile:...
"ensure": "present",
"group": "root",
"mode": "0444",
"notify": "Service[swh-scheduler-runner]",
"owner": "root",
"path": "/etc/systemd/system",
"show_diff": true
*******************************************
*** End octocatalog-diff on scheduler0.internal.staging.swh.network
Migrated from D5854 (view on Phabricator)