Skip to content
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

OVH DNS provider is not working #449

Closed
tamalsaha opened this issue Sep 2, 2017 · 4 comments

Comments

Projects
None yet
3 participants
@tamalsaha
Copy link
Member

commented Sep 2, 2017

Azure cloud provider with OVH DNS provider. Happens in 3.2.0 and 3.1.4

apiVersion: voyager.appscode.com/v1beta1
kind: Certificate
metadata:
  name: docs-site
spec:
  domains:
  - docs.example.com
  email: miguel@example.com
  provider: ovh
  providerCredentialSecretName: ssl-appscode-io
voyager-operator-705111613-x6rmb] I0901 17:50:18.675955       1 logs.go:19] [INFO][docs.example.com] AuthURL: https://acme-v01.api.letsencrypt.org/acme/authz/jbwOtHilhEST8y1GacZAMmn95xHnBIyvB4dCfyW__gQ 
[voyager-operator-705111613-x6rmb] I0901 17:50:18.675983       1 logs.go:19] [INFO][docs.example.com] acme: Could not find solver for: http-01 
[voyager-operator-705111613-x6rmb] I0901 17:50:18.675990       1 logs.go:19] [INFO][docs.example.com] acme: Trying to solve DNS-01 
[voyager-operator-705111613-x6rmb] E0901 17:50:18.873984       1 runtime.go:66] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference) 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:72 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 
[voyager-operator-705111613-x6rmb] /usr/local/go/src/runtime/asm_amd64.s:514 
[voyager-operator-705111613-x6rmb] /usr/local/go/src/runtime/panic.go:489 
[voyager-operator-705111613-x6rmb] /usr/local/go/src/runtime/panic.go:63 
[voyager-operator-705111613-x6rmb] /usr/local/go/src/runtime/signal_unix.go:290 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/github.com/ovh/go-ovh/ovh/ovh.go:282 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/github.com/ovh/go-ovh/ovh/ovh.go:145 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/github.com/xenolf/lego/providers/dns/ovh/ovh.go:97 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/github.com/xenolf/lego/acme/dns_challenge.go:88 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/github.com/xenolf/lego/acme/client.go:494 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/github.com/xenolf/lego/acme/client.go:379 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/pkg/certificate/controller.go:230 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/pkg/certificate/controller.go:195 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/pkg/operator/certificate_tprs.go:41 
[voyager-operator-705111613-x6rmb] /go/src/github.com/appscode/voyager/vendor/k8s.io/client-go/tools/cache/controller.go:192 
[voyager-operator-705111613-x6rmb] <autogenerated>:54 
@tamalsaha

This comment has been minimized.

Copy link
Member Author

commented Sep 2, 2017

Related: go-acme/lego#347 ?

@skuda

This comment has been minimized.

Copy link

commented Sep 2, 2017

@tamalsaha: Nevermind, this problem was caused by my conversion to base64 while adding my OVH api credentials to the secret yaml file. I forgo to add -n to echo so I had '\n' at the end of every variable.

I fixed that and Voyager is running fine with OVH dns provider. Sorry for the noise!

@skuda

This comment has been minimized.

Copy link

commented Sep 2, 2017

I just updated the lego issue as well, the poster was using a bad format for the OVH_ENDPOINT variable.

@tamalsaha tamalsaha closed this Sep 2, 2017

@tamalsaha

This comment has been minimized.

Copy link
Member Author

commented Sep 2, 2017

Glad that it is working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.