Open mayaCostantini opened 2 years ago
/sig stack-guidance /kind bug /priority critical-urgent
As there has been much packages included to pulp and the instance seems to be down.
we have disabled those index on our systems:
https://management.stage.thoth-station.ninja/api/v1/python-package-index
"disabled": [
{
"only_if_package_seen": false,
"url": "https://pulp.operate-first.cloud/pypi/gym-donkeycar/simple",
"verify_ssl": true,
"warehouse_api_url": null
},
{
"only_if_package_seen": false,
"url": "https://pulp.operate-first.cloud/pypi/test/simple",
"verify_ssl": true,
"warehouse_api_url": null
},
{
"only_if_package_seen": false,
"url": "https://pulp.operate-first.cloud/pypi/hello-world/simple",
"verify_ssl": true,
"warehouse_api_url": null
}
],
This should fix the issue for now. Keeping this issue open to view if we see changes.
Next steps:
Describe the bug
When checking package availability during package-update-job, some sources used in
_check_package_availability
are missing apackages
field, causing an unhandled KeyError:Concerned sources are from
https://pulp.operate-first.cloud/pypi/
index. My first guess would be that the method to get packages for Pulp-based sources fails because of the way it parses the index page: see https://github.com/thoth-station/python/blob/299d6ece8a8392c7fe2d3ef5015684bf355bbfa1/thoth/python/aiosource.py#L251To Reproduce See Sentry report for Oct. 19, 2022, 12:00:24 p.m. UTC in
ocp4-stage
.Expected behavior Packages can be gathered for Pulp sources.