Content-View not synced to all proxies

What version of tfm-pulpcore-python3-pulp-rpm do you have installed? If it is at least 3.17.7, then that includes the fix I suspected would fix your problem. If you are still getting the error then, it is likely a new bug and we need to open a new pulp_rpm issue here: Issues · pulp/pulp_rpm · GitHub

Currently I have this version installed on the main katello server and one proxy.

http://koji.katello.org/releases/yum/pulpcore-3.16/el7/x86_64/tfm-pulpcore-python3-importlib-resources-5.0.0-3.el7.noarch.rpm

This was to overcome the problem where foreman-installer would fail.

Yes, but what version of the package tfm-pulpcore-python3-pulp-rpm do you have installed?

Sorry, didn’t read it carefully. To much stuff going on at the moment:

[root@katello ~]# rpm -qa tfm-pulpcore-python3-pulp-rpm
tfm-pulpcore-python3-pulp-rpm-3.17.5-3.el7.noarch

[root@gedapvl05 ~]# rpm -qa tfm-pulpcore-python3-pulp-rpm
tfm-pulpcore-python3-pulp-rpm-3.17.7-1.el7.noarch

I’m missing the new package on the main katello server. Will do the update now and the downgrade of tfm-pulpcore-python3-importlib-resources.

Once that is done I will do a fresh sync, publish content-view and then check if the error still pops up.

1 Like

Seems to be working fine now. :slight_smile:

Still a bit odd that I have to downgrade to

http://koji.katello.org/releases/yum/pulpcore-3.16/el7/x86_64/tfm-pulpcore-python3-importlib-resources-5.0.0-3.el7.noarch.rpm

but it solves my issues and this saves my day.

Thanks a lot guys

The downgrade problem was a miss-tag in our Koji, it should have the updated package right now.

5.4 should be present in 3.16 repos.

Great. What about 3.18. Will there also be an updated version of the package?

Only a release bump on 3.18 because it was built with python 3.9, 3.16 runs with python 3.8.

Ok, so in my case I use the 3.18 repos. I guess this is the default for Katello 4.3. Can I safely install the version from this repo and the problems should also be fixed?

Hi,

sorry to pick up this old thread but the problem has re-appeared. Not only SLES repos but also CentOS 8 Stream and Rocky Linux 8.x are affected. I installed all the latest updates on all foreman / katello hosts and now again some products / repos are not synced to the smart-proxies. Currently I’m still on CentOS 7 with foreman 3.3 / Katello 4.5. I had the following line in my /etc/yum.conf:

exclude=tfm-pulpcore-python3-importlib-resources.noarch

to ensure that the package is not upgraded, since it was causing the initial problems. Here is what I have tried so far:

remove the exclude=tfm-pulpcore-python3-importlib-resources.noarch from yum.conf and install all latest updates

create a completely new smart-proxy with all the latest updates

downgrad the package tfm-pulpcore-python3-importlib-resources.noarch on the new smart proxy.

None of the above did solve the issue. These are the errors that I see when running a manual sync on a proxy:

