https://prefect.io logo
Title
d

Deepak Pilligundla

06/17/2022, 7:03 PM
Can we register flows individually instead registering all the flows at once
k

Kevin Kho

06/17/2022, 7:10 PM
Most definitely. How are you registering your flows?
d

Deepak Pilligundla

06/17/2022, 7:13 PM
currently we are registering the flow with following commands which will register all the flows
prefect register --project *****  --path "**/*" —-force
k

Kevin Kho

06/17/2022, 7:14 PM
You can make your path an individual flow instead
d

Deepak Pilligundla

06/17/2022, 7:18 PM
you mean just the flow name should be ok
k

Kevin Kho

06/17/2022, 7:19 PM
ah sorry. the individual filename
👍 1
:gratitude-thank-you: 1
d

Deepak Pilligundla

06/17/2022, 7:22 PM
@Kevin Kho when we are trying to execute the flows from Jenkins the job failing with the following error can you please assist
File "/home/ec2-user/.local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='***************', port=443): Max retries exceeded with url: /graphql (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7feebf212710>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Build step 'Execute shell' marked build as failure                                                                           which: no prefect in (/usr/local/bin:/usr/bin:/opt/puppetlabs/bin)
Just checking version
/tmp/jenkins.sh: line 82: prefect: command not found
k

Kevin Kho

06/17/2022, 7:23 PM
If your host like a Prefect Server?
d

Deepak Pilligundla

06/17/2022, 7:24 PM
we are trying to register flows from the docker instance
k

Kevin Kho

06/17/2022, 7:24 PM
The
prefect command not found
maybe you can check this
d

Deepak Pilligundla

06/17/2022, 7:24 PM
prefect is installed and checked the version on the docker instance and jenkins
k

Kevin Kho

06/17/2022, 7:26 PM
How do you check the version? And yes even if installed this can happen if the Path is not set right as seen in that doc
d

Deepak Pilligundla

07/15/2022, 5:58 PM
Having issue while registering flows through Jenkins and i see the following error
Unauthorized. Invalid Prefect Cloud API key.
k

Kevin Kho

07/15/2022, 10:39 PM
Maybe your key expired?