Katello 4.3 - repo sync warning

Problem:
My pulpcore 3.16 repo throws the following warning when syncing:

null value in column "context" violates not-null constraint
DETAIL:  Failing row contains (63292bf0-4caa-4501-a54a-9203fbc5cc8d, pulpcore, el8, 31620220309215204, null, x86_64, [{"platform": ["el8"], "python38": ["3.8"]}], ["ansible-lint-0:5.0.8-3.el8.noarch", "createrepo_c-0:0.17.7-4.1..., f).

Expected outcome:
Repo syncs without warning

Foreman and Proxy versions:
3.1.2

Foreman and Proxy plugin versions:
python38-pulp-rpm-3.17.3-2.el8.noarch

Distribution and version:
CentOS 8 stream

Other relevant data:
I have run foreman-installer --scenario=katello to ensure I’m not missing any migrations or other pending changes (after being a bit of a “frequent flyer” on that problem!). I have run “Advanced Sync” on the repo with the same result. This is the only repo I’m currently seeing sync problems with, and my current repos include Fedora 35, EPEL 8, CentOS 8 Stream CentOS 9 Stream, EPEL 9, Docker, PGDG, and a few others.

There’s another thread if you wouldn’t mind tracking it there: Pulpcore 3.16 repo issue

I think it’s related to the actual repo rather than a syncing bug.

1 Like

The explanation there makes sense - and the repo synced successfully just now.