snap-store-proxy settings not being correctly applied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Etcd Charm |
Fix Released
|
Medium
|
Unassigned | ||
Kubernetes Control Plane Charm |
Fix Released
|
Medium
|
Unassigned | ||
Kubernetes Worker Charm |
Fix Released
|
Medium
|
Unassigned | ||
Snap Layer |
Fix Released
|
Undecided
|
Stuart Bishop |
Bug Description
Charms using the snap layer are not properly applying snap-store-proxy configs from model-config. This appears to be caused by checking for the deprecated 'snap_proxy_url' which seems to have come from a couple of charms rather than 'snap_store_
$ juju add-model snap-test
$ juju model-config
...
snap-http-proxy default ""
snap-https-proxy default ""
snap-store-
type: store
authority-id: canonical
revision: 1
store: fWH2JOYGcB0J5X0
operator-id: 6KzCmN0esHnVQmC
timestamp: 2020-05-
url: http://<url>
sign-
...
...
...
...
...
...
...
...
...
...
snap-store-proxy controller <id>
snap-store-
...
$ juju deploy cs:ubuntu
Located charm "cs:ubuntu-15".
Deploying charm "cs:ubuntu-15".
$ juju run --all -- sudo snap get core proxy -d
{
"proxy": {
}
}
$ juju deploy cs:canonical-
Located charm "cs:canonical-
Deploying charm "cs:canonical-
$ juju add-relation ubuntu canonical-livepatch
$ juju run --all -- sudo snap get core proxy -d
{
"proxy": {
}
}
$ juju config canonical-livepatch snap_proxy_url="http://<url>"
$ juju run --all -- sudo snap get core proxy -d
{
"proxy": {
}
}
Changed in charm-etcd: | |
status: | Confirmed → Triaged |
milestone: | 1.20 → 1.20+ck1 |
tags: | added: backport-needed |
Changed in charm-kubernetes-master: | |
milestone: | none → 1.20+ck1 |
Changed in charm-kubernetes-worker: | |
milestone: | none → 1.20+ck1 |
Changed in charm-kubernetes-master: | |
importance: | Undecided → Medium |
Changed in charm-kubernetes-worker: | |
importance: | Undecided → Medium |
Changed in charm-kubernetes-master: | |
status: | New → Triaged |
Changed in charm-kubernetes-worker: | |
status: | New → Triaged |
Changed in layer-snap: | |
status: | In Progress → Fix Released |
Changed in charm-etcd: | |
status: | Triaged → Fix Committed |
Changed in charm-kubernetes-master: | |
status: | Triaged → Fix Committed |
Changed in charm-kubernetes-worker: | |
status: | Triaged → Fix Committed |
Changed in charm-etcd: | |
status: | Fix Committed → Fix Released |
Changed in charm-kubernetes-master: | |
status: | Fix Committed → Fix Released |
Changed in charm-kubernetes-worker: | |
status: | Fix Committed → Fix Released |
This was re-reported at https:/ /bugs.launchpad .net/layer- snap/+bug/ 1905009 with some more details.