@gvde it sounds like the distribution in pulp3 on the smart proxy is referring to an older repository version. Or else a new repository version was never created.
On your katello server, it’d be interesting to run:
curl --cert /etc/pki/katello/certs/pulp-client.crt --key /etc/pki/katello/private/pulp-client.key https://$SMART_PROXY_HOSTNAME/pulp/api/v3/repositories/rpm/rpm/60d89e2e-a443-4d56-9c67-e191fd0739d4/
Where your smart proxy’s hostname replaces $SMART_PROXY_HOSTNAME.
That should include the latest version of the repository. You should see something like:
"latest_version_href":"/pulp/api/v3/repositories/rpm/rpm/60d89e2e-a443-4d56-9c67-e191fd0739d4/versions/1/"
Then lets see if there’s a publication that was created from it:
curl --cert /etc/pki/katello/certs/pulp-client.crt --key /etc/pki/katello/private/pulp-client.key https://$SMART_PROXY_HOSTNAME/pulp/api/v3/publications/rpm/rpm/?repository_version=$REPOSITORY_VERSION_HREF
replacing $REPOSITORY_VERSION_HREF with the latest version href from above.
That will give something like:
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"pulp_href": "/pulp/api/v3/publications/rpm/rpm/776af70c-f09f-4eee-9d24-fa005bc73020/",
"pulp_created": "2022-02-08T20:44:08.296472Z",
"repository_version": "/pulp/api/v3/repositories/rpm/rpm/09b8d64d-2cba-4233-a534-5fa297467b83/versions/1/",
"repository": "/pulp/api/v3/repositories/rpm/rpm/09b8d64d-2cba-4233-a534-5fa297467b83/",
"metadata_checksum_type": "sha256",
"package_checksum_type": "sha256",
"gpgcheck": 0,
"repo_gpgcheck": 0,
"sqlite_metadata": false
}
]
}
So we can get our publication_href of /pulp/api/v3/publications/rpm/rpm/776af70c-f09f-4eee-9d24-fa005bc73020/
Lets switch over to the pulp database On the smart proxy:
sudo -u postgres psql pulpcore
pulpcore=# select base_path, publication_id from core_distribution;
base_path | publication_id
----------------------------------------------+--------------------------------------
Default_Organization/Library/custom/test/zoo | 776af70c-f09f-4eee-9d24-fa005bc73020
In theory you should see the base_path for that repository, along side the publication_id from the previous step. I’m curious what all yours shows.