Deploy swh.loader.core v2.1
It includes a fix to again unstuck the nixguix loader. Previous fixes (T3763) only unstuck it once and then fails on subsequent ones.
-
Tag (@vlorentz did)
-
release package ok
-
Deploy on workers
-
Set tag on grafana about the deployment
-
Restart swh-worker@loader_nixguix service [1]
-
Trigger the loader nixguix again [2]
-
Restart other swh-workers@loader_$package for package in {deposit, debian, ...} [3]
-
Is the nixguix unstuck? -> No.
-
Report issue
-
D6816: Review fix
-
loop over the first instructions for v2.1.1 (when tagged)
-
Are nixguix loading visits ok?
-
[1]
root@pergamon:~# clush -b -w @staging-loader-workers -w @swh-workers "systemctl restart swh-worker@loader_nixguix"
- [2]
09:16:33 softwareheritage-scheduler@belvedere:5432=> update task set next_run=now(), status='next_run_not_scheduled' where type='load-nixguix' and status!='disabled';
UPDATE 2
Time: 261.256 ms
09:17:12 softwareheritage-scheduler@belvedere:5432=> select * from task where type='load-nixguix' and status!='disabled';
+-[ RECORD 1 ]-----+------------------------------------------------------------------------------------------------------+
| id | 334411727 |
| type | load-nixguix |
| arguments | {"args": [], "kwargs": {"url": "https://nix-community.github.io/nixpkgs-swh/sources-unstable.json"}} |
| next_run | 2021-12-10 08:17:12.764649+00 |
| current_interval | 1 day |
| status | next_run_scheduled |
| policy | recurring |
| retries_left | 3 |
| priority | (null) |
+-[ RECORD 2 ]-----+------------------------------------------------------------------------------------------------------+
| id | 337282717 |
| type | load-nixguix |
| arguments | {"args": [], "kwargs": {"url": "https://guix.gnu.org/sources.json"}} |
| next_run | 2021-12-10 08:17:12.764649+00 |
| current_interval | 1 day |
| status | next_run_scheduled |
| policy | recurring |
| retries_left | 3 |
| priority | (null) |
+------------------+------------------------------------------------------------------------------------------------------+
Time: 15.690 ms
- [3]
root@pergamon:~# clush -b -w @swh-workers -w @staging-loader-workers 'for type in debian archive cran opam pypi npm deposit; do systemctl restart swh-worker@loader_${type}; done'
Migrated from T3791 (view on Phabricator)