secret "primehub-client-admin-ui" or "primehub-client-jupyterhub" not found
See original GitHub issueWhat happened: I followed the steps given on the official website, and set the following variables: PRIMEHUB_DOMAIN=test.corp.com.cn PRIMEHUB_PASSWORD=password KEYCLOAK_DOMAIN=test.corp.com.cn KEYCLOAK_PASSWORD=password STORAGE_CLASS=k8s-rbd GRAPHQL_SECRET_KEY=$(openssl rand -hex 32)s HUB_AUTH_STATE_CRYPTO_KEY=$(openssl rand -hex 32) HUB_PROXY_SECRET_TOKEN=$(openssl rand -hex 32)
and then install it using helm:
helm upgrade
–install
–reset-values
–namespace hub
–values primehub-values.yaml
–timeout 3000
primehub infuseai/primehub
however, it reported errors after installation
kubectl get all -n hub
NAME READY STATUS RESTARTS AGE pod/admission-post-install-job-d77m5 0/1 Completed 0 4m25s pod/hub-6d56565db7-rq557 0/1 CreateContainerConfigError 0 4m28s pod/pod-image-replacing-webhook-b64ff775b-jdcs4 1/1 Running 0 4m28s pod/primehub-bootstrap-4h8tz 1/1 Running 0 4m19s pod/primehub-console-7865c5cb89-r4tpd 0/1 CreateContainerConfigError 0 4m27s pod/primehub-graphql-796596c56f-tj5sl 0/1 CreateContainerConfigError 0 4m28s pod/primehub-group-7c4669f57f-8tqww 1/1 Running 0 4m28s pod/primehub-watcher-fbd4cbc96-wwdxc 0/1 CreateContainerConfigError 0 4m28s pod/proxy-6dfd9b946-fgvt2 1/1 Running 0 4m28s pod/resources-validation-webhook-67755979f7-jrz22 1/1 Running 0 4m27s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE service/hub ClusterIP 10.43.196.87 <none> 8081/TCP 4m28s service/pod-image-replacing-webhook-svc ClusterIP 10.43.235.106 <none> 443/TCP 4m28s service/primehub-console ClusterIP 10.43.11.61 <none> 80/TCP 4m28s service/primehub-graphql ClusterIP 10.43.129.79 <none> 80/TCP 4m28s service/primehub-group ClusterIP 10.43.45.241 <none> 80/TCP 4m28s service/proxy-api ClusterIP 10.43.191.100 <none> 8001/TCP 4m28s service/proxy-public ClusterIP 10.43.195.14 <none> 80/TCP 4m28s service/resources-validation-webhook-svc ClusterIP 10.43.121.126 <none> 443/TCP 4m28s
NAME READY UP-TO-DATE AVAILABLE AGE deployment.apps/hub 0/1 1 0 4m28s deployment.apps/pod-image-replacing-webhook 1/1 1 1 4m28s deployment.apps/primehub-console 0/1 1 0 4m28s deployment.apps/primehub-graphql 0/1 1 0 4m28s deployment.apps/primehub-group 1/1 1 1 4m28s deployment.apps/primehub-watcher 0/1 1 0 4m28s deployment.apps/proxy 1/1 1 1 4m28s deployment.apps/resources-validation-webhook 1/1 1 1 4m28s
NAME DESIRED CURRENT READY AGE replicaset.apps/hub-6d56565db7 1 1 0 4m28s replicaset.apps/pod-image-replacing-webhook-b64ff775b 1 1 1 4m28s replicaset.apps/primehub-console-7865c5cb89 1 1 0 4m27s replicaset.apps/primehub-graphql-796596c56f 1 1 0 4m28s replicaset.apps/primehub-group-7c4669f57f 1 1 1 4m28s replicaset.apps/primehub-watcher-fbd4cbc96 1 1 0 4m28s replicaset.apps/proxy-6dfd9b946 1 1 1 4m28s replicaset.apps/resources-validation-webhook-67755979f7 1 1 1 4m27s
NAME READY AGE statefulset.apps/user-placeholder 0/0 4m28s
NAME COMPLETIONS DURATION AGE job.batch/admission-post-install-job 1/1 4s 4m25s job.batch/primehub-bootstrap 0/1 4m19s 4m19s
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
kubectl describe pod primehub-watcher-fbd4cbc96-wwdxc -n hub, it returned that : Events: Type Reason Age From Message
Normal Scheduled 7m default-scheduler Successfully assigned hub/primehub-watcher-fbd4cbc96-wwdxc to shoya15plpegpu087 Normal Pulling 7m kubelet, shoya15plpegpu087 Pulling image “infuseai/primehub-console-watcher:bc0adf0” Normal Pulled 7m kubelet, shoya15plpegpu087 Successfully pulled image “infuseai/primehub-console-watcher:bc0adf0” Warning Failed 5m (x12 over 7m) kubelet, shoya15plpegpu087 Error: secret “primehub-client-admin-ui” not found Normal Pulled 2m (x24 over 7m) kubelet, shoya15plpegpu087 Container image “infuseai/primehub-console-watcher:bc0adf0” already present on machine
or returned like this: Error: secret “primehub-client-jupyterhub” not found
Environment:
- PrimeHub version (use
helm ls
): 2.7 - Kubernetes version (use
kubectl version
): 1.15
I want to know if there is something wrong with my installation steps?
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
@aar0nTw thank you for your suggestions.It works now! Besides set the primehub.schema and keycloak.scheme to http, i manully set the the “Frontend URL” to http://test.corp.com.cn/auth in the keycloak console to make sure that it can be reached from the primehub-bootstrap pod.
Hi @yuanbw could u try use
http
instead ofhttps
forprimehub.schema
andkeycloak.scheme
, thanks.and the
GRAPHQL_SECRET_KEY=$(openssl rand -hex 32)s
got an additionals
, probably will get potential problem, pls remove thes
character at end of line.ref: https://github.com/InfuseAI/primehub/blob/master/INSTALL.md