great-father-37686
07/08/2024, 4:49 PMgreat-father-37686
07/08/2024, 5:25 PMancient-application-36103
07/10/2024, 3:23 PMgreat-father-37686
07/10/2024, 3:25 PMancient-application-36103
07/10/2024, 3:28 PMgreat-father-37686
07/10/2024, 3:30 PMMETAFLOW_SERVICE_HEADERS="{\"Authorization\": \"Bearer $(gcloud auth print-identity-token --impersonate-service-account sa-...@project.iam.gserviceaccount.com --audiences=....<http://apps.googleusercontent.com|apps.googleusercontent.com> --include-email )\"}" METAFLOW_DEBUG_CONDA=1 GOOGLE_AUTH_TOKEN=$(gcloud auth print-identity-token --impersonate-service-account sa-...@project.iam.gserviceaccount.com --audiences=....<http://apps.googleusercontent.com|apps.googleusercontent.com> --include-email) python3 workflows/gen_synthetic_data.py --environment=conda run
with a service account but we get >
Metaflow service error:
Metadata request (/flows/GenSyntheticDataFlow/run) failed (code 405): 405: Method Not Allowedancient-application-36103
07/10/2024, 3:33 PMgreat-father-37686
07/10/2024, 3:45 PMgreat-father-37686
07/10/2024, 3:49 PMancient-application-36103
07/10/2024, 3:51 PMgreat-father-37686
07/10/2024, 4:30 PMmajas-MBP:~ maja$ curl -X POST <https://metaflow-ui.mydomain.acom/links> -H "Authorization: Bearer $(gcloud auth print-identity-token --impersonate-service-account sa-metaflow-user@proj.iam.gserviceaccount.com --audiences=....apps.googleusercontent.com --include-email)"
WARNING: This command is using service account impersonation. All API calls will be executed as [sa-@proj.iam.gserviceaccount.com].
405: Method Not Allowed(base) majas-MBP-:~ maja$
great-father-37686
07/10/2024, 6:26 PMroot@dagster-run-57c7de96-33fc-49c8-bb28-590b1e751334-bwbfq:/opt/dagster/app# curl -X GET <http://metaflow-ui.metaflow.svc.cluster.local:8083/api/metadata/flows/GenSyntheticDataFlow> url -X POST <http://metaflow-ui.metaflow.svc.cluster.local:8083/api/metadata/flows/GenSyntheticDataFlow>
405: Method Not Allowedroot@dagster-run-57c7de96-33fc-49c8-bb28-590b1e751334-bwbfq:/opt/dagster/app#
which seems like the same thing I get when I run locally. does it have anything to do with this allow_get_requests_onlygreat-father-37686
07/10/2024, 6:27 PMancient-application-36103
07/10/2024, 6:31 PMgreat-father-37686
07/10/2024, 6:31 PMgreat-father-37686
07/10/2024, 6:32 PMancient-application-36103
07/10/2024, 6:32 PMgreat-father-37686
07/10/2024, 6:32 PMancient-application-36103
07/10/2024, 6:32 PMgreat-father-37686
07/10/2024, 6:37 PMgreat-father-37686
07/10/2024, 6:52 PMaverage-beach-28850
07/10/2024, 6:55 PMaverage-beach-28850
07/10/2024, 7:01 PMgreat-father-37686
07/10/2024, 7:57 PM2024-07-10 15:42:48.604 [100/start/375 (pid 53663)] Task failed.
2024-07-10 15:42:48.767 Workflow failed.
2024-07-10 15:42:48.767 Terminating 0 active tasks...
2024-07-10 15:42:48.767 Flushing logs...
Step failure:
Step start (task-id 375) failed.
in the UI when I update the urls to have METAFLOW_SERVICE = mf-service.mydomain.com (this is the public.ecr.aws/outerbounds/metaflow_metadata_service:v2.4.9)average-beach-28850
07/10/2024, 9:57 PM<http://mf-service.mydomain.com|mf-service.mydomain.com>
in metaflow config. Ignore anything about the UI for nowgreat-father-37686
07/10/2024, 10:10 PMaverage-beach-28850
07/10/2024, 10:31 PMgreat-father-37686
07/11/2024, 2:44 PMgreat-father-37686
07/11/2024, 3:06 PMgreat-father-37686
07/11/2024, 3:07 PMaverage-beach-28850
07/11/2024, 4:18 PMMETAFLOW_SERVICE_URL
on the UI backend container? (not to be confused with METAFLOW_SERVICE on metaflow-ui-static)average-beach-28850
07/11/2024, 4:18 PM"<http://localhost:8083/api/metadata>"
if you haven't already (its the default in our helm chart)great-father-37686
07/11/2024, 4:31 PM