<#3789 [BUG] Can't launch workflow when defining `...
# flyte-github
a
#3789 [BUG] Can't launch workflow when defining `k8sServiceAccount` and `assumableIamRole` Issue created by SuperBo Describe the bug After registering a workflow with following command:
flytectl register files -d development -p flytesnacks --archive flyte-package.tgz --version "0.0.8" --k8sServiceAccount flyte-user --assumableIamRole arn:aws:iam::<acount_name>:role/<role_name>
. I can't launch that workflow, whenever I tried to launch that workflow, they returned this error:
Request failed with status code 500 failed to create workflow in propeller <http://FlyteWorkflow.flyte.lyft.com|FlyteWorkflow.flyte.lyft.com> "atsv5q7rp97m5fdg5kqs" is invalid: [metadata.annotations: Invalid value: "": name part must be non-empty, metadata.annotations: Invalid value: "": name part must consist of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]')]
Expected behavior Launch Workflow successfully Additional context to reproduce 1. pyflyte init my_project 2. cd my_project 3. pyflyte --pkgs workflows package 4. flytectl register files -d development -p flytesnacks --archive flyte-package.tgz --version "0.0.1" --k8sServiceAccount flyte-user --assumableIamRole arnawsiam:::role/ 5. Execution workflow via Flyte admin or flytectl. Screenshots https://imgur.com/a/DlOYUG6 Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte