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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to