Ariel Kaspit
05/29/2023, 8:07 AMflytectl
I deployed Flyte with Helm on GKE cluster using OIDC and OAuth2 with Okta.
The ingress is flyte.my.domain
exposed by GKE ingress controlle.
The console works perfectly.
This is how the config.yaml
looks like:
admin:
endpoint: dns:///flyte.my.domain
authType: Pkce
insecure: false
I keep getting this error:
PermissionDenied desc = unexpected HTTP status code received from server: 403 (Forbidden); malformed header: missing HTTP content-type
Am I missing something?
Would appreciate your help!
ThanksStephen
05/29/2023, 8:49 AMAkshat D.
05/29/2023, 9:15 AMTommy Nam
05/29/2023, 12:57 PMjuchao song
05/30/2023, 6:24 AMPradithya Aria Pura
05/30/2023, 11:04 AMRob Rati
05/30/2023, 3:19 PMuser
05/30/2023, 4:00 PMJan Fiedler
05/30/2023, 4:29 PMLaura Lin
05/30/2023, 4:43 PMRob Rati
05/30/2023, 7:58 PMEvan Sadler
05/30/2023, 10:13 PMFrank Shen
05/30/2023, 11:08 PMEvan Sadler
05/31/2023, 3:00 PMRob Rati
05/31/2023, 3:40 PMcaCertFilePath
be in for the .flyte/config? I've tried many different formats, but only .pem works for flytectl. Nothing works for pyflyte though. pyflyte thows this error when I use a .pem:
Failed with Unknown Exception <class 'TypeError'> Reason: expected certificate to be bytes, got <class 'OpenSSL.crypto.X509'>
expected certificate to be bytes, got <class 'OpenSSL.crypto.X509'>Bosco Raju
05/31/2023, 4:01 PMflyte-binary
helm chart to setup external auth server. Unfortunately, not being successfully, the below config is not getting propagated to the configmap. Setting enableAuthServer=false
is having no effect. Has anyone successfully used flyte-binary
helm chart to setup an external server?
configuration:
auth:
enabled: true
enableAuthServer: false
oidc:
baseUrl: "okta-server"
clientId: "my_id"
clientSecret: "my_secret-"
internal:
# propeller
clientId: "my_id"
clientSecret: "my_secret-"
clientSecretHash: "hash
flyteClient:
clientId: my_id"
redirectUri: <http://localhost:53593/callback>
scopes:
- all
- offline
authorizedUris:
- https://${app_name}.${env}.<http://cloud.com|cloud.com>
- <http://flyteadmin:80>
- <http://flyteadmin.flyte.svc.cluster.local:80>
Evan Sadler
05/31/2023, 5:24 PM[3/3] currentAttempt done. Last Error: SYSTEM::Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/flytekit/exceptions/scopes.py", line 165, in system_entry_point
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/flytekit/core/base_task.py", line 530, in dispatch_execute
raise type(exc)(msg) from exc
Message:
Failed to convert inputs of task 'flytesnacks.convert_bq_table_to_pandas_dataframe':
Protocol not known: bq
SYSTEM ERROR! Contact platform administrators.
Matthew Corley
05/31/2023, 6:11 PMMelody Lui
05/31/2023, 10:42 PMFrank Shen
05/31/2023, 11:42 PMFranco Bocci
06/01/2023, 7:32 AMs3fs
or gcsfs
, or should it work transparently?
One of our projects is having issues due to this, and I’m not sure if it’s a problem on the project’s dependencies, or something that we need to specifically install besides flytekit.
Thanks!Albert Wibowo
06/01/2023, 1:40 PMENV AWS_ACCESS_KEY_ID [some value]
ENV AWS_SECRET_ACCESS_KEY [some value]
ENV AWS_SESSION_TOKEN [some value]
But I keep getting an error message. Is there a way around this? Or do i need to spin up my own cluster?Rob Rati
06/01/2023, 3:04 PMinsecureSkipVerify: true
to my config.yaml, and when I try to do a pyflyte run -remote
I get this error:
Failed with Exception Code: SYSTEM:Unknown
RPC Failed, with Status: StatusCode.UNAVAILABLE
details: unavailable
Debug string UNKNOWN:Error received from peer {created_time:"2023-06-01T105201.368208-04:00", grpc_status:14, grpc_message:"unavailable"}
We are accessing through an AWS ALB, and flytectl get project
works so I think the grpc routing is working. I'm guessing the grpc error message is because python's grpc doesn't like invalid ssl? If I'm correct, does the error message I am receiving seem inline with expectations if the ssl cert isn't verified?Ryan Michael
06/01/2023, 3:21 PMLaura Lin
06/01/2023, 8:56 PMJay Ganbat
06/01/2023, 9:22 PMBenjamin Chew
06/01/2023, 10:46 PMFrank Shen
06/02/2023, 4:16 PMJay Ganbat
06/02/2023, 6:21 PMBosco Raju
06/02/2023, 9:35 PM