rhythmic-ghost-56165
02/16/2024, 5:03 PMValidating your flow...
The graph looks good!
Running pylint...
Pylint is happy!
Metaflow service error:
Metadata request (/flows/HelloFlow) failed (code 405): 405: Method Not Allowed
The following is my config
"METAFLOW_DATASTORE_SYSROOT_GS": "gs://[bucket]/tf-full-stack-sysroot",
"METAFLOW_DEFAULT_DATASTORE": "gs",
"METAFLOW_DEFAULT_METADATA": "service",
"METAFLOW_KUBERNETES_NAMESPACE": "metaflow",
"METAFLOW_KUBERNETES_SERVICE_ACCOUNT": "ksa-metaflow",
"METAFLOW_SERVICE_INTERNAL_URL": "<http://metadata-service.metaflow:8080/>",
"METAFLOW_SERVICE_URL": "https://[host]/api/metadata/"
I am able to get the following from curling the service
curl https://[host]/api/metadata/flows
[{"flow_id": "TensorflowFlow", "user_name": null, "ts_epoch": 1708092870596, "tags": null, "system_tags": null}]%
I've seen a few posts like this but no exact fixes mentioned. Can anyone help?hallowed-glass-14538
02/16/2024, 8:09 PMrhythmic-ghost-56165
02/16/2024, 9:08 PMvariable "metaflow_ui_static_service_image" {
type = string
default = "public.ecr.aws/outerbounds/metaflow_ui:v1.0.1"
}
variable "metadata_service_image" {
type = string
default = "public.ecr.aws/outerbounds/metaflow_metadata_service:v2.2.4"
}
variable "metaflow_ui_backend_service_image" {
type = string
default = "public.ecr.aws/outerbounds/metaflow_metadata_service:v2.2.4"
}rhythmic-ghost-56165
02/17/2024, 9:04 AMINFO:aiohttp.access:10.246.0.6 [17/Feb/2024:08:58:00 +0000] "GET /api/flows/HelloFlow HTTP/1.1" 404 324 "-" "python-requests/2.31.0"
INFO:aiohttp.access:10.246.0.6 [17/Feb/2024:08:58:01 +0000] "POST /api/flows/HelloFlow HTTP/1.1" 405 210 "-" "python-requests/2.31.0"
Presumably the post leads to the following error because only get requests are allowed:
Metadata request (/flows/HelloFlow) failed (code 405): 405: Method Not Allowed
Now when I run with port forwarding, I get two GET requests like this:
INFO:aiohttp.access:10.246.0.7 [17/Feb/2024:08:59:28 +0000] "GET /api/flows/HelloFlow/runs/3/metadata?step_name=start HTTP/1.1" 200 731 "<https://metaflow-mlops-bidderml-staging-01.bluecaffeine.io/?_group_limit=30&_limit=30&_order=-ts_epoch&status=completed%2Cfailed%2Crunning>" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
INFO:aiohttp.access:10.246.0.7 [17/Feb/2024:08:59:28 +0000] "GET /api/flows/HelloFlow/runs/3/metadata?step_name=start HTTP/1.1" 200 731 "<https://metaflow-mlops-bidderml-staging-01.bluecaffeine.io/?_group_limit=30&_limit=30&_order=-ts_epoch&status=completed%2Cfailed%2Crunning>" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
...Any thoughts what the cause might be? Or a solution?rhythmic-ghost-56165
02/17/2024, 9:12 AMINFO:aiohttp.access:127.0.0.1 [17/Feb/2024:09:06:07 +0000] "GET /flows/HelloFlow HTTP/1.1" 200 290 "-" "python-requests/2.31.0"
INFO:aiohttp.access:127.0.0.1 [17/Feb/2024:09:06:07 +0000] "POST /flows/HelloFlow/run HTTP/1.1" 200 435 "-" "python-requests/2.31.0"rhythmic-ghost-56165
02/17/2024, 11:50 AMhallowed-glass-14538
02/17/2024, 4:46 PMrhythmic-ghost-56165
02/18/2024, 8:42 PM