geosolutions-it / oaw-geonode

OWA GeoNode Project
0 stars 0 forks source link

Deployment of the new version of GeoNode/Airflow #40

Closed EddyCatt closed 3 years ago

EddyCatt commented 3 years ago

The deployment of the new version of GeoNode/Airflow is needed, with the following items:

randomorder commented 3 years ago

@lpasquali please sync with @mattiagiupponi when he comes back on Monday to schedule the deployment

And get in touch Andreas.Krexhammer@oeaw.ac.at with a proposed date/time

lpasquali commented 3 years ago

Hello @mattiagiupponi let me know when we can sync about this update

mattiagiupponi commented 3 years ago

Hello @mattiagiupponi let me know when we can sync about this update

Hey @lpasquali For me, it's fine whenever you want, but not today (I'm quite busy on another issue)

lpasquali commented 3 years ago

@mattiagiupponi is it possible that requirements.txt need an update?

Step 20/26 : RUN pip install --upgrade --no-cache-dir --src /usr/src -r requirements.txt     && pip install pygdal==$(gdal-config --version).*     && pip install flower==0.9.4
 ---> Running in f03468b96485
  Running command git clone -q https://github.com/GeoNode/geonode-mapstore-client.git /usr/src/django-geonode-mapstore-client
Obtaining django_geonode_mapstore_client from git+https://github.com/GeoNode/geonode-mapstore-client.git@2.1.x#egg=django_geonode_mapstore_client (from -r requirements.txt (line 1))
  Cloning https://github.com/GeoNode/geonode-mapstore-client.git (to revision 2.1.x) to /usr/src/django-geonode-mapstore-client
  WARNING: Did not find branch or tag '2.1.x', assuming revision or ref.
  Running command git checkout -q 2.1.x
  error: pathspec '2.1.x' did not match any file(s) known to git
WARNING: Discarding git+https://github.com/GeoNode/geonode-mapstore-client.git@2.1.x#egg=django_geonode_mapstore_client. Command errored out with exit status 1: git checkout -q 2.1.x Check the logs for full command output.
Obtaining GeoNode from git+https://github.com/GeoNode/geonode.git@3.2.x#egg=GeoNode (from -r requirements.txt (line 2))
  Cloning https://github.com/GeoNode/geonode.git (to revision 3.2.x) to /usr/src/geonode
  Running command git clone -q https://github.com/GeoNode/geonode.git /usr/src/geonode
  Running command git checkout -b 3.2.x --track origin/3.2.x
  Switched to a new branch '3.2.x'
  Branch '3.2.x' set up to track remote branch '3.2.x' from 'origin'.
  Resolved https://github.com/GeoNode/geonode.git to commit 311e7a88ab0bee8580e9ff4fc488931398cfe182
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
ERROR: Could not find a version that satisfies the requirement django-geonode-mapstore-client (unavailable) (from versions: 1.0rc7.linux-x86_64, 1.0rc8.linux-x86_64, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.6, 0.1.7, 0.1.8, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.17, 0.1.18, 1.0rc0, 1.0rc2, 1.0rc3, 1.0rc4, 1.0rc5, 1.0rc6, 2.0.0a0, 2.0.0rc1, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.8.1, 2.0.9, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 3.2.1)
ERROR: No matching distribution found for django-geonode-mapstore-client (unavailable)
The command '/bin/sh -c pip install --upgrade --no-cache-dir --src /usr/src -r requirements.txt     && pip install pygdal==$(gdal-config --version).*     && pip install flower==0.9.4' returned a non-zero code: 1
ERROR: Service 'celery' failed to build
mattiagiupponi commented 3 years ago

The mapstore client has been updated to version 3.2.x and the project was not updated. This should solve the issue. Please try again as soon as you can

lpasquali commented 3 years ago

The mapstore client has been updated to version 3.2.x and the project was not updated. This should solve the issue. Please try again as soon as you can

it built fine after the requirements update, thanks @mattiagiupponi

lpasquali commented 3 years ago

@mattiagiupponi I updated everything, can you test?

mattiagiupponi commented 3 years ago

@mattiagiupponi I updated everything, can you test?

@lpasquali I made some tests, the part related to airflow, it looks like that is working as expected. We are actually raising errors if the images are missing some metadata. GeoNode is adding the label "UNPUBLISHED" and the Keywords are shown as expected. We will do more tests with the new images once the client will upload them. But for now is working fine