It includes a fix to *again* unstuck the nixguix loader.
- [x] Tag (@vlorentz did)
- [x] release package ok
- [x] Deploy on workers
- [x] Restart swh-worker@loader_nixguix service [1]
- [x] Trigger the loader nixguix again [12]
- [x] Restart other swh-workers@loader_$package for package in {deposit, debian, ...} [3]
- [x] Restart other swh-workers@loader_$package for package in {deposit, debian, ...}
- [x] Is the nixguix unstuck? -> No.
- [x] Report issue
- [x] D6816: Review fix
- [ ] loop over the first instructions for v2.1.1 (when tagged)
[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'
```