Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with running spaceeye workflow: 'data_ingestion/spaceeye/spaceeye' #167

Closed
ajinkyapol opened this issue May 16, 2024 · 2 comments
Closed
Assignees
Labels
local cluster Issues encountered in local cluster question Information requested from user workflows Issues encountered when running workflows

Comments

@ajinkyapol
Copy link

In which step did you encounter the bug?

Workflow execution

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

Local cluster

Bug description

While running 'data_ingestion/spaceeye/spaceeye' workflow, it can execute all the tasks related to sentinel 2 data but when it reaches for tasks related to sentinel 1 data it fails with following error related to pc_sub_key:

'RuntimeError: Failed to run op download_sentinel1 in workflow run id d14f7207-0017-4f54-83d3-da98f273de0c for input with message id 00-d14f720700174f5483d3da98f273de0c-802aa0c10bf15114-01. Error description: <class 'RuntimeError'>: ValueError(\nValueError: Could not retrive secret pc-sub-key from Dapr.\n Error message <_InactiveRpcError of RPC that terminated with:\n\tstatus = StatusCode.INTERNAL\n\tdetails = "failed getting secret with key pc-sub-key from secret store kubernetes: secrets "pc-sub-key" not found"\n\tdebug_error_string = "UNKNOWN:Error received from peer ipv4:127.0.0.1:50001 {grpc_message:"failed getting secret with key pc-sub-key from secret store kubernetes: secrets "pc-sub-key" not found", grpc_status:13, created_time:"2024-05-09T06:37:45.355106606+00:00"}"\n>\n.'

Steps to reproduce the problem

No response

@ajinkyapol ajinkyapol added the bug Something isn't working label May 16, 2024
@github-actions github-actions bot added triage Issues still not triaged by team local cluster Issues encountered in local cluster workflows Issues encountered when running workflows labels May 16, 2024
@rafaspadilha
Copy link
Contributor

rafaspadilha commented May 16, 2024

Hi, @ajinkyapol. Since our latest release, the Planetary Computer API key became a required parameter to download Sentinel-1 data. You can either pass it as a parameter when running the workflow, or add it to the cluster with the farmvibes-ai local add-secret command.

The error that you see "failed getting secret with key pc-sub-key from secret store kubernetes: secrets "pc-sub-key" not found" happens because no value was passed as the pc_key parameter, and we use the default value which checks for the pc-sub-key secret in the cluster.

For more information on adding secrets to the cluster and using them in workflows, please refer to our documentation.

Finally, the workflow documentation for the pc_key parameter is outdated, saying it is an "Optional" parameter. We will update this for the next release.

@rafaspadilha rafaspadilha added question Information requested from user and removed bug Something isn't working triage Issues still not triaged by team labels May 16, 2024
@rafaspadilha rafaspadilha self-assigned this May 16, 2024
@rafaspadilha
Copy link
Contributor

Closing this issue for now. @ajinkyapol, please, feel free to reopen it if you still have issues with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
local cluster Issues encountered in local cluster question Information requested from user workflows Issues encountered when running workflows
Projects
None yet
Development

No branches or pull requests

2 participants