• Tom Manterfield

    Tom Manterfield

    4 months ago
    Hello! I’ve got a load of
    invalid duration format
    errors showing up in my Orion API, just checking if this is a bug or misconfig on my part?
    Tom Manterfield
    Anna Geller
    +1
    58 replies
    Copy to Clipboard
  • Greg Wyne

    Greg Wyne

    4 months ago
    Hi all! Not sure where to ask this question so crossposting this here: https://prefect-community.slack.com/archives/C014Z8DPDSR/p1651184226881699 Having trouble getting a new server running in our cluster and I’m wondering where I went wrong, thanks!
    Greg Wyne
    1 replies
    Copy to Clipboard
  • Matthew Roeschke

    Matthew Roeschke

    4 months ago
    I have a task in a functional API flow that has one task that calls
    map
    . I added
    max_retries
    to this task I got this Userwarning I don’t really know how to addressed based on the link. I thought I could pass the results from a functional task to another task?
    UserWarning: Task <...> has retry settings but some upstream dependencies do not have result types. See <https://docs.prefect.io/core/concepts/results.html> for more details.
    Matthew Roeschke
    Anna Geller
    3 replies
    Copy to Clipboard
  • Izu

    Izu

    4 months ago
    Hey Guys, I’m just getting started with prefect and I have a flow that uses custom modules. These modules are in the same directory as my flow script, and I do several
    from my_module import my_function
    within the flow script. Now here’s the thing; I have registered the flow and started my local agent. When I try to trigger the job to run from the prefect UI, I get the message:
    Failed to load and execute flow run: FlowStorageError('An error occurred while unpickling the flow:\n ModuleNotFoundError("No module named \'extract_strings\'")\nThis may be due to a missing Python module in your current environment. Please ensure you have all required flow dependencies installed.')
    The extract_stringsfunction is defined in another module in the same director. Can anyone help?
    Izu
    1 replies
    Copy to Clipboard
  • Florian Guily

    Florian Guily

    4 months ago
    Hey, is there a folder where logs of a flow trigerred manually from terminal are saved ?
    Florian Guily
    Izu
    +2
    10 replies
    Copy to Clipboard
  • Vivek Kaushal

    Vivek Kaushal

    4 months ago
    Hey folks, I was hoping to understand how Prefect Cloud communicates with an agent that’s inside a VPC. I setup a local agent on an EC2 instance and was able to connect with Prefect Cloud and use the instance as an agent. Can someone point me to the right resources for this? Thank you!
    Vivek Kaushal
    Anna Geller
    3 replies
    Copy to Clipboard
  • Amruth VVKP

    Amruth VVKP

    4 months ago
    Hello community, I've got a quick question - what would be the best way to add a custom log handler to existing Orion or Prefect logs (I am on Prefect 2.0b3)?
    Amruth VVKP
    Geoffrey Keating
    +1
    6 replies
    Copy to Clipboard
  • t

    Tim Wright

    4 months ago
    I have a question related to Prefect Cloud. We have our jobs running in AKS - with our Flows using a custom Image. Our flows are all built into the image using Docker Storage. We've been trying to mitigate the possibility of adverse effects if we were somehow to leak or Prefect API keys. To that end we've locked down our cluster a bit with a security policy to disallow any flows trying to run on images that we have not authored (e.g. in our registry). Is there any possibility that someone (with Prefect Cloud API Keys) could register a flow that uses our image, but an alternate flow storage mechanism? We were considering subclassing the FlowRunner class to handle some checking/validation there - validating some of the metadata set at registration time against some of the metadata provided at Runtime. Is this possible, does it make sense? Is there a way we can ensure that our Custom FlowRunner is the default (and only) FlowRunner permitted? To be more concise our goal is to ensure that the only flows running in our infra (AKS) run with our images (this we have solved), and only the flows that are built into those images can be run (this we have not solved).
    t
    Henning Holgersen
    +1
    7 replies
    Copy to Clipboard
  • w

    William Durksen

    4 months ago
    👋 Hello, team! I just signed on and hope to find answers for accessing task results.
    w
    Chris Reuter
    +1
    6 replies
    Copy to Clipboard