You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following the Create a Juju Plugin, I was not able to get the plugin named juju-ip (from the example) to be picked up by Juju so I can run juju ip ....
which juju
/snap/bin/juju
juju version
3.5.4-genericlinux-amd64
whoami
ubuntu
ls -l /usr/local/bin/juju-ip
-rwxr-xr-x 1 ubuntu ubuntu 242 Oct 2 17:02 /usr/local/bin/juju-ip
juju ip 0
ERROR juju: "ip" is not a juju command. See "juju --help".
juju-ip 0
null
Resolution
The reason this happens is due to strict snap confinement and running /snap/juju/current/bin/juju ip works but feels weird.
Improvement
The docs should be updated to warn that this does not work with the Juju snap and if the argument is that it does, what is the recommended approach?
The text was updated successfully, but these errors were encountered:
MichaelThamm
changed the title
Documentation: Create a plugin - unable to reproduce steps
Documentation: Create a plugin - unable to reproduce steps with snap
Oct 4, 2024
Docs page: https://juju.is/docs/juju/manage-plugins
Docs source: https://discourse.charmhub.io/t/how-to-manage-plugins/2203
Issue
When following the Create a Juju Plugin, I was not able to get the plugin named juju-ip (from the example) to be picked up by Juju so I can run
juju ip ...
.which juju
/snap/bin/juju
juju version
3.5.4-genericlinux-amd64
whoami
ubuntu
Resolution
The reason this happens is due to strict snap confinement and running
/snap/juju/current/bin/juju ip
works but feels weird.Improvement
The docs should be updated to warn that this does not work with the Juju snap and if the argument is that it does, what is the recommended approach?
The text was updated successfully, but these errors were encountered: