docker registry charm ignores juju-http-proxy and juju-https-proxy

Bug #1832336 reported by Calvin Hartwell
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Docker Charm Layer
Fix Released
High
George Kraft
Docker Registry Charm
Fix Released
High
George Kraft

Bug Description

Hi all,

The docker registry charm ignores the juju-http-proxy and juju-https-proxy variables which should now be used for handling proxy. The charm specific http-proxy/https-proxy are required instead.

The charm specific options should be given the default values of the the juju-http-proxy/https-proxy and the http-proxy/https-proxy should be used to override the default values if required.

Feel free to ask questions.

Tags: cpe-onsite
summary: - docker registry charm ignores juju-http-proxy and juju-https-proxy
+ docker registry charm ignores juju-http-proxy and juju-https-proxy (its
+ being very naughty)
Changed in layer-docker-registry:
assignee: nobody → Kevin W Monroe (kwmonroe)
status: New → Triaged
Revision history for this message
Kevin W Monroe (kwmonroe) wrote : Re: docker registry charm ignores juju-http-proxy and juju-https-proxy (its being very naughty)

The http/s-proxy config options come into the docker-registry charm because of the inclusion of layer:docker:

https://github.com/CanonicalLtd/docker-registry-charm/blob/master/layer.yaml#L7

See the config opts defined in that layer here(ish):

https://github.com/juju-solutions/layer-docker/blob/master/config.yaml#L68

Managing these option with their corresponding juju- model config opts should be handled by that project.

Changed in layer-docker-registry:
status: Triaged → Invalid
summary: - docker registry charm ignores juju-http-proxy and juju-https-proxy (its
- being very naughty)
+ docker layer ignores juju-http-proxy and juju-https-proxy
Revision history for this message
Joseph Borg (joeborg) wrote : Re: docker layer ignores juju-http-proxy and juju-https-proxy

Won't fix in layer-docker as it's been replaced.

Changed in charm-layer-docker:
status: New → Won't Fix
assignee: nobody → Joseph Borg (joeborg)
Revision history for this message
Joseph Borg (joeborg) wrote :

Fixed by Pjds in charm-containerd and charm-dockerd.

Revision history for this message
Joseph Borg (joeborg) wrote :

s/charm-dockerd/charm-docker/

Changed in charm-containerd:
assignee: nobody → Peter De Sousa (pjds)
status: New → Fix Committed
Changed in charm-docker:
assignee: nobody → Peter De Sousa (pjds)
status: New → Fix Committed
Revision history for this message
George Kraft (cynerva) wrote :

This was marked as "Won't Fix" following comments in https://github.com/juju-solutions/layer-docker/pull/138. We decided to stop maintaining layer-docker because the CDK charms no longer use it.

Looks like that was the wrong call. We do still use it, in the docker-registry charm.

Based on that, I'm re-opening this against layer-docker (where the fix will likely occur) and charm-docker-registry (where the fix will need to be released).

Changed in charm-layer-docker:
status: Won't Fix → Confirmed
Changed in layer-docker-registry:
status: Invalid → Confirmed
Changed in charm-containerd:
milestone: none → 1.16
Changed in charm-docker:
milestone: none → 1.16
George Kraft (cynerva)
Changed in layer-docker-registry:
assignee: Kevin W Monroe (kwmonroe) → George Kraft (cynerva)
Changed in charm-layer-docker:
assignee: Joseph Borg (joeborg) → George Kraft (cynerva)
Revision history for this message
George Kraft (cynerva) wrote :
no longer affects: charm-containerd
no longer affects: charm-docker
Changed in charm-layer-docker:
status: Confirmed → In Progress
Changed in layer-docker-registry:
status: Confirmed → In Progress
summary: - docker layer ignores juju-http-proxy and juju-https-proxy
+ docker registry charm ignores juju-http-proxy and juju-https-proxy
Revision history for this message
George Kraft (cynerva) wrote :

Removed charm-containerd and charm-docker from this issue since they were covered in https://bugs.launchpad.net/charm-kubernetes-worker/+bug/1831712.

Changed in charm-layer-docker:
status: In Progress → Fix Committed
milestone: none → 1.16
Changed in layer-docker-registry:
milestone: none → 1.16
Changed in charm-layer-docker:
importance: Undecided → High
Changed in layer-docker-registry:
importance: Undecided → High
George Kraft (cynerva)
Changed in layer-docker-registry:
status: In Progress → Fix Committed
Revision history for this message
George Kraft (cynerva) wrote :

Fix is available in the edge channel with cs:~containers/docker-registry-151

Changed in charm-layer-docker:
status: Fix Committed → Fix Released
Changed in layer-docker-registry:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.