charm does not read juju-http-proxy config from model
Bug #1825267 reported by
Xav Paice
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client-charm |
New
|
Undecided
|
Unassigned |
Bug Description
When I install with an environment where the the model config does not include http(s)-proxy, but does include juju-http(s)-proxy settings, the charm should read those settings and use the appropriate proxy. However, when running any install/upgrade, the hooks fail on:
2019-04-18 00:51:39 INFO juju-log Failed executing 'add-apt-repository --yes ppa:landscape/
2019-04-18 01:00:34 DEBUG install Cannot add PPA: 'ppa:~landscape
2019-04-18 01:00:34 DEBUG install ERROR: '~landscape' user or team does not exist.
Related branches
lp://staging/~xavpaice/landscape-client-charm/lp1825267
Rejected
for merging
into
lp://staging/landscape-client-charm
- Xav Paice (community): Needs Resubmitting
- 🤖 Landscape Builder: Approve (test results)
- Landscape: Pending requested
-
Diff: 2620 lines (+1684/-161)24 files modifiedMakefile (+1/-2)
hooks/charmhelpers/__init__.py (+65/-4)
hooks/charmhelpers/core/hookenv.py (+450/-28)
hooks/charmhelpers/core/host.py (+170/-11)
hooks/charmhelpers/core/host_factory/centos.py (+16/-0)
hooks/charmhelpers/core/host_factory/ubuntu.py (+58/-0)
hooks/charmhelpers/core/kernel.py (+2/-2)
hooks/charmhelpers/core/services/base.py (+18/-7)
hooks/charmhelpers/core/strutils.py (+64/-5)
hooks/charmhelpers/core/sysctl.py (+21/-10)
hooks/charmhelpers/core/templating.py (+18/-9)
hooks/charmhelpers/core/unitdata.py (+8/-1)
hooks/charmhelpers/fetch/__init__.py (+19/-9)
hooks/charmhelpers/fetch/archiveurl.py (+1/-1)
hooks/charmhelpers/fetch/bzrurl.py (+2/-2)
hooks/charmhelpers/fetch/centos.py (+1/-1)
hooks/charmhelpers/fetch/giturl.py (+2/-2)
hooks/charmhelpers/fetch/python/__init__.py (+13/-0)
hooks/charmhelpers/fetch/python/debug.py (+54/-0)
hooks/charmhelpers/fetch/python/packages.py (+154/-0)
hooks/charmhelpers/fetch/python/rpdb.py (+56/-0)
hooks/charmhelpers/fetch/python/version.py (+32/-0)
hooks/charmhelpers/fetch/snap.py (+33/-5)
hooks/charmhelpers/fetch/ubuntu.py (+426/-62)
tags: | added: canonical-is-bootstack |
tags: |
added: canonical-bootstack removed: canonical-is-bootstack |
To post a comment you must log in.
Seems this is more than just a matter of syncing charmhelpers, I probably am not the most appropriate person to dive in and fix.