juju-parse-status isn't usable from a snap installation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
High
|
Unassigned |
Bug Description
Hi,
Using the latest snap version of mojo, although the juju-parse-status binary is included, it doesn't find its way into our $PATH, and doesn't work if called directly:
$ find /snap/mojo | grep juju-parse-status
/snap/mojo/
$
$ /snap/mojo/
Traceback (most recent call last):
File "/snap/
from pkg_resources import load_entry_point
File "/usr/local/
@_call_aside
File "/usr/local/
f(*args, **kwargs)
File "/usr/local/
working_set = WorkingSet.
File "/usr/local/
ws.
File "/usr/local/
needed = self.resolve(
File "/usr/local/
raise DistributionNot
pkg_resources.
$
Changed in mojo: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: snap |
I've just tried this and it seems to work fine. Can you confirm if this is still a problem?
/snap/mojo/ current/ bin/juju- parse-status get_ips apache2
10.0.8.70
Obviously it's not in $PATH still, but I'm not sure how much of an issue that is.