containerd does not respect juju model proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Containerd Subordinate Charm |
Fix Released
|
Medium
|
Joseph Borg | ||
Docker Charm Layer |
Invalid
|
High
|
Unassigned | ||
Docker Registry Charm |
Invalid
|
High
|
Unassigned | ||
Docker Subordinate Charm |
Invalid
|
High
|
Unassigned |
Bug Description
Related to this this bug:
https:/
Using 1.16.2, during validation, test_audit_webhook tries and fails to pull a pod image due to not using the proxy.
"Error from server (BadRequest): container "test-audit-
The proxy is set in the juju model:
juju-
juju-
apt-http-proxy: http://
apt-
snap-
snap-
juju-no-proxy: 10.244.
Also setting the proxy in the containerd charm config resolves this issue:
containerd:
charm: cs:~containers/
options:
no_proxy: 10.244.
Here's the failing run:
https:/
And here's the successful run after setting the proxy in containerd:
https:/
Changed in charm-containerd: | |
milestone: | none → 1.17+ck2 |
Changed in charm-containerd: | |
status: | Fix Committed → Fix Released |
Changed in charm-layer-docker: | |
status: | New → Triaged |
Changed in layer-docker-registry: | |
status: | New → Triaged |
Changed in charm-docker: | |
status: | New → Triaged |
Changed in charm-layer-docker: | |
importance: | Medium → High |
Changed in layer-docker-registry: | |
importance: | Medium → High |
Changed in charm-docker: | |
importance: | Medium → High |
Changed in charm-docker: | |
status: | Triaged → Invalid |
Changed in charm-layer-docker: | |
status: | Triaged → Invalid |
Changed in layer-docker-registry: | |
status: | Triaged → Invalid |
Again, this is almost certainly caused by large CIDRs used in the juju-no-proxy model config. See https:/ /bugs.launchpad .net/charm- kubernetes- worker/ +bug/1841438/ comments/ 11