juju client expects $HOME/.local/share to exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
if the user's $HOME/.local/share directory doesn't exist, juju 3.1.0 gives an unusual error about ssh keys and fails:
Example
-------------
ubuntu@jammy:~$ juju clouds
ERROR cannot load ssh client keys: mkdir /home/ubuntu/
Workaround:
ubuntu@jammy:~$ mkdir -p ~/.local/share
ubuntu@jammy:~$ juju clouds
Since Juju 3 is being run for the first time, it has downloaded the latest public cloud information.
Only clouds with registered credentials are shown.
There are more clouds, use --all to see them.
You can bootstrap a new controller using one of these clouds...
Clouds available on the client:
Cloud Regions Default Type Credentials Source Description
localhost 1 localhost lxd 0 built-in LXD Container Hypervisor