Add support for bootstrapping juju 3.x environment on overcloud

Bug #2029516 reported by Tianqi Xiao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-juju-local
Fix Released
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/.local: permission denied
```

Since juju 3.x is becoming the new default version, we should add support for it.

Related branches

Revision history for this message
Tianqi Xiao (txiao) wrote :

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

Tianqi Xiao (txiao)
Changed in charm-juju-local:
status: New → Fix Committed
assignee: nobody → Tianqi Xiao (txiao)
Tianqi Xiao (txiao)
summary: - Add support for juju 3.x
+ Add support for bootstraping juju 3.x environment
Tianqi Xiao (txiao)
summary: - Add support for bootstraping juju 3.x environment
+ Add support for bootstrapping juju 3.x environment on overcloud
Tianqi Xiao (txiao)
Changed in charm-juju-local:
milestone: none → 23.10
Tianqi Xiao (txiao)
Changed in charm-juju-local:
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.