Frank Shen
11/15/2022, 12:12 AMflytekit/core/type_engine.py", line 319, in get_literal_type
f"Dataclass {t} should be decorated with @dataclass_json to be " f"serialized correctly"
AssertionError: Dataclass <class 'flytekit.core.resources.Resources'> should be decorated with @dataclass_json to be serialized correctly
Frank Shen
11/15/2022, 12:13 AMFrank Shen
11/15/2022, 12:14 AMvarsha Parthasarathy
11/15/2022, 5:45 AMvarsha Parthasarathy
11/15/2022, 3:21 PMAphra Bloomfield
11/15/2022, 8:32 PMAphra Bloomfield
11/16/2022, 12:50 AMgithub.fetch_repos
task, can i employ it in snyk.scan_repos
?Louis DiNatale
11/16/2022, 1:17 AMKamakshi Muthukrishnan
11/16/2022, 7:22 AMKamakshi Muthukrishnan
11/16/2022, 7:22 AMKamakshi Muthukrishnan
11/16/2022, 7:22 AMKS Tarun
11/16/2022, 8:27 AMByron Murillo
11/16/2022, 2:47 PMRobin Eklund
11/16/2022, 4:14 PMflytekit.exceptions.scopes.FlyteScopedUserException: An error occurred (ExpiredToken) when calling the AssumeRole operation: The security token included in the request is expired
and after a while it also prints this error:
Called process exited with error code: 1. Stderr dump:\n\nb'upload failed: ../../tmp/flyte-kvw3xxto/sandbox/local_flytekit/engine_dir/error.pb to s3://<s3_bucket>/metadata/propeller/<project_name>-development-<execution_id>/n1/data/0/error.pb An error occurred (AccessDenied) when calling the PutObject operation: Access Denied
I trigger this workflow with a Launch Plan which specify a specific service account (not default). It was created like this:
security_context = SecurityContext(
run_as=Identity(
iam_role=None,
k8s_service_account=f"my-aws-role",
),
)
LaunchPlan.get_or_create(
name="my_lp",
workflow=my_wf,
security_context=security_context,
)
Anyone who faced the same error before?Tarmily Wen
11/16/2022, 5:24 PMkubectl -n flyte port-forward service/flyteconsole 8080:80
The only thing I didn't follow in the guide is having a domain name. We don't want to expose this externally. But I am surprised the port forwarding doesn't work. Is the domain name used beyond just the ingress point?Aphra Bloomfield
11/16/2022, 5:38 PMSujith Samuel
11/16/2022, 5:54 PMLaura Lin
11/16/2022, 9:54 PMAphra Bloomfield
11/17/2022, 12:18 AMKS Tarun
11/17/2022, 1:58 PMflyteadmin-c9cccb94d-fcq5s_flyte_flyteadmin-51bb75904a0581e506a547fc4e434e29b564ec2bcf9d41c343575ffdb29c5bc4
flytepropeller-cbf5cb9f-9kn76_flyte_flytepropeller-b5c4de694b13a1687857b30012166b8218f8ddd20e141f94492b441fa7fdf425
flyteconsole-5c7b456999-jqt42_flyte_flyteconsole-7f461bce1be5bcf45010474a20c7b6602ed0892374d968838ca2ed72f9c1d878
Are these contributing to the increased runtime ?Byron Murillo
11/17/2022, 7:27 PMSujith Samuel
11/18/2022, 2:10 PMJay Ganbat
11/18/2022, 6:07 PMmap
type in FlyteConsole. However i cannot give it an empty dict, flyteconsole is not just wont submit the job and no error msg shows up, like shown below i kept clicking on Launch
but nothing happens.
this LP has default input as empty dict, does flyte not accept empty dictFelix Ruess
11/18/2022, 8:03 PMflytectl delete
doesn't seem to have that...Felix Ruess
11/18/2022, 8:09 PMByron Murillo
11/18/2022, 8:18 PMAphra Bloomfield
11/18/2022, 10:42 PMRequest failed with status code 500 failed to create workflow in propeller namespaces "sat-development" not found
. Not sure why this is coming up, as the project sat
exists and so should the development
namespaces…Tarmily Wen
11/18/2022, 11:43 PMRahul Mehta
11/19/2022, 12:09 AMseunggs
11/19/2022, 3:39 AMflytekit.extras
types, but it doesn’t seem to exist in flytekit
(v1.2.3) - do I need to install a separate module for this?