https://prefect.io logo
Docs
Join the conversationJoin Slack
Channels
announcements
ask-marvin
best-practices-coordination-plane
data-ecosystem
data-tricks-and-tips
events
find-a-prefect-job
geo-australia
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
marvin-in-the-wild
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-community
prefect-contributors
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-us-what-you-got
Powered by Linen
prefect-ui
  • j

    Jeremiah

    08/12/2020, 11:30 AM
    set the channel description: https://github.com/PrefectHQ/ui
  • n

    Nakul Gowdra

    09/30/2020, 3:23 AM
    Hi Team, I believe I have found a bug on the prefect cloud UI, when you want to add a label to a label less flow, saving the a new label does not work. example:
    c
    e
    • 3
    • 9
  • e

    Emma Willemsma

    10/01/2020, 4:02 PM
    Is there a way I can see what agent ran my flow? I can't seem to find that in the UI.
    n
    • 2
    • 2
  • g

    gunarevuri

    10/06/2020, 6:14 AM
    Hi guys, i was new to prefect, i ran a very basic code flow, and then i want to see it in UI, but i am getting error like this, "ValueError: Project my_first_flow not found. Run
    client.create_project("my_first_flow")
    to create it." And here is my basic code
    from prefect import task, Flow
    @task def hello_world(): return "hello prefect" @task def prefect_say(s:str): print(s) with Flow("my_first_flow") as f: r = hello_world() s = prefect_say(r) # f.run() f.visualize() f.register("my_first_flow")
    j
    • 2
    • 2
  • g

    gunarevuri

    10/06/2020, 6:14 AM
    thanks in advance.
  • v

    Vipul

    10/06/2020, 4:15 PM
    Hi All, we are doing PoC for Prefect Core Server in our firm and were looking at putting Prefect Core server behind NGINX so that NGINX can do Authentication and Authorisation which looks all good but I was not sure how can I control the UI feature to stop people who are not authorise to restart task or change the state (may be by disabling the restart button or so based on some config), thanks.
    n
    • 2
    • 15
  • k

    Kfir Stri

    10/22/2020, 7:18 AM
    Hello 🙂 I just started messing around a bit with prefect, and i have an issue in the UI (not sure if it’s caused maybe by some extension i have installed?) It seems all the “cards” have a place for a scroll bar (or maybe some other gap) when not needed , here are some examples - Just to test i disabled the “overflow: scroll” and it looks better
    n
    • 2
    • 7
  • k

    Kfir Stri

    10/22/2020, 7:20 AM
    Should I open an issue in the UI repo?
  • m

    Michael Kennely

    10/22/2020, 9:07 PM
    Hi everyone! I’m looking for guidance on the following scenario. Currently playing around with Prefect Cloud. I have my execution environment for this exercise setup to be an EC2 instance and I’m using file based storage via Github. What’s the best practice for running the
    .py
    file locally to test that it works as intended before pushing to GH without changing any code? From my understanding you shouldn’t have
    flow.run()
    in your file when using Prefect cloud, but that’s how I started off running things locally Simple hello world script for reference
    import prefect
    
    from prefect import task, Flow
    from prefect.environments.storage import GitHub
    
    
    @task
    def hello_task():
        logger = prefect.context.get("logger")
        <http://logger.info|logger.info>("Hello world!")
    
    
    hello_flow = Flow("gh_storage_flow", tasks=[hello_task])
    
    hello_flow.storage = GitHub(
        repo="{redacted}",
        path="{redacted}",
        secrets=["{redacted}"]
    )
    
    # Basically, I want the functionality of the below line so I can run this locally via Pycharm and then push to GH, merge to main branch, register, etc, and schedule via the UI to execute in our dedicated execution environment, but when you aren't running this as a script my understanding is that you need to remove the following line
    hello_flow.run()
    c
    • 2
    • 3
  • z

    Zach

    10/23/2020, 4:02 PM
    Just had a weird UI bug, seems to be a small CSS issue on the page to manually run a flow.
    n
    • 2
    • 3
  • z

    Zach

    10/23/2020, 4:03 PM
  • s

    Steven Hamblin

    11/10/2020, 1:33 PM
    Hi there! Quick question: can someone help me understand why the Cloud UI shows me the
    .info
    log, but not the
    debug
    log in this snippet? (Using the logging example from the docs here: https://docs.prefect.io/core/concepts/logging.html)
    @task
    def my_task(data):
        from prefect import context
        logger = context.get("logger")
        <http://logger.info|logger.info>("info log inside mytask")
        logger.debug("debug log inside mytask")
    j
    • 2
    • 6
  • m

    Mitchell Bregman

    11/13/2020, 4:09 PM
    quick question - are there any plans to add a scheduling/calendar/agenda type component to the cloud UI? a view that essentially gives you a nice visual outlining all your flows and what they time of execution expectations are
    n
    • 2
    • 2
  • z

    Zach

    11/17/2020, 3:40 PM
    Is there a list somewhere of companies that are using Prefect? Not looking for a comprehensive list, just sometimes product pages say "Used by these top companies..." Was curious
    n
    • 2
    • 3
  • a

    Alexander

    11/23/2020, 1:33 PM
    After upgrading from 0.13.14 to 0.13.16 UI incorrectly shows Summary and Failed flows aggregations. Looks like they always show stats for maximum time scale regardless of range specified. Graphql query for these stats fetch flow runs based on
    updated
    field. So does that mean that after upgrade all my flows runs two week old got updated for some reason?
    n
    • 2
    • 5
  • a

    Andrew Hannigan

    11/25/2020, 6:50 PM
    Noticed that the duration ticker continues to tick up indefinitely for a task that was skipped due to a conditional case statement. The state of the task is correctly listed as "Skipped", but for some reason the duration ticker continues to tick.
    j
    • 2
    • 2
  • n

    Newskooler

    11/26/2020, 8:56 PM
    Hi, 👋 Nice update to the new Prefect UI!: ) I thought it would be quite cool and useful if on hover it would show the average time it took for mapped jobs. Does anyone else share this view? : )
    ❤️ 4
    n
    • 2
    • 2
  • k

    Kevin Weiler

    12/08/2020, 4:20 PM
    Hi there! I reported this issue awhile back but I wasn’t sure if a bug was filed. Does anyone know about this? https://prefect-community.slack.com/archives/CL09KU1K7/p1601577210329700?thread_ts=1601558767.283400&amp;cid=CL09KU1K7
    j
    n
    • 3
    • 9
  • j

    jack

    12/10/2020, 8:08 PM
    [resolved] Run Flows Never Starting Here's an issue I keep running into: 1. Run and register a flow from the terminal 2. Click "QuickRun" from cloud.prefect.io 3. Wait 4. Eventually the run flow shows up as "Late" If I run a super simple example, the flow runs fine from the browser. But when I add real work into it, the run flow never shows up as being started.
    d
    • 2
    • 5
  • j

    jack

    12/10/2020, 9:19 PM
    ModuleNotFoundError How do I tell the flow where the library is found? The package I want to use is installed in my virtualenv, and the flow runs from the terminal. But when clicking "QuickRun" from the browser, the same flow complains of ModuleNotFoundError.
    m
    • 2
    • 1
  • m

    Michael Kennely

    12/17/2020, 8:10 PM
    Hi all! I’m having a RAM issue when running one of my flows (diagram in thread). Essentially, I have a list of calls I need to make to a source system that I store in a list and the flow is for each item in that list
    ping source system for dataset -> send dataset to pandas DF -> store dataset as a file in S3 -> push contents of said file to our datastore
    I’m using the
    LocalDaskExecutor
    to do DFE and that’s helped a ton as the flow used to fail at the first step because it was doing Breadth first and holding all of the datasets in memory. I expected that once the task tree was completed for each dataset that it’d release that memory but that doesn’t seem to be the case. Am I doing something wrong/poorly or is there a way to free up that memory once the terminal task has completed for each branch?
    d
    m
    • 3
    • 16
  • j

    Joseph

    12/17/2020, 10:28 PM
    (I incorrectly posted this issue in the server channel and had a thread with @nicholas. Now that I have more information, moving it here.) I can cause a browser crash by visiting the “schematic” tab with a small dag that has 100 root nodes that each have 1 child. I was able to track this down to a very specific d3-dag call. I created a minimal repro and filed it with the author of d3-dag (https://github.com/erikbrinkman/d3-dag/issues/52). What I’d like to know is: is there a work-around or is it possible to get patch for my installation of Prefect? I’m performing an evaluation and this has become a blocking issue, so I’d like to know what’s the right next step (wait for fix? find work around? maybe it will be obviated in the next release?). Thanks!
    n
    • 2
    • 10
  • s

    Sagun Garg

    12/21/2020, 7:27 AM
    Hey, I am receiving this error after running. Also the agent serverless kubernetes cluster is not showing up in the Prefect UI dashboard @Scott Zelenka and @Pedro Martins have faced similar issues before linking their previous conversations here https://prefect-community.slack.com/archives/CL09KU1K7/p1596036675380000 and https://prefect-community.slack.com/archives/C014Z8DPDSR/p1607966613290400
    $ prefect agent kubernetes install -t <MY_TOKEN> --rbac | kubectl apply -f -
    Warning Unhealthy kubelet  Liveness probe failed :8080/api/health Logs of the failing pod made to restart by K8s
    Warning LoggingDisabled 48m          fargate-scheduler Disabled logging because aws-logging configmap was not found. configmap "aws-logging" not found
     
    Normal  Scheduled    48m          fargate-scheduler Successfully assigned default/prefect-agent-7bcdb4f975-pftnw to fargate-ip-10-0-231-193.ap-southeast-1.compute.internal
     
    Normal  Created     43m (x4 over 47m)   kubelet      Created container agent
     
    Normal  Started     43m (x4 over 47m)   kubelet      Started container agent
     
    Normal  Killing     42m (x2 over 45m)   kubelet      Container agent failed liveness probe, will be restarted
     
    Normal  Pulling     41m (x5 over 48m)   kubelet      Pulling image "prefecthq/prefect:0.14.0-python3.6"
     
    Normal  Pulled      41m (x5 over 47m)   kubelet      Successfully pulled image "prefecthq/prefect:0.14.0-python3.6"
     
    Warning Unhealthy    12m (x13 over 46m)  kubelet      Liveness probe failed: Get <http://10.0.231.193:8080/api/health>: dial tcp 10.0.231.193:8080: connect: connection refused
     
    Warning BackOff     3m3s (x113 over 43m) kubelet      Back-off restarting failed container
    k
    p
    • 3
    • 10
  • p

    Pedro Martins

    12/23/2020, 2:35 PM
    Does the open-source UI supports team and project settings? Couldn't find a way to delete a project.
    m
    n
    • 3
    • 8
  • m

    Minakshi

    01/01/2021, 6:53 AM
    Hi team, i have system running some flows using prefect core. I was looking for a UI to make it more user-friendly and also control the start/stop of flows and easily identify failed tasks/flows. Can I follow the steps at https://github.com/PrefectHQ/ui to get the same? Is there anything else that I would need?
    n
    • 2
    • 3
  • m

    Minakshi

    01/12/2021, 9:05 AM
    Hi team, I am exploring Prefect cloud and Prefect server. I am trying the steps from universal deploy https://cloud.prefect.io/tutorial/Universal-Deploy#universal-deploy to Create an agent token using
    prefect auth create-token -n my-runner-token -s RUNNER
    I am getting an error
    "Error: Auth commands with server are not currently supported."
    Also, what is the easiest way to run a sample flow on prefect cloud? I have this flow which i am running using repl.it https://repl.it/@MinakshiChandra/PrefectDemo#main.py and trying to see this flow on prefect cloud
    j
    • 2
    • 4
  • v

    Vincent

    01/13/2021, 3:08 PM
    Hi all - Question about the cloud platform. Is it normal the read-only users not have access the the logs of a flow?
    m
    • 2
    • 2
  • r

    Ruslan

    01/14/2021, 7:52 PM
    hi! where can I find slack notification template editing? I receive bad URL in notifications…
    m
    • 2
    • 1
  • s

    Sonny

    01/16/2021, 4:53 AM
    is there a way to clone existing flow and register new one in UI?
    n
    • 2
    • 2
  • a

    Alex Rud

    01/16/2021, 5:31 AM
    hello… I am running prefect server in aptible… because aptible doesnt allow docker-compose I am running each component of the server in its own firewalled service… the issue I’m having is related to CORS
    n
    • 2
    • 4
Powered by Linen
Title
a

Alex Rud

01/16/2021, 5:31 AM
hello… I am running prefect server in aptible… because aptible doesnt allow docker-compose I am running each component of the server in its own firewalled service… the issue I’m having is related to CORS
is this due to me running in http or did I miss something in the setup and is there any way around this?
n

nicholas

01/16/2021, 5:41 AM
Hi @Alex Rud - this isn’t a deployment pattern we support at the moment but we’re working on an air gapped version of the UI that will enable patterns like this. For the moment it looks you’re not missing out on any functionality, just the display of certain font icons
a

Alex Rud

01/16/2021, 5:42 AM
thank you
👍 1
View count: 3