GeoNode / geonode-project

A django template project for creating custom GeoNode projects.
http://geonode.org
79 stars 173 forks source link

Add celery tasks for ldap synchronisation #145

Open t-book opened 4 years ago

t-book commented 4 years ago

Following should be done:

t-book commented 4 years ago

Current status:

  1. Created tasks for geonode_ldap: https://github.com/csgis/geonode-contribs/blob/ldap_celery_tasks/ldap/geonode_ldap/tasks.py

  2. Updated Settings of geonode-project: https://github.com/csgis/geonode-project/commit/d786f698b484bb2a760f1e3d6be51ebffa89b670#diff-4f4c55450c39ce510cb2d3646b9b3301


:heavy_check_mark: Management commands run from shell work fine :heavy_check_mark: updateldapgroups management command run by celery beat task works fine :heavy_multiplication_x: updateldapusers management command run by celery beat tasks raises following error https://hastebin.com/eviyelocev.log . My guess is there is some conflict with sqlite haven't tested with postgis backend yet

afabiani commented 4 years ago

It's a specific sqlite3 error, I would ignore it. It won't happen using postgresql