https://prefect.io logo
Title
d

Doran

07/29/2020, 9:43 PM
I’m trying to run a flow.. but getting stuck in pending. My flow is getting registered with a hostname as a label which I presume is my issue, but I can’t figure out how to not have that label
j

josh

07/29/2020, 9:46 PM
Hi @Doran you can disable the default hostname label on your flow when you register with:
flow.register(add_default_labels=False, ...)
d

Doran

07/29/2020, 9:46 PM
Ahhh yep, that is it. Thank you.
j

josh

07/29/2020, 9:47 PM
The hostname label is there when using Local storage to prevent other agents running on other machines from pulling the flow since it is stored as a local file
:prefect: 1
d

Doran

07/29/2020, 9:49 PM
I see, that makes sense. I was searching all over the docs and didn’t see a mention of that; thank you! been struggling with this for longer than I’d like to admit.. 🙂
j

josh

07/29/2020, 9:51 PM
We’re always looking for feedback and ways to improve the documentation! Not sure if you have seen it but here’s a page on the various storage options you have available 🙂 https://docs.prefect.io/orchestration/execution/storage_options.html
👍 1
c

Chris White

07/30/2020, 1:54 AM
@Marvin archive “How to remove automatic labels from my flow”