Rename loader_functional into loader_nixguix
still only running in staging infra
Related to D2875
Test Plan
octocatalog
expectedly, loader_functional migrates to loader_nixguix on staging nodes
bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging worker0.internal.staging.swh.network
Found host worker0.internal.staging.swh.network
WARN -> Environment "add-validation-server-side" contained non-word characters, correcting name to add_validation_server_side
Cloning into '/tmp/swh-ocd.YmkEDkCS/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.YmkEDkCS/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host worker0.internal.staging.swh.network
I, [2020-03-27T07:59:50.837444 #30779] INFO -- : Catalogs compiled for worker0.internal.staging.swh.network
I, [2020-03-27T07:59:51.789407 #30779] INFO -- : Diffs computed for worker0.internal.staging.swh.network
diff origin/production/worker0.internal.staging.swh.network current/worker0.internal.staging.swh.network
*******************************************
- File[/etc/softwareheritage/loader_functional.yml]
*******************************************
+ File[/etc/softwareheritage/loader_nixguix.yml] =>
parameters =>
"ensure": "present"
"group": "swhworker"
"mode": "0644"
"owner": "swhworker"
"content": >>>
---
storage:
cls: pipeline
steps:
- cls: retry
- cls: filter
- cls: buffer
min_batch_size:
content: 1000
content_bytes: 52428800
directory: 1000
revision: 1000
release: 1000
- cls: remote
args:
url: http://storage0.internal.staging.swh.network:5002/
max_content_size: 104857600
celery:
task_broker: amqp://swhconsumer:swh::deploy::worker::task_broker::password@scheduler0.internal.staging.swh.network:5672/%2f
task_queues:
- swh.loader.package.nixguix.tasks.LoadNixGuix
<<<
*******************************************
- File[/etc/systemd/system/swh-worker@loader_functional.service.d/parameters.conf]
*******************************************
- File[/etc/systemd/system/swh-worker@loader_functional.service.d]
*******************************************
+ File[/etc/systemd/system/swh-worker@loader_nixguix.service.d/parameters.conf] =>
parameters =>
"ensure": "file"
"group": "root"
"mode": "0444"
"notify": ["Class[Systemd::Systemctl::Daemon_reload]"]
"owner": "root"
"show_diff": true
"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=5
Environment=LOGLEVEL=info
Environment=SWH_SENTRY_DSN=swh::deploy::loader_core::sentry_dsn
Environment=SWH_SENTRY_ENVIRONMENT=staging
Environment=SWH_MAIN_PACKAGE=swh.loader.core
PrivateTmp=true
<<<
*******************************************
+ File[/etc/systemd/system/swh-worker@loader_nixguix.service.d] =>
parameters =>
"ensure": "directory"
"group": "root"
"owner": "root"
"purge": true
"recurse": true
*******************************************
- Profile::Swh::Deploy::Worker::Instance[loader_functional]
*******************************************
+ Profile::Swh::Deploy::Worker::Instance[loader_nixguix] =>
parameters =>
"ensure": "present"
"instance_name": "loader_nixguix"
"merge_policy": "deep"
"private_tmp": true
"sentry_name": "loader_core"
*******************************************
- Service[swh-worker@loader_functional]
*******************************************
+ Service[swh-worker@loader_nixguix] =>
parameters =>
"enable": true
*******************************************
- Systemd::Dropin_file[swh-worker@loader_functional/parameters.conf]
*******************************************
+ Systemd::Dropin_file[swh-worker@loader_nixguix/parameters.conf] =>
parameters =>
"daemon_reload": "lazy"
"ensure": "present"
"filename": "parameters.conf"
"group": "root"
"mode": "0444"
"owner": "root"
"path": "/etc/systemd/system"
"show_diff": true
"unit": "swh-worker@loader_nixguix.service"
"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=5
Environment=LOGLEVEL=info
Environment=SWH_SENTRY_DSN=swh::deploy::loader_core::sentry_dsn
Environment=SWH_SENTRY_ENVIRONMENT=staging
Environment=SWH_MAIN_PACKAGE=swh.loader.core
PrivateTmp=true
<<<
*******************************************
*** End octocatalog-diff on worker0.internal.staging.swh.network
Migrated from D2894 (view on Phabricator)