Add support for bootstrapping juju 3.x environment on overcloud
Bug #2029516 reported by
Tianqi Xiao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-juju-local |
Fix Committed
|
Undecided
|
Tianqi Xiao |
Bug Description
Currently juju-local can only bootstrap juju 2.x clouds. For juju 3.x, it fails to read credentials from the system because the snap is strictly confined. The following error message will be shown:
```
ERROR cannot load ssh client keys: mkdir /home/ubuntu/
```
Since juju 3.x is becoming the new default version, we should add support for it.
Related branches
~txiao/charm-juju-local:fix/lp#2029516
- Eric Chen: Approve
- 🤖 prod-jenkaas-bootstack: Approve (continuous-integration)
- Ramesh Sattaru (community): Approve
- BootStack Reviewers: Pending requested
-
Diff: 175 lines (+50/-5)9 files modifiedMakefile (+4/-0)
lib/lib_charm_juju_local.py (+12/-0)
tests/bundles/focal-juju3.yaml (+1/-0)
tests/bundles/jammy-juju3.yaml (+1/-0)
tests/bundles/overlays/focal-juju3.yaml.j2 (+5/-0)
tests/bundles/overlays/jammy-juju3.yaml.j2 (+5/-0)
tests/tests.yaml (+4/-0)
tests/tests_juju_local.py (+17/-5)
wheelhouse.txt (+1/-0)
Changed in charm-juju-local: | |
status: | New → Fix Committed |
assignee: | nobody → Tianqi Xiao (txiao) |
summary: |
- Add support for juju 3.x + Add support for bootstraping juju 3.x environment |
summary: |
- Add support for bootstraping juju 3.x environment + Add support for bootstrapping juju 3.x environment on overcloud |
Changed in charm-juju-local: | |
milestone: | none → 23.10 |
To post a comment you must log in.
This bug is related to LP#1988355. We should either wait for a fix to be released for that bug, or let juju-local creates `./local/ share/juju` path when setting up juju: https:/ /git.launchpad. net/charm- juju-local/ tree/lib/ lib_charm_ juju_local. py#n57