canonical / jhack

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

Add the juju-env command #62

Closed dstathis closed 1 year ago

dstathis commented 1 year ago

I thought this would be a useful command. It shows info about your environment for bug reports.

Example Output:

juju:
    3.0.3-genericlinux-amd64
microk8s:
    MicroK8s v1.26.1 revision 4595
lxd:
    5.11
os-info:
    Ubuntu 22.04.2 LTS
    Linux 5.15.0-67-generic x86_64

Note: No idea if I did the typer stuff correctly

PietroPasotti commented 1 year ago

Nice! Thanks @dstathis

I think this info should also be added to scenario.State, let's pin it down here and then move it over. Should we have juju client/agent/server information as well? Also the snap version?

dstathis commented 1 year ago

All would be great additions!

PietroPasotti commented 1 year ago

reopened as #77 so I can push some commits