I misread the issue and thought sed was missing for some reason.
It was actually a missing secret in the application in charge of installing secrets in the production cluster.
It's fixed now.
It's still ongoing but origins got listed already:
2023-05-26 14:50:28 swh-scheduler@db1:5432 λ select now(), visit_type, count(*) from listed_origins where lister_id=(select id from listers where name='pubdev') group by visit_type;+-------------------------------+------------+-------+| now | visit_type | count |+-------------------------------+------------+-------+| 2023-05-26 12:50:40.771039+00 | pubdev | 41980 |+-------------------------------+------------+-------+(1 row)Time: 946.446 ms
Double checking the configuration, it's configured ok.
Reading the code, it seems that's the lister's behavior [0].
It first reads a list of packages (http request) [1] and for each package, fetch extra package information (another http request) [2].
It seems to flush every 1k origins found [3], so 1k requests prior to actually write something in the db (well 1001 for the first round but who's counting ;).
Stracing the process from the rancher-node-metal02 (where it runs), it's not stale either.
So it's all fine.
I'm just gonna let it run and get back to this later.
Regarding resources, it's all well and dandy too (so no issue there either).
(I had already checked it was fine with the staging one and kept the same resource configuration).
"tout vient a point a qui sait attendre".
It's done.
It's probably worth an issue on that lister so it flushes more regularly its origins though...
That's [2] for ya'.
[0]
2023-05-26 16:02:55 softwareheritage-scheduler@belvedere:5432 λ select now(), visit_type, count(*) from listed_origins where lister_id=(select id from listers where name='pubdev') group by visit_type;+-------------------------------+------------+-------+| now | visit_type | count |+-------------------------------+------------+-------+| 2023-05-26 15:18:53.425956+00 | pubdev | 41736 |+-------------------------------+------------+-------+(1 row)Time: 742.238 ms