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

Ina Panova ipanova at redhat.com
Fri May 29 08:30:59 UTC 2020


Hi, the publish layout has changed [0]

You will be able to find your package under sorted and alphabetical order.
$ http HEAD http://localhost:24816/pulp/content/pub/centos/7/os/x86_64/
*Packages/z/*zenity-3.28.1-1.el7.x86_64.rpm
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 4184192
Content-Type: application/x-rpm
Date: Fri, 29 May 2020 08:26:47 GMT
Etag: "1303868120"
Last-Modified: Mon, 12 Nov 2018 14:49:52 GMT
Server: lighttpd/1.4.47



(pulp) [vagrant at pulp2-nightly-pulp3-source-centos7 ~]$ http HEAD
http://localhost:24816/pulp/content/pub/centos/7/os/x86_64/zenity-3.28.1-1.el7.x86_64.rpm
HTTP/1.1 404 Not Found
Content-Length: 14
Content-Type: text/plain; charset=utf-8
Date: Fri, 29 May 2020 08:26:59 GMT
Server: Python/3.6 aiohttp/3.6.2



[0] https://pulp.plan.io/issues/4445



--------
Regards,

Ina Panova
Senior Software Engineer| Pulp| Red Hat Inc.

"Do not go where the path may lead,
 go instead where there is no path and leave a trail."


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/4b27d4f0/attachment.htm>


More information about the Pulp-list mailing list