Skip to content

OVH provider : communication with eu.api.ovh.com #1546

@aellert

Description

@aellert

What happened:

Communication with OVH API doesn't work properly.
Number of zone are correctly display with mean my API key setup is correct, but I have errors in logs.

time="2020-04-25T14:43:36Z" level=info msg="OVH: 230 zones found"
time="2020-04-25T14:43:42Z" level=info msg="OVH: 2958 endpoints have been found"
time="2020-04-25T14:44:24Z" level=error msg="Get \"https://eu.api.ovh.com/1.0/domain/zone\": dial tcp 51.38.17.223:443: i/o timeout"
time="2020-04-25T14:44:54Z" level=error msg="Get \"https://eu.api.ovh.com/1.0/domain/zone\": dial tcp 51.38.17.223:443: i/o timeout"
time="2020-04-25T14:45:20Z" level=info msg="OVH: 230 zones found"
time="2020-04-25T14:45:34Z" level=error msg="Error 408: \"<html><body><h1>408 Request Time-out</h1>\\nYour browser didn't send a complete request in time.\\n</body></html>\\n\""
time="2020-04-25T14:46:50Z" level=error msg="Get \"https://eu.api.ovh.com/1.0/domain/zone\": dial tcp 51.38.17.223:443: i/o timeout"
time="2020-04-25T14:47:20Z" level=info msg="OVH: 230 zones found"
time="2020-04-25T14:48:09Z" level=error msg="Get \"https://eu.api.ovh.com/1.0/domain/zone/someovhdomain.com/record\": read tcp 10.2.0.63:58162->51.38.17.223:443: read: connection reset by peer"

What you expected to happen:

I create a test 'nginx.yaml' like describe in https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/ovh.md and I expected the DNS record to be created.

How to reproduce it (as minimally and precisely as possible):

I use bitnami helm chart https://github.com/bitnami/charts/tree/master/bitnami/external-dns with this simple config:
provider=ovh
ovh.consumerKey=xxxxxxxxxxxxxxxx
ovh.applicationKey=xxxxxxxxxxxxx
ovh.applicationSecret=xxxxxxxxxxxxxxx

Anything else we need to know?:

My Kubernetes cluster is RBAC enabled and it's a fresh install from 'OVH Managed Kubernetes'

Environment:

  • External-DNS version (use external-dns --version): v0.7.1
  • DNS provider: OVH
  • Kubernetes version: 1.17

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions