WARNING: cannot create user data directory: cannot read symlink: readlink /home/ubuntu/snap/juju/current: invalid argument

Bug #2068833 reported by Dmytro Kazantsev
6
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/snap/juju/current: invalid argument

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?

Revision history for this message
Dmytro Kazantsev (dkazants) wrote :

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

Revision history for this message
Joseph Phillips (manadart) wrote :

This is snapd behaviour.

Changed in juju:
status: New → Won't Fix
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.