Skip to content

Error retrieving DNS resources #123

@s0uky

Description

@s0uky

Hello,
I'm forcing issue with retrieving DNS resources over API:

E0119 15:14:32.063206       1 maascluster_controller.go:242] controllers/MaasCluster "msg"="failed to reconcile load balancer" "error"="error retrieving dns resources \"maas1-k8s-dev-547d29.default\": parse \"http://maas-example.com:5240/MAAS\\n/api/2.0/dnsresources/\": net/url: invalid control character in URL" "maascluster"="maas1-k8s-dev-infra"
E0119 15:14:32.063703       1 controller.go:317] controller/maascluster "msg"="Reconciler error" "error"="error retrieving dns resources \"maas1-k8s-dev-infra-547d29.default\": parse \"http://maas-example.com:5240/MAAS\\n/api/2.0/dnsresources/\": net/url: invalid control character in URL" "name"="maas1-k8s-dev-infra" "namespace"="maas1-k8s-dev-infra" "reconciler group"="infrastructure.cluster.x-k8s.io" "reconciler kind"="MaasCluster"

I have only this in endpoint var:
MAAS_ENDPOINT=http://maas-example.com:5240/MAAS
Rest of URL is added automatically: \\n/api/2.0/dnsresources/\ and that newline sign could be the problem.

I'm using v0.5.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions