<#CNMKCU6FR|general> I am trying to run a flyte wo...
# announcements
s
#general I am trying to run a flyte workflow from the console and I am getting the below error {"json":{"exec_id":"an4zmzms9fccqwzzzhk7","ns":"samuel-s3-data-development","routine":"worker-2","src":"handler.go:168"},"level":"info","msg":"Processing Workflow.","ts":"2022-09-02T045213Z"} {"json":{"exec_id":"an4zmzms9fccqwzzzhk7","ns":"samuel-s3-data-development","res_ver":"39913921","routine":"worker-2","src":"executor.go:364","wf":"samuel-s3-datadevelopments3_data.my_wokflow.my_test_workflow"},"level":"info","msg":"Handling Workflow [an4zmzms9fccqwzzzhk7], id: [project:\"samuel-s3-data\" domain:\"development\" name:\"an4zmzms9fccqwzzzhk7\" ], p [Ready]","ts":"2022-09-02T045213Z"} {"json":{"exec_id":"an4zmzms9fccqwzzzhk7","ns":"samuel-s3-data-development","res_ver":"39913921","routine":"worker-2","src":"executor.go:123","wf":"samuel-s3-datadevelopments3_data.my_wokflow.my_test_workflow"},"level":"info","msg":"Setting the MetadataDir for StartNode [s3://flytedata/metadata/propeller/samuel-s3-data-development-an4zmzms9fccqwzzzhk7/start-node/data]","ts":"2022-09-02T045213Z"} {"json":{"exec_id":"an4zmzms9fccqwzzzhk7","ns":"samuel-s3-data-development","res_ver":"39913921","routine":"worker-2","src":"executor.go:270","wf":"samuel-s3-datadevelopments3_data.my_wokflow.my_test_workflow"},"level":"debug","msg":"Transitioning/Recording event for workflow state transition [Ready] -\u003e [Running]","ts":"2022-09-02T045213Z"} {"json":{"exec_id":"an4zmzms9fccqwzzzhk7","ns":"samuel-s3-data-development","res_ver":"39913921","routine":"worker-2","src":"admin_eventsink.go:44","wf":"samuel-s3-datadevelopments3_data.my_wokflow.my_test_workflow"},"level":"debug","msg":"AdminEventSink received a new event execution_id\u003cproject\"samuel-s3-data\" domain:\"development\" name:\"an4zmzms9fccqwzzzhk7\" \u003e producer_id:\"propeller\" phase:RUNNING occurred_at\u003cseconds1662094333 nanos:794696270 \u003e ","ts":"2022-09-02T045213Z"} {"json":{"exec_id":"an4zmzms9fccqwzzzhk7","ns":"samuel-s3-data-development","res_ver":"39913921","routine":"worker-2","src":"workflow_event_recorder.go:69","wf":"samuel-s3-datadevelopments3_data.my_wokflow.my_test_workflow"},"level":"info","msg":"Failed to record workflow event [execution_id\u003cproject\"samuel-s3-data\" domain:\"development\" name:\"an4zmzms9fccqwzzzhk7\" \u003e producer_id:\"propeller\" phase:RUNNING occurred_at\u003cseconds1662094333 nanos:794696270 \u003e ] with err: EventSinkError: Error sending event, caused by [rpc error: code = Unauthenticated desc = token parse error [JWT_VERIFICATION_FAILED] Could not retrieve id token from metadata, caused by: rpc error: code = Unauthenticated desc = Request unauthenticated with IDToken]","ts":"2022-09-02T045213Z"} {"json":{"exec_id":"an4zmzms9fccqwzzzhk7","ns":"samuel-s3-data-development","res_ver":"39913921","routine":"worker-2","src":"executor.go:351","wf":"samuel-s3-datadevelopments3_data.my_wokflow.my_test_workflow"},"level":"warning","msg":"Event recording failed. Error [EventSinkError: Error sending event, caused by [rpc error: code = Unauthenticated desc = token parse error [JWT_VERIFICATION_FAILED] Could not retrieve id token from metadata, caused by: rpc error: code = Unauthenticated desc = Request unauthenticated with IDToken]]","ts":"2022-09-02T045213Z"} I am able to run flytectl commands from console using clientsecret file correctly as well as login to the flyte console properly. However the flytepropeller pod seems to not pick the correct authentication method. Please assist me in setting the correct authentication parameters in the flytepropeller pod configurations.
k
token parse error [JWT_VERIFICATION_FAILED] Could not retrieve id token from metadata,
Do you have jwt token in your pods? It could be saved in env or a file
s
Thanks a lot @Kevin Su, I loaded the certs into the pod and now the workflow triggers. Now I am getting some logic errors but that is not related to flyte. Thanks a lot for your support
k
Gotcha, No problem
157 Views