• Nadav Nuni

    Nadav Nuni

    1 year ago
    hey =] couldn’t find a clear explanation in the docs - what could be a reason for me to get a
    task is already running
    (for a KubernetesRun)? and then
    Finished task run for task with final state: 'Running'
    …. (other than that, it seems like the task doesn’t really run.
    Nadav Nuni
    Kevin Kho
    8 replies
    Copy to Clipboard
  • Nadav Nuni

    Nadav Nuni

    1 year ago
  • William Burdett

    William Burdett

    1 year ago
    I seem to be having an issue when registering a flow with the cloud. It fails here:
    File "/usr/local/lib/python3.9/site-packages/marshmallow/fields.py", line 1410, in _serialize
        return int(value.total_seconds() / base_unit.total_seconds())
    AttributeError: 'int' object has no attribute 'total_seconds'
    In the comments I have the full stack trace
    William Burdett
    Kevin Kho
    19 replies
    Copy to Clipboard
  • haf

    haf

    1 year ago
    If you return a python set from a FunctionTask and try to use it in another task B, Prefect fails B silently without reason.
    haf
    emre
    22 replies
    Copy to Clipboard
  • Abhishek

    Abhishek

    1 year ago
    Problem in running ecs agent: i am running an ecs agent as followed:
    prefect agent ecs  start --key $KEY --task-role-arn $TASK_ARN --log-level INFO --label s3_sync --name farget-dev --execution-role-arn $EXEC_ROLE_ARN
    and its giving me an error:
    ValueError: Failed to infer default networkConfiguration, please explicitly configure using `--run-task-kwargs`
    I am created a ecs cluster (using default). I used following command to use create cluster:
    aws ecs create-cluster
    which creates a default cluster. Can anyone point out if i am missing anything?
    Abhishek
    a
    +4
    75 replies
    Copy to Clipboard
  • Abhishek

    Abhishek

    1 year ago
    i see this is the default task_defination template : https://github.com/PrefectHQ/prefect/blob/master/src/prefect/agent/ecs/task_definition.yaml But i am not sure if i need to pass anything or create a task definition template.
    Abhishek
    1 replies
    Copy to Clipboard
  • Thomas Fredriksen

    Thomas Fredriksen

    1 year ago
    Hello everyone. I trying to figure out what is considered best practice for differential dataloads and backfills? I am trying to obtain the timestamp of the last successful run of a flow in order to obtain data added or changed from last run. Using the prefect
    Client.get_flow_run_info
    -function seems to be one way of achieving this, but it may not scale as number of runs for a flow grows large.
    Thomas Fredriksen
    Kevin Kho
    12 replies
    Copy to Clipboard
  • Gareth Dwyer

    Gareth Dwyer

    1 year ago
    Maybe a stupid question, but can anyone tell me what the Blue/Green colouring means on the DAG overview diagram?
    Gareth Dwyer
    Greg Roche
    +1
    4 replies
    Copy to Clipboard
  • Anatoly Alekseev

    Anatoly Alekseev

    1 year ago
    Hi ) How do I make sure a Prefect flow which is scheduled to run each 10 mins is NOT run if the previous run is still in progress?
    Anatoly Alekseev
    Kevin Kho
    +1
    6 replies
    Copy to Clipboard
  • García Gimenez Ignacio - 6to 2da

    García Gimenez Ignacio - 6to 2da

    1 year ago
    Hi Guys! Im getting this error when using the UI. Im running a server and an agent in a docker container. {"type":"http-log","timestamp":"2021-09-20T14:38:29.787+0000","level":"error","detail":{"operation":{"user_vars":{"x-hasura-role":"admin"},"error":{"path":"$.selectionSet.flow_run.args.where.flow.project_id._eq","error":"unexpected null value for type "uuid"","code":"validation-failed"},"request_id":"0b7c4c08-10ce-4782-9b6b-4a2e3ee547bf","response_size":142,"request_mode":"error"},"request_id":"0b7c4c08-10ce-4782-9b6b-4a2e3ee547bf","http_info":{"status":400,"http_version":"HTTP/1.1","url":"/v1alpha1/graphql","ip":"172.21.0.6","method":"POST","content_encoding":null}}} Any suggestion?
    García Gimenez Ignacio - 6to 2da
    Kevin Kho
    8 replies
    Copy to Clipboard