[Pulp-list] Pulp 2.4.1 with mongodb authentication - can't upload RPMs

Trey Dockendorf treydock at gmail.com
Thu Oct 2 17:10:56 UTC 2014


Randy,

Thanks for the response.  The bug you linked had the workaround of
using "user = " which worked!

Thanks,
- Trey

On Wed, Oct 1, 2014 at 12:55 PM, Randy Barlow <rbarlow at redhat.com> wrote:
> On 09/30/2014 10:15 PM, Trey Dockendorf wrote:
>> I am getting errors when attempting to upload RPMs via pulp-admin that
>> point to authorization problems with MongoDB with "auth=true" in my
>> mongo config.
>
> Hi Trey,
>
> Pulp 2.4.1 has issues with MongoDB authorization[0]. From your logs, I
> believe this message is due to the referenced bug:
>
> Sep 30 20:51:49 repo01 pulp: celery.worker.job:CRITICAL: Task
> pulp.server.async.tasks._reserve_resource[dce4a7a5-fa98-4ee7-a931-860162da76a5]
> INTERNAL ERROR: OperationFailure(u'not authorized to create index on
> pulp_database.celery_taskmeta',)
>
> We do plan for this to be fixed with 2.5.0, and I've personally been
> developing with only readWrite and dbAdmin[1] permissions on our master
> branch so you can expect our MongoDB authorization support to improve in
> the future.
>
> You will have to grant dbAdmin permissions to your Pulp user, however,
> as Pulp does need permissions to create indices.
>
> [0] https://bugzilla.redhat.com/show_bug.cgi?id=1132609
> [1] http://docs.mongodb.org/manual/reference/built-in-roles/#dbAdmin
>
>
> _______________________________________________
> 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