[Pulp-list] pulp 3.3 content server not able to retrieve pkg.

Tatiana Tereshchenko ttereshc at redhat.com
Fri May 29 08:30:01 UTC 2020


Hi Bin,

Can you browse your published repo, if you go to your base url
http://ip-1-76-158-244.drr1.bcpc.bloomberg.com/pulp/content/system3rdparty/7.3
?
I'd expect to see at least two directories there, Packages and repodata.

In 3.3 the published layout changed, RPM are published in the Packages/x
directories, where x is the first char of the packages name,  see
https://pulp.plan.io/issues/4445.
Please try wget
http://localhost:24816/pulp/content/system3rdparty/7.3/Packages/a/admin-python-36-3.6.5-2.el7.x86_64.rpm
.

Best regards,
Tanya


On Fri, May 29, 2020 at 5:37 AM Bin Li (BLOOMBERG/ 120 PARK) <
bli111 at bloomberg.net> wrote:

> We did a fresh install of 3.3. After sysing repos from remote, got 404
> error when try to retrieve the packages from repo.
>
> # wget
> http://localhost:24816/pulp/content/system3rdparty/7.3/admin-python-36-3.6.5-2.el7.x86_64.rpm
> --2020-05-28 23:31:05--
> http://localhost:24816/pulp/content/system3rdparty/7.3/admin-python-36-3.6.5-2.el7.x86_64.rpm
> Resolving localhost (localhost)... 127.0.0.1
> Connecting to localhost (localhost)|127.0.0.1|:24816... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2020-05-28 23:31:06 ERROR 404: Not Found.
>
>
> We are able to see the rpm though api but not able to wget
> Here are the info of the distribution, publication, and repo.
>
> {'base_path': 'system3rdparty/7.3',
> 'base_url': '
> http://ip-1-76-158-244.drr1.bcpc.bloomberg.com/pulp/content/system3rdparty/7.3
> ',
> 'content_guard': None,
> 'name': 'systems_third_party_rhel7.3',
> 'publication':
> '/pulp/api/v3/publications/rpm/rpm/78ed2012-feb1-452c-bf0f-20c877afc3a0/',
> 'pulp_created': datetime.datetime(2020, 5, 9, 5, 11, 47, 639184,
> tzinfo=tzutc()),
> 'pulp_href':
> '/pulp/api/v3/distributions/rpm/rpm/7134856d-de97-4ef1-a425-241a9f425c63/'}
> {'metadata_checksum_type': 'sha256',
> 'package_checksum_type': 'sha256',
> 'pulp_created': datetime.datetime(2020, 5, 28, 20, 33, 36, 140455,
> tzinfo=tzutc()),
> 'pulp_href':
> '/pulp/api/v3/publications/rpm/rpm/78ed2012-feb1-452c-bf0f-20c877afc3a0/',
> 'repository':
> '/pulp/api/v3/repositories/rpm/rpm/bda99ecf-90da-4a18-ae84-baf86c3ba1da/',
> 'repository_version':
> '/pulp/api/v3/repositories/rpm/rpm/bda99ecf-90da-4a18-ae84-baf86c3ba1da/versions/7/'}
> {'description': 'system party 7.3',
> 'latest_version_href':
> '/pulp/api/v3/repositories/rpm/rpm/bda99ecf-90da-4a18-ae84-baf86c3ba1da/versions/7/',
> 'metadata_signing_service': None,
> 'name': 'systems_third_party_rhel7.3',
> 'pulp_created': datetime.datetime(2020, 5, 9, 5, 6, 8, 781604,
> tzinfo=tzutc()),
> 'pulp_href':
> '/pulp/api/v3/repositories/rpm/rpm/bda99ecf-90da-4a18-ae84-baf86c3ba1da/',
> 'versions_href':
> '/pulp/api/v3/repositories/rpm/rpm/bda99ecf-90da-4a18-ae84-baf86c3ba1da/versions/'}
>
>
> # ./sget status
> {
> "versions": [
> {
> "component": "pulpcore",
> "version": "3.3.1"
> },
> {
> "component": "pulp_rpm",
> "version": "3.3.2"
> },
> {
> "component": "pulp_file",
> "version": "0.3.0"
> }
> ],
> "online_workers": [
> {
> "pulp_href": "/pulp/api/v3/workers/86605b78-6d6b-4ad4-bb8f-cf9885c5f90d/",
> "pulp_created": "2020-05-09T05:05:55.272910Z",
> "name": "resource-manager",
> "last_heartbeat": "2020-05-29T03:35:29.913501Z"
> },
> {
> "pulp_href": "/pulp/api/v3/workers/b373a038-e8bc-4207-aba3-eefc816cadb3/",
> "pulp_created": "2020-05-29T02:58:28.912571Z",
> "name": "116841 at ip-1-76-158-244.drr1.bcpc.bloomberg.com",
> "last_heartbeat": "2020-05-29T03:35:32.817973Z"
> },
> {
> "pulp_href": "/pulp/api/v3/workers/e9b7b7c2-c86d-4d2d-b887-17b48d16dc41/",
> "pulp_created": "2020-05-29T02:58:29.248424Z",
> "name": "116853 at ip-1-76-158-244.drr1.bcpc.bloomberg.com",
> "last_heartbeat": "2020-05-29T03:35:33.419618Z"
> }
> ],
> "online_content_apps": [
> {
> "name": "116838 at ip-1-76-158-244.drr1.bcpc.bloomberg.com",
> "last_heartbeat": "2020-05-29T03:35:28.815660Z"
> },
> {
> "name": "116837 at ip-1-76-158-244.drr1.bcpc.bloomberg.com",
> "last_heartbeat": "2020-05-29T03:35:28.818255Z"
> }
> ],
> "database_connection": {
> "connected": true
> },
> "redis_connection": {
> "connected": true
> },
> "storage": {
> "total": 21463281664,
> "used": 18353487872,
> "free": 3109793792
> }
> }
>
> We never had issues with this in all previous pulp 3 release. Please help.
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20200529/8270e344/attachment.htm>


More information about the Pulp-list mailing list