-
Notifications
You must be signed in to change notification settings - Fork 834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installing sdep straight after operator seems not fully reliable #669
Comments
How does it fail? Any logs to add to this? |
So it was
But turns out it has already been fixed by b1f09c1. I just had to update the fork I was running from. FYI @SachinVarghese |
@ryandawsonuk I get similar issue, any tip to solve this? Thanks. Error from server (InternalError): error when creating "deployment.json": Internal error occurred: failed calling webhook "mutating-create-update-seldondeployment.seldon.io": Post https://webhook-server-service.seldon-system.svc:443/mutating-create-update-seldondeployment?timeout=30s: x509: certificate signed by unknown authority |
Does the issue remain or can you eventually create deployments? |
@cliveseldon yep, the logs are tell me the issue: $ kubectl logs -n seldon-system seldon-operator-controller-manager-0
{"level":"info","ts":1567514444.689117,"logger":"entrypoint","msg":"setting up client for manager"}
{"level":"info","ts":1567514444.7105503,"logger":"entrypoint","msg":"setting up manager"}
{"level":"info","ts":1567514444.9495192,"logger":"entrypoint","msg":"Registering Components."}
{"level":"info","ts":1567514444.9495943,"logger":"entrypoint","msg":"setting up scheme"}
{"level":"info","ts":1567514444.9499424,"logger":"entrypoint","msg":"setting up istio scheme"}
{"level":"info","ts":1567514444.9501355,"logger":"entrypoint","msg":"Setting up controller"}
{"level":"info","ts":1567514444.9512691,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"seldondeployment-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1567514444.952848,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"seldondeployment-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1567514444.9530406,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"seldondeployment-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1567514444.9532733,"logger":"entrypoint","msg":"setting up webhooks"}
{"level":"info","ts":1567514444.9534113,"logger":"entrypoint","msg":"Starting the Cmd."}
{"level":"info","ts":1567514445.055113,"logger":"kubebuilder.webhook","msg":"installing webhook configuration in cluster"}
{"level":"info","ts":1567514445.0553577,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"seldondeployment-controller"}
{"level":"info","ts":1567514445.16635,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"seldondeployment-controller","worker count":1}
2019/09/03 12:41:05 http: TLS handshake error from 10.244.2.78:60210: tls: first record does not look like a TLS handshake
2019/09/03 12:42:05 http: TLS handshake error from 10.244.2.78:60702: tls: first record does not look like a TLS handshake
2019/09/03 12:43:05 http: TLS handshake error from 10.244.2.78:32956: tls: first record does not look like a TLS handshake
2019/09/03 12:44:05 http: TLS handshake error from 10.244.2.78:33476: tls: first record does not look like a TLS handshake
2019/09/03 12:45:05 http: TLS handshake error from 10.244.2.78:33962: tls: first record does not look like a TLS handshake |
These errors can be ignored: |
@cliveseldon I'm focusing in understand and solve this line below: {"level":"info","ts":1567519576.9951558,"logger":"kubebuilder.admission.cert.writer","msg":"cert is invalid or expiring, regenerating a new one"} |
I think this issue have relation with elastic/cloud-on-k8s#896 (comment): $ kubectl get ValidatingWebhookConfiguration validating-webhook-configuration -o yaml
apiVersion: admissionregistration.k8s.io/v1beta1
kind: ValidatingWebhookConfiguration
metadata:
creationTimestamp: "2019-09-03T14:13:10Z"
generation: 1
name: validating-webhook-configuration
resourceVersion: "4761836"
selfLink: /apis/admissionregistration.k8s.io/v1beta1/validatingwebhookconfigurations/validating-webhook-configuration
uid: 04630e58-f83a-4912-8cfa-d3e0eba66fcd
webhooks:
- admissionReviewVersions:
- v1beta1
clientConfig:
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMwakNDQWJxZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFhTVJnd0ZnWURWUVFERXc5M1pXSm8KYjI5ckxXTmxjblF0WTJFd0hoY05NVGt3T1RBek1UUXhNekV3V2hjTk1qa3dPRE14TVRReE16RXdXakFhTVJndwpGZ1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U5pUjhzWEQyT25mYzdBZEhQcTFPYmt6OHAvdFV2U2F3RjNJYXh0TmIxK1RIKzkvb3JyMXE3bzJuZkNYCjRBaTZ2NHJiCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
service:
name: webhook-server-service
namespace: seldon-system
path: /validating-create-update-seldondeployment
port: 443
failurePolicy: Fail
matchPolicy: Exact
name: validating-create-update-seldondeployment.seldon.io
namespaceSelector:
matchExpressions:
- key: control-plane
operator: DoesNotExist
objectSelector: {}
rules:
- apiGroups:
- machinelearning.seldon.io
apiVersions:
- v1alpha2
operations:
- CREATE
- UPDATE
resources:
- seldondeployments
scope: '*'
sideEffects: Unknown
timeoutSeconds: 30 |
Could the solution be : elastic/cloud-on-k8s#896 (comment) |
@brunowego Can we close this if you solved your issue? |
Closing. Please reopen if not solved. |
We're (myself and @SachinVarghese ) are running
Most of the time it works but occasionally the last line fails. When it does we have to delete both releases and run again. Not sure why. We need to recreate it. This is a note to return to in the future.
The text was updated successfully, but these errors were encountered: