Hi! I'm trying to run a 3.0 flow on a Prefect Mana...
# prefect-cloud
k
Hi! I'm trying to run a 3.0 flow on a Prefect Managed workpool and it doesn't look like it is supported yet?
Copy code
Could not load job configuration: 1 validation error for PrefectManagedPoolWorkerJobConfiguration
image
  unexpected value; permitted: 'prefecthq/prefect:2-latest', 'prefecthq/prefect:2-python3.11', 'prefecthq/prefect:2-python3.10', 'prefecthq/prefect:2-python3.9' (type=value_error.const; given=prefecthq/prefect:3-latest; permitted=('prefecthq/prefect:2-latest', 'prefecthq/prefect:2-python3.11', 'prefecthq/prefect:2-python3.10', 'prefecthq/prefect:2-python3.9'))
n
hi @Kareem Kouddous - did you try to specify an
image
that wasn't in this list? can you show the entire stack trace?
k
Screenshot 2024-07-16 at 11.44.57 AM.png
I got the name of the image from the docs
but searching on dockerhub, i couldn't find it
n
ahh the docs are incorrect here, sorry about that. you can try
prefecthq/prefect:3.0.0rc10-python3.12
or whichever version of python you need ill get those docs fixed
k
thank you. are you sure that will work given that that value is not in the permitted list?
Copy code
permitted: 'prefecthq/prefect:2-latest', 'prefecthq/prefect:2-python3.11', 'prefecthq/prefect:2-python3.10', 'prefecthq/prefect:2-python3.9'
n
hrm. it may not because its managed execution. let me check
🙌 1
k
I'm now testing using Modal with the image you shared above and I'm consistently failing with this error:
Copy code
Failed due to a(n) prefect.flow_runs error - Validation of flow parameters failed due to a SignatureMismatchError, function expected parameters [args, kwargs] but was provided with parameters [channel]. Check the flow parameters being passed.
this is the base job config
I resolved it by passing in json:
Copy code
{
  "kwargs": {
    "channel": "UC3111rvadtBPUY9JJBqdmzg"
  }
}
however the cloud UI is not nesting under
kwargs