SeaBee-no / helm-charts

Apache License 2.0
0 stars 0 forks source link

Debug geonode raster upload #16

Closed knl88 closed 1 year ago

knl88 commented 1 year ago

We can use the upload of getiffs to geonode to check for problems with the configuration. Especially the celery task runner could need a closer look for bigger images.

knl88 commented 1 year ago

looks to be a problem when completing uploads

Traceback (most recent call last):
  File "/usr/src/geonode/geonode/upload/tasks.py", line 94, in finalize_incomplete_session_uploads
    raise NotFound
gsimporter.api.NotFound
knl88 commented 1 year ago

The uploads should list here https://geonode.seabee.sigma2.no/geoserver/rest/imports/

knl88 commented 1 year ago

Looks like the problem starts here

Uploading coverage
'NoneType' object has no attribute 'import_session'
Traceback (most recent call last):
  File "/usr/src/geonode/./geonode/upload/upload.py", line 320, in save_step
    import_session = upload.get_session.import_session
AttributeError: 'NoneType' object has no attribute 'import_session'
'NoneType' object has no attribute 'import_session'
Traceback (most recent call last):
  File "/usr/src/geonode/./geonode/upload/views.py", line 695, in view
    resp = _steps[step](req, upload_session)
  File "/usr/src/geonode/./geonode/upload/views.py", line 158, in save_step_view
    import_session, upload = save_step(
  File "/usr/src/geonode/./geonode/upload/upload.py", line 438, in save_step
    raise e
  File "/usr/src/geonode/./geonode/upload/upload.py", line 320, in save_step
    import_session = upload.get_session.import_session
knl88 commented 1 year ago

Bumped the resources a bit in https://github.com/SeaBee-no/helm-deployment/commit/87bfc977144492421be499cc82e77dec3ab89953 and some files work now, but others give an error. Geoserver seems to work the better.