[Pulp-list] 500 Internal Server

Eric VS vs.eric at gmail.com
Mon Apr 12 09:06:12 UTC 2021


Hey Matthias,

I installed Pulp using the pulp_installer Ansible playbook, no errors.

This is the output from `pulp status` since the query using http didn't
work either:

╰─$ (⎈ k8s01.aops-dev.activeops.local:kube-system) pulp status
{
  "versions": [
    {
      "component": "core",
      "version": "3.11.0"
    },
    {
      "component": "rpm",
      "version": "3.10.0"
    }
  ],
  "online_workers": [
    {
      "pulp_created": "2021-03-31T07:59:28.269742Z",
      "pulp_href":
"/pulp/api/v3/workers/77c08991-a27a-49d6-a2c7-87cd8c26877c/",
      "name": "resource-manager",
      "last_heartbeat": "2021-04-12T09:02:03.424149Z"
    },
    {
      "pulp_created": "2021-04-05T06:46:11.689705Z",
      "pulp_href":
"/pulp/api/v3/workers/ed4c9dca-db6d-4d52-9f0b-331a937d2755/",
      "name": "1200 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:03.624644Z"
    },
    {
      "pulp_created": "2021-04-05T06:46:11.689909Z",
      "pulp_href":
"/pulp/api/v3/workers/9d538294-a3aa-48d4-95ab-e0a213bae94f/",
      "name": "1231 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:11.745839Z"
    }
  ],
  "online_content_apps": [
    {
      "name": "1452 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:10.886966Z"
    },
    {
      "name": "1453 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:13.566778Z"
    },
    {
      "name": "1448 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:13.568876Z"
    },
    {
      "name": "1447 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:15.876728Z"
    },
    {
      "name": "1450 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:15.881384Z"
    },
    {
      "name": "1454 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:15.881615Z"
    },
    {
      "name": "1451 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:15.883369Z"
    },
    {
      "name": "1449 at ip-10-80-1-57.ap-northeast-1.compute.internal",
      "last_heartbeat": "2021-04-12T09:02:15.885268Z"
    }
  ],
  "database_connection": {
    "connected": true
  },
  "redis_connection": {
    "connected": true
  },
  "storage": {
    "total": 161008844800,
    "used": 109256830976,
    "free": 51752013824
  }
}

For reference this is the query you requested using api/ve/status

╰─$ (⎈ k8s01.aops-dev.activeops.local:kube-system) http
https://pulp-dev.activeops.io/pulp/api/ve/status
HTTP/1.1 404 Not Found
Access-Control-Expose-Headers: Correlation-ID
Connection: keep-alive
Content-Length: 77
Content-Type: text/html
Correlation-ID: 14cab8b25dc64591a243fd391424924f
Date: Mon, 12 Apr 2021 09:04:06 GMT
Server: nginx/1.16.1
X-Frame-Options: SAMEORIGIN

<h1>Not Found</h1><p>The requested resource was not found on this
server.</p>

Kind regards,

*Eric Van Steenbergen*

*E-mail: vs.eric at gmail.com <vs.eric at gmail.com>*
*Skype: ericvs2014*
*LinkedIn: Eric Van Steenbergen
<http://es.linkedin.com/pub/eric-van-steenbergen/b/8a4/51b>*


On Mon, Apr 12, 2021 at 4:00 AM Matthias Dellweg <mdellweg at redhat.com>
wrote:

> Hi Eric,
> can you provide more info on this?
> Helpful would be:
> How is the server installed? (container, pulp_installer, by hand from pypi)
> What versions of the components are installed? (http https://
> <FQDN>/pulp/api/ve/status)
> Thanks in advance!
>
> On Mon, Apr 12, 2021 at 10:57 AM Eric VS <vs.eric at gmail.com> wrote:
>
>> Hi Matthias,
>>
>> When I run `http https://<FQDN>/pulp/content/` is when I get the 500
>> error.
>> I can query the all the content with the API (pulp rpm
>> repository/remote/publication/distribution) without any issue.
>>
>> Kind regards,
>>
>> *Eric Van Steenbergen*
>>
>> *E-mail: vs.eric at gmail.com <vs.eric at gmail.com>*
>> *Skype: ericvs2014*
>> *LinkedIn: Eric Van Steenbergen
>> <http://es.linkedin.com/pub/eric-van-steenbergen/b/8a4/51b>*
>>
>>
>> On Mon, Apr 12, 2021 at 3:48 AM Matthias Dellweg <mdellweg at redhat.com>
>> wrote:
>>
>>> Can you isolate the command that leads to this server response?
>>>
>>> On Mon, Apr 12, 2021 at 1:55 AM Eric VS <vs.eric at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I've been setting up another Pulp server, replicating repositories from
>>>> my main one for 'local' use in  an environment. When I was adding remotes
>>>> and repositories at one point in time I started getting the below error:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> *HTTP/1.1 500 Internal Server ErrorConnection:
>>>> keep-aliveContent-Length: 55Content-Type: text/plain; charset=utf-8Date:
>>>> Sun, 11 Apr 2021 23:53:14 GMTServer: nginx/1.16.1500 Internal Server
>>>> ErrorServer got itself in trouble*
>>>>
>>>> I have enabled debug on Nginx but can't see anything indicating on why
>>>> this all of a sudden fails.
>>>>
>>>> Any help is greatly appreciated.
>>>>
>>>> Kind regards,
>>>>
>>>> *Eric Van Steenbergen*
>>>>
>>>> *E-mail: vs.eric at gmail.com <vs.eric at gmail.com>*
>>>> *Skype: ericvs2014*
>>>> *LinkedIn: Eric Van Steenbergen
>>>> <http://es.linkedin.com/pub/eric-van-steenbergen/b/8a4/51b>*
>>>> _______________________________________________
>>>> Pulp-list mailing list
>>>> Pulp-list at redhat.com
>>>> https://listman.redhat.com/mailman/listinfo/pulp-list
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20210412/c5a6ce78/attachment.htm>


More information about the Pulp-list mailing list