Centos 7 os repo not syncing correctly

Problem: unable to do a unattended install of centos 7 from CV, installer stops due to “Error selecting software selection”. This same provisioning template works as expected when using the official centos mirror. When i browse pulp/content directory in a browser i can see that the repomd directory is not the same as the official mirror-although the sync status reports complete.
i had a similar issue earlier where the images folder was not being synced, this was resolved by selecting the repo>Advanced Sync>Optimized sync.

Expected outcome: perform unattended install of centos 7 machine from CV

Foreman and Proxy versions:
foreman.noarch 2.5.2-1.el8
katello.noarch 4.1.2-1.el8
Foreman and Proxy plugin versions:
python3-pulpcore.noarch 3.14.1-1.el8
Distribution and version:
CentOS Linux release 8.4.2105
4.18.0-305.10.2.el8_4.x86_64
4vCPU 16GB RAM
Other relevant data:

The metadata must match the content of your content view. It’s generated by Katello and thus cannot be identical to the upstream metadata…

Which CV are you using? One you created, or the Default Organization View?

i am using a CV i have created, which contains 2 repos, os and extra which both have successful syncs
i am using @core in my kickstart,
i can see this group exists when i navigate the published CV, under rpm packages groups

i created centos 8 and centos 8 stream products and synced the repos, then created a CV-this resulted in the install stopping with conflicting requests/nothing provides errors. This led me to
https://pulp.plan.io/issues/9107
i updated katello to 4.1.2.1.1 and ran the repair script-all packages had broken metadata.
republished repository metadata for each repository and published a new version of CV
i can now perform unsttended installs using v7 and v8 CV’s

2 Likes