4 Commits

Author SHA1 Message Date
Maciej Borzecki
e2c397b96e debug-tools: list all snaps
List all snaps, including the inactive ones.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2022-05-12 10:29:35 +02:00
Paweł Stołowski
5386d7f4be snap-debug-info: Print validation sets and validation set assertions. 2022-04-15 14:10:39 +02:00
Ian Johnson
ff0b95f3bd debug-tools/snap-debug-info.sh: print message if no gadget snap found
This was supposedly pushed to #11546 but somehow that PR got merged without the
commit in it, so re-submit the patch again :-)

This would otherwise fail with trying to print off the contents of
/snap//current/meta/gadget.yaml which does not exist.

Thanks to Alberto for the suggestion.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2022-03-23 08:46:29 -05:00
Ian Johnson
2c87a6bcbe debug-tools/snap-debug-info.sh: add debug script
This is the first iteration of the debug script for debugging customer issues,
with a collection of easily gathered and commonly requested information that is
helpful in debugging issues on Ubuntu Core.

Eventually this will become a snap command and a REST API endpoint, but for now
a script will have to do.

Signed-off-by: Ian Johnson <ian.johnson@canonical.com>
2022-03-22 10:41:02 -05:00