https://prefect.io logo
h

Harshal Rane

02/17/2021, 9:51 AM
Hi everyone, i am trying out hybrid model approach of prefect, where i am using prefect.io cloud and i have created PAT token and using that generated a Runner token for Docker agent which is on the virtual machine in cloud. when i am scheduling my flow, the docker agent accepts job it pulls the agent image but flow fails with this error
Copy code
Failed to load and execute Flow's environment: ModuleNotFoundError("No module named '/root/'")
Attached are logs from Docker agent Has anyone faced this issue before?
j

josh

02/17/2021, 1:52 PM
Hi @Harshal Rane could you open this as an issue on the prefect repo with some reproducible code (your flow)? I believe I have seen this before but I can’t say for certain 🙂
h

Harshal Rane

02/17/2021, 2:13 PM
can you please share link of right repo @josh
j
h

Harshal Rane

02/17/2021, 2:26 PM
Done
j

josh

02/17/2021, 2:31 PM
Thanks, can you also post a reproducible example on the issue?
h

Harshal Rane

02/17/2021, 2:31 PM
yeah adding a snippet