Re: [Pulp-list] pulpcore-client 3.2 ldap authentication

2020-04-21 Thread Bin Li (BLOOMBERG/ 120 PARK)
This setting actually failed to restart pulp. See errors below. Apr 21 21:56:27 ip-1-76-158-49 gunicorn[24414]: NameError: name 'REST_FRAMEWORK' is not defined Apr 21 21:56:27 ip-1-76-158-49 gunicorn[24414]: [2020-04-21 21:56:27 -0400] [24417] [INFO] Worker exiting (pid: 24417) Apr 21 21:56:27

Re: [Pulp-list] pulpcore-client 3.2 ldap authentication

2020-04-21 Thread Bin Li (BLOOMBERG/ 120 PARK)
Yes, I did # pip list |grep dynaconf dynaconf3.0.0rc1 From: dkli...@redhat.com At: 04/21/20 20:01:00To: Bin Li (BLOOMBERG/ 120 PARK ) Cc: pulp-list@redhat.com Subject: Re: [Pulp-list] pulpcore-client 3.2 ldap authentication Did you update dynaconf to 3.0.0rc1?

Re: [Pulp-list] pulpcore-client 3.2 ldap authentication

2020-04-21 Thread Dennis Kliban
Did you update dynaconf to 3.0.0rc1? There was a bug that caused the settings to get merged instead of overwritten. [0] https://pulp.plan.io/issues/6244 [1] https://pypi.org/project/dynaconf/3.0.0rc1/ On Tue, Apr 21, 2020 at 5:59 PM Bin Li (BLOOMBERG/ 120 PARK) < bli...@bloomberg.net> wrote: >

Re: [Pulp-list] pulpcore-client 3.2 ldap authentication

2020-04-21 Thread Bin Li (BLOOMBERG/ 120 PARK)
I have followed the setup https://www.nginx.com/blog/nginx-plus-authenticate-users/ to setup nginx LDAP authentication. This command works "http -a admin:password GET localhost/pulp/api/v3/repositories/rpm/rpm/ Cookie:nginxauth=XXX". The Cookie is the base64 encoded ldap username and

Re: [Pulp-list] Pulp-list Digest, Vol 125, Issue 19

2020-04-21 Thread Brian Bouterse
Hi Bin, Related to this issue, I have some questions I'm interested in. I posted them here https://pulp.plan.io/issues/6463#note-1 If you're able to post any info you have that would be great. Thanks. Brian On Mon, Apr 20, 2020 at 7:12 PM Bin Li (BLOOMBERG/ 120 PARK) < bli...@bloomberg.net>