canonical / jhack

Chock-full of Juju hackery.
Apache License 2.0
51 stars 24 forks source link

Jhack is incompatible with juju 2 controllers #36

Open PietroPasotti opened 1 year ago

PietroPasotti commented 1 year ago

Jhack ships with a juju 3 client. As a result it can't use certain commands with juju 2 controllers: juju status will work, but juju status --format=json will not.

This is the reason for #30

PietroPasotti commented 11 months ago

Workaround for SOME issues (juju ssh compatibility) is to use jhack from sources (not the snapped version). Commands that rely on juju cli output may still break, as some of that output (format) is inconsistent between juju versions.