The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (469b2c15-9128-4747-aa98-d26dba4f9091, SUSE-SLE-Module-CAP-Tools-15-SP1-2019-1220, null, This update for cf-cli fixes the following issues:

cf-cli was u..., null, maint-coord@suse.de, stable, Security update for cf-cli, , 1, security, moderate, , SUSE Updates SLE-Module-CAP-Tools 15-SP1 x86 64, , , 1184cf6de95573276e30a2246b2d09c28e248167a4eec7222f2dd66a4919c7bb, f).
Could not lookup a publication_href for repo 17836The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (45098f2b-bc7c-4616-bffa-2d1bc6bac6cf, SUSE-SLE-Module-CAP-Tools-15-SP1-2019-1220, null, This update for cf-cli fixes the following issues:

cf-cli was u..., null, maint-coord@suse.de, stable, Security update for cf-cli, , 1, security, moderate, , SUSE Updates SLE-Module-CAP-Tools 15-SP1 x86 64, , , 1184cf6de95573276e30a2246b2d09c28e248167a4eec7222f2dd66a4919c7bb, f).
Could not lookup a publication_href for repo 18331The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (38cdbca2-3fd3-4763-9d96-be634502035d, SUSE-SLE-Module-CAP-Tools-15-SP1-2019-1220, null, This update for cf-cli fixes the following issues:

cf-cli was u..., null, maint-coord@suse.de, stable, Security update for cf-cli, , 1, security, moderate, , SUSE Updates SLE-Module-CAP-Tools 15-SP1 x86 64, , , 1184cf6de95573276e30a2246b2d09c28e248167a4eec7222f2dd66a4919c7bb, f).
Could not lookup a publication_href for repo 12957null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (cd1c18c8-a962-436a-953f-91821f89c9db, SUSE-SLE-Module-CAP-Tools-15-SP1-2019-1220, null, This update for cf-cli fixes the following issues:

cf-cli was u..., null, maint-coord@suse.de, stable, Security update for cf-cli, , 1, security, moderate, , SUSE Updates SLE-Module-CAP-Tools 15-SP1 x86 64, , , 1184cf6de95573276e30a2246b2d09c28e248167a4eec7222f2dd66a4919c7bb, f).
Could not lookup a publication_href for repo 18134The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (3e3c31da-510a-44a5-a0c3-0663700f2ca2, SUSE-SLE-Module-CAP-Tools-15-SP1-2019-1220, null, This update for cf-cli fixes the following issues:

cf-cli was u..., null, maint-coord@suse.de, stable, Security update for cf-cli, , 1, security, moderate, , SUSE Updates SLE-Module-CAP-Tools 15-SP1 x86 64, , , 1184cf6de95573276e30a2246b2d09c28e248167a4eec7222f2dd66a4919c7bb, f).
null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (58ee96ab-c9ad-4f26-9a3f-25737cceb9ff, SUSE-SLE-Module-CAP-Tools-15-SP1-2019-1220, null, This update for cf-cli fixes the following issues:

cf-cli was u..., null, maint-coord@suse.de, stable, Security update for cf-cli, , 1, security, moderate, , SUSE Updates SLE-Module-CAP-Tools 15-SP1 x86 64, , , 1184cf6de95573276e30a2246b2d09c28e248167a4eec7222f2dd66a4919c7bb, f).
Could not lookup a publication_href for repo 18496null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (f63310ae-5b72-4320-896a-f09d6a914ee4, SUSE-SLE-Module-CAP-Tools-15-SP1-2019-1220, null, This update for cf-cli fixes the following issues:

cf-cli was u..., null, maint-coord@suse.de, stable, Security update for cf-cli, , 1, security, moderate, , SUSE Updates SLE-Module-CAP-Tools 15-SP1 x86 64, , , 1184cf6de95573276e30a2246b2d09c28e248167a4eec7222f2dd66a4919c7bb, f).
Could not lookup a publication_href for repo 18002null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (d0c49ae0-7032-42d5-9cf6-e5689f939c02, SUSE-SLE-Module-CAP-Tools-15-SP1-2019-1220, null, This update for cf-cli fixes the following issues:

cf-cli was u..., null, maint-coord@suse.de, stable, Security update for cf-cli, , 1, security, moderate, , SUSE Updates SLE-Module-CAP-Tools 15-SP1 x86 64, , , 1184cf6de95573276e30a2246b2d09c28e248167a4eec7222f2dd66a4919c7bb, f).
The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (b4e43774-cbbb-489d-9176-fe66cff8efb4, SUSE-SLE-Product-SLES-15-SP1-2020-2662, null, This update for release-notes-sles fixes the following issues:

..., null, maint-coord@suse.de, stable, Recommended update for release-notes-sles, , 1, recommended, low, , SUSE Updates SLE-Product-SLES 15-SP1 x86 64, , , 4842b6d8fad1f6be741f8e8b19f74f2f31dec0d09f9731ace6e37c80374be522, f).
null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (dc444f36-1400-4269-8c41-1569309aed97, SUSE-SLE-Product-SLES-15-SP1-2020-2662, null, This update for release-notes-sles fixes the following issues:

..., null, maint-coord@suse.de, stable, Recommended update for release-notes-sles, , 1, recommended, low, , SUSE Updates SLE-Product-SLES 15-SP1 x86 64, , , 4842b6d8fad1f6be741f8e8b19f74f2f31dec0d09f9731ace6e37c80374be522, f).
null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (d6eada5f-cae5-4769-b2d9-d1749d78e8c3, SUSE-SLE-Product-SLES-15-SP1-2020-2662, null, This update for release-notes-sles fixes the following issues:

..., null, maint-coord@suse.de, stable, Recommended update for release-notes-sles, , 1, recommended, low, , SUSE Updates SLE-Product-SLES 15-SP1 x86 64, , , 4842b6d8fad1f6be741f8e8b19f74f2f31dec0d09f9731ace6e37c80374be522, f).
Could not lookup a publication_href for repo 18079null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (cceee5ab-9352-4abb-a31f-d99b9f46852b, SUSE-SLE-Product-SLES-15-SP1-2020-2662, null, This update for release-notes-sles fixes the following issues:

..., null, maint-coord@suse.de, stable, Recommended update for release-notes-sles, , 1, recommended, low, , SUSE Updates SLE-Product-SLES 15-SP1 x86 64, , , 4842b6d8fad1f6be741f8e8b19f74f2f31dec0d09f9731ace6e37c80374be522, f).
Could not lookup a publication_href for repo 17903null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (c54f11b9-a985-4a0c-8c28-39975f5d997d, SUSE-SLE-Product-SLES-15-SP1-2020-2662, null, This update for release-notes-sles fixes the following issues:

..., null, maint-coord@suse.de, stable, Recommended update for release-notes-sles, , 1, recommended, low, , SUSE Updates SLE-Product-SLES 15-SP1 x86 64, , , 4842b6d8fad1f6be741f8e8b19f74f2f31dec0d09f9731ace6e37c80374be522, f).
Could not lookup a publication_href for repo 18069null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (d2ac76d2-7abe-4d17-94af-554f4e19fb39, SUSE-SLE-Product-SLES-15-SP1-2020-2662, null, This update for release-notes-sles fixes the following issues:

..., null, maint-coord@suse.de, stable, Recommended update for release-notes-sles, , 1, recommended, low, , SUSE Updates SLE-Product-SLES 15-SP1 x86 64, , , 4842b6d8fad1f6be741f8e8b19f74f2f31dec0d09f9731ace6e37c80374be522, f).
Could not lookup a publication_href for repo 18417null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (60669f1f-86c8-4c7c-95ca-dafe5240eee4, SUSE-SLE-Product-SLES-15-SP1-2020-2662, null, This update for release-notes-sles fixes the following issues:

..., null, maint-coord@suse.de, stable, Recommended update for release-notes-sles, , 1, recommended, low, , SUSE Updates SLE-Product-SLES 15-SP1 x86 64, , , 4842b6d8fad1f6be741f8e8b19f74f2f31dec0d09f9731ace6e37c80374be522, f).
Could not lookup a publication_href for repo 18410null value in column "issued_date" violates not-null constraint
DETAIL:  Failing row contains (b1ab18ed-a1b4-4275-b189-874f41a77a53, SUSE-SLE-Product-SLES-15-SP1-2020-2662, null, This update for release-notes-sles fixes the following issues:

..., null, maint-coord@suse.de, stable, Recommended update for release-notes-sles, , 1, recommended, low, , SUSE Updates SLE-Product-SLES 15-SP1 x86 64, , , 4842b6d8fad1f6be741f8e8b19f74f2f31dec0d09f9731ace6e37c80374be522, f).
Could not lookup a publication_href for repo 12963The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/Library/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_Foreman_Client_x86_64/CentOS_7_Foreman_Client_x86_64')Could not lookup a publication_href for repo 13063404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/prod/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_Foreman_Client_x86_64/CentOS_7_Foreman_Client_x86_64')The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/Library/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_Zabbix_x86_64/CentOS_7_Zabbix_x86_64')Could not lookup a publication_href for repo 13068The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/prod/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_Zabbix_x86_64/CentOS_7_Zabbix_x86_64')404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/prod/Comp_Linux_CentOS_7_x86_64/custom/EL_7_Docker_CE_x86_64/EL_7_Docker_CE_x86_64')404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/Library/Comp_Linux_CentOS_7_x86_64/custom/EL_7_Docker_CE_x86_64/EL_7_Docker_CE_x86_64')Could not lookup a publication_href for repo 13066The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"Pulp task errorPulp task errorPulp task errorPulp task errorCould not lookup a publication_href for repo 13150Pulp task errorPulp task errorCould not lookup a publication_href for repo 14450Pulp task errorPulp task errorPulp task error404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/Library/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_Puppet_6_x86_64/CentOS_7_Puppet_6_x86_64')Could not lookup a publication_href for repo 13065Pulp task error404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/prod/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_Puppet_6_x86_64/CentOS_7_Puppet_6_x86_64')Could not lookup a publication_href for repo 13075Pulp task errorPulp task error404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/Library/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_x86_64/CentOS_7_Extra_x86_64')Could not lookup a publication_href for repo 13071404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/prod/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_x86_64/CentOS_7_Extra_x86_64')The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"The "Complete Mirroring" mirroring policy is not compatible with this repository.  You may want to update it to use "Content Only"404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/Library/Comp_Linux_CentOS_7_x86_64/custom/EL_7_Kubernetes_x86_64/EL_7_Kubernetes_x86_64')Could not lookup a publication_href for repo 13069404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/prod/Comp_Linux_CentOS_7_x86_64/custom/EL_7_Kubernetes_x86_64/EL_7_Kubernetes_x86_64')Pulp task errorPulp task errorPulp task errorPulp task error404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/Library/Comp_Linux_CentOS_7_x86_64/custom/Elasticsearch_7_x/Elasticsearch_7_x')Could not lookup a publication_href for repo 13070Pulp task errorPulp task errorCould not lookup a publication_href for repo 14992404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/prod/Comp_Linux_CentOS_7_x86_64/custom/Elasticsearch_7_x/Elasticsearch_7_x')Pulp task errorPulp task errorinsert or update on table "core_repositorycontent" violates foreign key constraint "core_repositoryconte_version_added_id_d5113f18_fk_core_repo"
DETAIL:  Key (version_added_id)=(624fca29-fdc9-4e9c-a227-8bb1d19a3e39) is not present in table "core_repositoryversion".
duplicate key value violates unique constraint "core_repositoryversion_repository_id_number_3c54ce50_uniq"
DETAIL:  Key (repository_id, number)=(a7c5b85d-789e-4fe8-9d7b-5d56708d2845, 13) already exists.
404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/prod/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_x86_64/CentOS_7_OS_x86_64')404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/Library/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_x86_64/CentOS_7_OS_x86_64')Could not lookup a publication_href for repo 13067404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/prod/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_EPEL_x86_64/CentOS_7_EPEL_x86_64')404, message='Not Found', url=URL('https://katello.a.space.corp/pulp/content/Telespazio_VEGA_Deutschland_GmbH/Library/Comp_Linux_CentOS_7_x86_64/custom/CentOS_7_EPEL_x86_64/CentOS_7_EPEL_x86_64')Could not lookup a publication_href for repo 13064

