Tim Enders
06/09/2022, 3:10 PM@task(checkpoint=False)
If there is one currentlyAndreas Nord
06/09/2022, 3:13 PMjack
06/09/2022, 3:39 PMThomas Opsomer
06/09/2022, 3:43 PMchicago-joe
06/09/2022, 5:13 PMRUN export PREFECT__CONTEXT__SECRETS__AWS_CREDENTIALS=$(echo `(aws secretsmanager get-secret-value --secret-id ${prefect_aws_secret_name} --region ${region}) | jq -r '.SecretString'`)
I'm having a ton of trouble using ARG/ENV/RUN with a dockerfile, what I want is for PREFECT__CONTEXT__SECRETS_AWS_CREDENTIALS to show up as an env variable in the final image. Does anyone have experience setting env variables in a dockerfile from command output?Dung Khuc
06/09/2022, 6:01 PMError downloading Flow from Azure: ('Cannot connect to proxy.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
Following env vars are set
HTTPS_PROXY=x.x.x.x
AZURE_STORAGE_CONNECTION_STRING=xxxx
We can connect to blob should just fine using az
. Any pointer?parsa
06/09/2022, 7:27 PMFrederick Thomas
06/09/2022, 7:35 PMNikhil Jain
06/09/2022, 7:58 PMtask-definition.yaml
I am providing GITHUB_ACCESS_TOKEN
through linux ENVIRONMENT variables. But I am getting this error:
'The secret GITHUB_ACCESS_TOKEN was not found. Please ensure that it was set correctly in your tenant: <https://docs.prefect.io/orchestration/concepts/secrets.html>'`
Am I missing something?Darin Douglass
06/09/2022, 8:30 PMcreate_flow_run
that will cause two flows to spawn from the one call?Mike Larsson
06/09/2022, 8:39 PMJessica Smith
06/09/2022, 9:10 PMSlackbot
06/10/2022, 8:26 AMSlackbot
06/10/2022, 8:44 AMUsman Abdulkareem Adedayo
06/10/2022, 8:46 AMDavid Maier
06/10/2022, 8:58 AMSlackbot
06/10/2022, 9:00 AMAndreas Nigg
06/10/2022, 9:06 AMFlorian Guily
06/10/2022, 10:18 AMHemabh Kamboj
06/10/2022, 11:24 AMFailed to load and execute flow run: FlowStorageError('An error occurred while unpickling the flow:\n ModuleNotFoundError("No module named \'google.api\'")\nThis may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
I tried running the flow by putting the flow.run
instead of flow.register
and then ran the flow using python3 workflow.py
. And its running fine. The agent is installed on the same machine from where I ran the flow manually. So registering and running are done from the same machine.
So I cannot understand why such error is thrown.
Can anybody help?Danilo Drobac
06/10/2022, 11:39 AMprefect cloud login --key {key} --workspace {workspace}
related to timeouts?
I'm trying to run the command in a CI/CD pipeline through Google Cloud Build but it fails due to a timeout and I have very little information in the error.Martin T
06/10/2022, 12:00 PMRajvir Jhawar
06/10/2022, 12:37 PMJessica Smith
06/10/2022, 12:52 PMRamzi A
06/10/2022, 2:06 PMSushma Adari
06/10/2022, 2:36 PMIlya Sapunov
06/10/2022, 3:31 PMZhibin Dai
06/10/2022, 3:42 PMJosh Paulin
06/10/2022, 3:56 PMYehor Anisimov
06/10/2022, 4:42 PMFailed to load and execute flow run: KeyError('The secret ghp_pZdHbjkfhkjkefefiejfefnPd1VJikfn was not found. Please ensure that it was set correctly in your tenant: <https://docs.prefect.io/orchestration/concepts/secrets.html>')
I suppose issue in access_token_secret, I stored it in Cloud Secrets
STORAGE = GitHub(
repo="",
path=f"flows/{FLOW_NAME}.py",
access_token_secret=Secret('GITHUB_ACCESS_TOKEN').get()
)
I checked, github token is valid. Any ideas about this error?
Thank youYehor Anisimov
06/10/2022, 4:42 PMFailed to load and execute flow run: KeyError('The secret ghp_pZdHbjkfhkjkefefiejfefnPd1VJikfn was not found. Please ensure that it was set correctly in your tenant: <https://docs.prefect.io/orchestration/concepts/secrets.html>')
I suppose issue in access_token_secret, I stored it in Cloud Secrets
STORAGE = GitHub(
repo="",
path=f"flows/{FLOW_NAME}.py",
access_token_secret=Secret('GITHUB_ACCESS_TOKEN').get()
)
I checked, github token is valid. Any ideas about this error?
Thank youKevin Kho
06/10/2022, 4:44 PMSecret
and use get()
. The name is enough. You can also edit your post to hide the secret value if that’s a real keyYehor Anisimov
06/10/2022, 4:45 PM