microsoft / farmvibes-ai

FarmVibes.AI: Multi-Modal GeoSpatial ML Models for Agriculture and Sustainability

Home Page:https://microsoft.github.io/farmvibes-ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Workflow run failing due to missing `pc-sub-key` secret key in notebooks

rafaspadilha opened this issue · comments

In which step did you encounter the bug?

Notebook execution

Are you using a local or a remote (AKS) FarmVibes.AI cluster?

Local cluster

Bug description

When instantiating workflow runs in a few of the notebooks, we explicitly assign the pc_key parameter to fetch the Planetary Computer key from the cluster's key vault (with @SECRET(eywa-secrets, pc-sub-key)). This is causing the workflow run to fail if the secret pc-sub-key is not defined.

This happens in the forest_change_detection notebook:

image

Steps to reproduce the problem

Run the forest change detection notebook.

Additionally, it seems that the Planetary Computer Hub will be retired, as discussed in microsoft/PlanetaryComputer#347.

With that, the API key will not be necessary to fetch data anymore. This will require revisiting FarmVibes.AI ops, workflows, and documentation.

A workaround for running the notebook is defining an empty string ("pc_key": "") as the value for this parameter.