You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the load balancer creation step, the request is being resolved by CoreDNS (10.96.0.10:53) instead of using the proxy. Below is the error message encountered:
Reconciler error
{"controller": "vcdcluster", "controllerGroup": "infrastructure.cluster.x-k8s.io", "error": "failed to create gateway manager using the workload client to reconcile cluster [<cluster name>]: error caching gateway related details: [unable to get OVDC network [<network name>]: [unable to get all ovdc networks: [<nil>] : [Get \"https://<vcd>/cloudapi/1.0.0/orgVdcNetworks?page=1&pageSize=32\": dial tcp: lookup <vcd> on 10.96.0.10:53: read udp 10.244.0.13:36578->10.96.0.10:53: i/o timeout]]]", "errorVerbose": "error caching gateway related details: [unable to get OVDC network [<network name>]: [unable to get all ovdc networks: [<nil>]: [Get \"https://<vcd>/cloudapi/1.0.0/orgVdcNetworks?page=1&pageSize=32\": dial tcp: lookup <vcd> on 10.96.0.10:53: read udp 10.244.0.13:36578->10.96.0.10:53: i/o timeout]]]\nfailed to create gateway manager using the workload client to reconcile cluster [<cluster name>]
Interestingly, other API calls are successful, such as token creation and determining which API version to use. These calls fail if the proxy is not set in the environment variables, indicating that some calls are respecting the proxy settings:
auth.go:50] Using VCD OpenAPI version [37.2]
client.go:201] Client is sysadmin: [false]
Additional Information:
If the cluster is deployed in an environment that does not require a proxy, all API calls, including those that fail in the proxy-requiring environment, are successful.
Reproduction steps
Deploy a cluster in an environment that requires a proxy to connect to Cloud Director.
Set the https_proxy and no_proxy environment variables in the cluster-api-provider-cloud-director deployment.
Observe the error during the load balancer creation step, as detailed above.
Deploy the same cluster in an environment that does not require a proxy and observe that all API calls are successful.
Expected behavior
All API calls made by cluster-api-provider-cloud-director should utilize the proxy settings defined in the environment variables.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
It appears that not all calls made by
cluster-api-provider-cloud-director
are utilizing the proxy settings defined in the environment variables.Environment Details:
cluster-api-provider-cloud-director
has been updated withhttps_proxy
andno_proxy
environment variables.Here is the deployment configuration:
Issue Observed:
During the load balancer creation step, the request is being resolved by CoreDNS (10.96.0.10:53) instead of using the proxy. Below is the error message encountered:
Interestingly, other API calls are successful, such as token creation and determining which API version to use. These calls fail if the proxy is not set in the environment variables, indicating that some calls are respecting the proxy settings:
Additional Information:
Reproduction steps
https_proxy
andno_proxy
environment variables in thecluster-api-provider-cloud-director
deployment.Expected behavior
All API calls made by
cluster-api-provider-cloud-director
should utilize the proxy settings defined in the environment variables.Additional context
No response
The text was updated successfully, but these errors were encountered: