Hello, I updated the Datahub using helm (v0.8.24 t...
# troubleshoot
a
Hello, I updated the Datahub using helm (v0.8.24 to v0.9.1), and now after the update I have problems with login via Okta, I did not change any Okta settings, I just did the update
helm upgrade --install datahub datahub/datahub --values values.yaml --debug
Now I see this error when I try to go to my main datahub page:
Copy code
Failed to perform post authentication steps. Error message: Failed to provision user with urn urn:li:corpuser:Slava.S@qwerty.com.
b
Hey Slava, can you see any errors or exceptions in the running pods logs?
a
@bulky-electrician-72362 No, I can’t see there any errors or exceptions. I’ve removed the AUTH_OIDC_ENABLED env and all other Okta related envs from the datahub-frontend, I’ve check it inside the pod, its gone. But it still redirects me to the Okta page
b
did you set
oidcAuthentication.enabled
to false in the front-end part of the values.yaml?
a
Could you clarify what do you mean? I have this in my values file I removed all the envs
Copy code
datahub-frontend:
  enabled: true
  image:
    repository: linkedin/datahub-frontend-react
    tag: "v0.9.1"
  ingress:
    enabled: false
#  extraEnvs:
#    - name: AUTH_OIDC_ENABLED
#      value: "false"
#    - name: AUTH_OIDC_CLIENT_ID
#      value: "qwe"
#    - name: AUTH_OIDC_CLIENT_SECRET
#      value: "qwe"
#    - name: AUTH_OIDC_DISCOVERY_URI
#      value: "<https://qweqwe.com/.well-known/openid-configuration>"
#    - name: AUTH_OIDC_BASE_URL
#      value: "<http://asdasd.com>"
#    - name: AUTH_OIDC_SCOPE
#      value: "openid profile email groups"
@bulky-electrician-72362 where exactly should I set it
oidcAuthentication.enabled
? I never saw this thing
you mean the subcharts? Sorry, I never touch it, let me check
Yes, it’s Flase. I have never changed anything in this file
Copy code
oidcAuthentication:
  enabled: false
b
you can set subchart values in the main values.yaml. this would overwrite it:
Copy code
datahub-frontend:
  oidcAuthentication:
    enabled: true
so this is set to
false
or not set and datahub is trying to connect to okta?
a
yes, in any case it redirects me to the okta
b
how does it know okta is your provider? have you tried restarting the frontend pod.
a
yes, I tried. In the end, I just completely reinstalled the datahab Do you have detailed instructions somewhere for the steps to update? I always face the problems when updating. Perhaps I am doing something wrong? Every time I need update Datahub I do this: • download the repository locally https://github.com/acryldata/datahub-helm • go to downloaded folder:
cd datahub-helm-master/charts/datahub
• update new downloaded values.yaml in accordance with my previous values.yaml • run helm upgrade --install datahub datahub/datahub --values values.yaml --debug
b
I think you need to run
helm dependency build
as well.
a
Now I have another Okta issue
b
What's the issue?
@bulky-electrician-72362 Can you help me please with this issue?
b
Can you check wether you can reach the end points from your pod. You can
exec
into the pod and run just a
curl
query against the endpoints. It might a connectivityt issue
Checking the docss here: https://github.com/acryldata/datahub-helm/blob/master/charts/datahub/subcharts/datahub-frontend/README.md
Copy code
baseUrl: "dev-datahub.q.com/sso"
    discoveryUrl: "q.com/.well-known/openid-configuration"
these variables are not part of the values yaml.
r
Hey there! 👋 Make sure your message includes the following information if relevant, so we can help more effectively! 1. Which DataHub version are you using? (e.g. 0.12.0) 2. Please post any relevant error logs on the thread!