WARNING: cannot create user data directory: cannot read symlink: readlink /home/ubuntu/snap/juju/current: invalid argument
Bug #2068833 reported by
Dmytro Kazantsev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I deployed HA juju controller on 3 nodes. When I try to issue juju status command I receive below warning:
2024/06/09 14:18:23.325037 cmd_run.go:1046: WARNING: cannot create user data directory: cannot read symlink: readlink /home/ubuntu/
Finally I receive a proper output but this warning makes me feel that something is not right.
juju client snap:
juju 3.4.2 26968 3.4/stable canonical✓ -
Can you check why is this warning happening?
To post a comment you must log in.
It looks like symbolic link does not exist in ~/snap/ juju/current:
tree ./snap/juju
./snap/juju
├── 26968
├── 26977
├── 27049
├── common
└── current
While other snaps have symbolic link available for their current directory:
F.e.
tree ./snap/maas
./snap/maas
├── 35359
├── common
└── current -> 35359