Ok, I managed to get it working almost 100%. I had to remove my the lock from the /etc/yum.conf

#exclude=tfm-pulpcore-python3-importlib-resources.noarch

run

yum update

resync the failed repos and publish a new version of the corresponding content-views.

Two SLES 15.1 content-views are still failing to sync but this seems to be a known bug/problem. At least I once found a bug report for this. Unfortunately I'm not able to find it any longer.

Best Regards,
Oliver


Ok found the bug report again.

https://bugzilla.redhat.com/show_bug.cgi?id=2055336

It seems to be an issue with Pulp2. I guess even though I did the upgrade to Pulp3, the proxies are still on pulp2? We will soon migrate to Katello 4.6 maybe the problem doesn’t exist here?

I just had a look on all my other proxies and still some non SLES repos are not syncing. :frowning:

This is strange as on some other proxies the repos are synced just fine.

Did not read the whole thread, but maybe this information will help: I think the development goal is for Katello version N-1 smart proxies to work with Katello version N. In other words once you are two or more Katello Y versions apart from your server to your smart proxies, no one has tested that. If you are at most one version apart, then that is officially supported. That is the goal/policy.

I would not be surprised if there are some weird edge cases when the proxy is on Pulp 2 and the server on Pulp 3 even if you are only one Katello version (or even no Katello versions) apart, even though this is officially supported…