[Pulp-list] CLI Authentication question

Matthias Dellweg mdellweg at redhat.com
Thu May 28 09:46:47 UTC 2020


It returns 404, which does not sound like missing credentials. Are you
sure, the pulp_file plugin is installed? Can you access and may be
post here http://localhost:24817/pulp/api/v3/status/ ?

On Thu, May 28, 2020 at 4:32 AM Daniel Alley <dalley at redhat.com> wrote:
>
> Hello Todd,
>
> I believe the file you're looking for is ~/.netrc  -- https://ec.haxx.se/usingcurl/usingcurl-netrc
>
> I hope that helps!
>
>
> On Wed, May 27, 2020 at 11:21 AM Heide, Todd <Todd.Heide at sccompanies.com> wrote:
>>
>> This is my third attempt at a working Pulp 3 server. I finally got the REST Framework working, but, for the life of me, cannot remember the hidden file that is used under the CLI user to authenticate against the system.  I lost my links recently to docs, and cannot remember what the file was called, and I didn't think to back it up when I tore the server down.  Good news is, the UI appears to be working, and I can log in as admin, but I am not seeing where I can post, put, etc.  Trying to set up a repo via CLI I get
>>
>> http POST http://localhost:24817/pulp/api/v3/repositories/file/file/ name=foo
>> HTTP/1.1 404 Not Found
>> Connection: close
>> Content-Length: 77
>> Content-Type: text/html
>> Date: Wed, 27 May 2020 14:43:01 GMT
>> Server: gunicorn/20.0.4
>> X-Frame-Options: SAMEORIGIN
>>
>> <h1>Not Found</h1><p>The requested resource was not found on this server.</p>
>>
>> I'm thinking that the file I am referring to is the key, but I can't find what I am looking for.
>>
>>
>> _______________________________________________
>> Pulp-list mailing list
>> Pulp-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/pulp-list
>>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list





More information about the Pulp-list mailing list