Chandramoulee K V
09/29/2022, 6:42 AMflytectl get task --project flytesnacks --domain development {taskname} --latest --execFile exec_spec.yaml
and this modified the exec_spec.yaml
and it looks like this:
iamRoleARN: ""
inputs: {}
kubeServiceAcct: ""
targetDomain: ""
targetProject: ""
task: {taskname}
version: "1.0"
and i tried to create an execution with the following command :
flytectl create execution --execFile exec_spec.yaml -p flytesnacks -d development --targetProject flytesnacks
and it throws an error like:
Error: rpc error: code = Internal desc = failed to create workflow in propeller json: error calling MarshalJSON for type *v1alpha1.Inputs: Marshal called with nil
Samhita Alla
Chandramoulee K V
09/29/2022, 7:22 AMSamhita Alla
Chandramoulee K V
09/29/2022, 7:36 AMPrafulla Mahindrakar
09/29/2022, 8:10 AMChandramoulee K V
09/29/2022, 9:52 AM{"json":{"exec_id":"afj52mbm7qn9g4plf5nr"},"level":"warning","msg":"Failed to fetch override values when assigning task resource default values for [resource_type:WORKFLOW project:\"flytesnacks\" domain:\"development\" name:\".flytegen.task1train.svm_trainer\" version:\"1.0\" ]: Resource [{Project:flytesnacks Domain:development Workflow:.flytegen.task1train.svm_trainer LaunchPlan: ResourceType:TASK_RESOURCE}] not found","ts":"2022-09-29T09:48:52Z"}
{"json":{"exec_id":"afj52mbm7qn9g4plf5nr"},"level":"warning","msg":"Failed to fetch override values when assigning execution queue for [{ResourceType:WORKFLOW Project:flytesnacks Domain:development Name:.flytegen.task1train.svm_trainer Version:1.0 XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0}] with err: Resource [{Project:flytesnacks Domain:development Workflow:.flytegen.task1train.svm_trainer LaunchPlan: ResourceType:EXECUTION_QUEUE}] not found","ts":"2022-09-29T09:48:52Z"}
{"json":{"exec_id":"afj52mbm7qn9g4plf5nr"},"level":"warning","msg":"Setting security context from auth Role","ts":"2022-09-29T09:48:52Z"}
Prafulla Mahindrakar
09/29/2022, 10:02 AMChandramoulee K V
10/03/2022, 10:20 AMError: rpc error: code = Internal desc = failed to create workflow in propeller json: error calling MarshalJSON for type *v1alpha1.Inputs: Marshal called with nil
Prafulla Mahindrakar
10/03/2022, 10:39 AM