no-proxy CIDRs not handled by dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Azure Cloud Provider |
Won't Fix
|
Medium
|
Adam Dyess | ||
Charm AWS Kubernetes Storage |
Won't Fix
|
Medium
|
Adam Dyess | ||
Charm GCP Kubernetes Storage |
Won't Fix
|
Medium
|
Adam Dyess | ||
KubeVirt Charm |
Won't Fix
|
Medium
|
Adam Dyess | ||
Multus Charm |
Won't Fix
|
Medium
|
Adam Dyess | ||
OPA Gatekeeper Operator |
Won't Fix
|
Medium
|
Adam Dyess | ||
SR-IOV CNI Charm |
Won't Fix
|
Medium
|
Adam Dyess | ||
SR-IOV Network Device Plugin Charm |
Won't Fix
|
Medium
|
Adam Dyess | ||
vSphere Cloud Provider Charm |
Won't Fix
|
Medium
|
Adam Dyess |
Bug Description
Hello,
When deploying the vsphere cloud provider inside of environments with proxies, setting the juju model-config no-proxy environment variables with CIDRs will not work.
This is because the underlaying dependecies will make HTTPs requests to the kubernetes-
[Logs]
➜ esa juju debug-log -i vsphere-
unit-vsphere-
unit-vsphere-
unit-vsphere-
unit-vsphere-
unit-vsphere-
unit-vsphere-
unit-vsphere-
unit-vsphere-
Traceback (most recent call last):
File "/var/lib/
yield
File "/var/lib/
resp = self._pool.
File "/var/lib/
raise exc
File "/var/lib/
response = connection.
File "/var/lib/
raise ProxyError(msg)
httpcore.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/var/lib/
main(
File "/var/lib/
_emit_
File "/var/lib/
event_
File "/var/lib/
framework.
File "/var/lib/
self.
File "/var/lib/
custom_
File "/var/lib/
self.
File "/var/lib/
controller.
File "/var/lib/
self.
File "/var/lib/
self.
File "/var/lib/
return self.patch(
File "/var/lib/
return self._client.
File "/var/lib/
resp = self.send(req)
File "/var/lib/
return self._client.
File "/var/lib/
response = self._send_
File "/var/lib/
response = self._send_
File "/var/lib/
response = self._send_
File "/var/lib/
response = transport.
File "/var/lib/
with map_httpcore_
File "/usr/lib/
self.
File "/var/lib/
raise mapped_exc(message) from exc
httpx.ProxyError: 403 Forbidden
unit-vsphere-
unit-vsphere-
[Workaround]
Set no proxy to include IP or FQDN of the Kubernetes Control Plane (LB/IP) (Not a CIDR)
Thanks,
Peter
description: | updated |
Changed in charm-vsphere-cloud-provider: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in charm-sriov-network-device-plugin: | |
assignee: | nobody → Adam Dyess (addyess) |
Changed in charm-vsphere-cloud-provider: | |
assignee: | nobody → Adam Dyess (addyess) |
Updated workaround.