aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Desrochers <eric.desrochers@canonical.com>2019-09-24 11:17:48 -0400
committerBryn M. Reeves <bmr@redhat.com>2019-10-08 15:29:40 +0100
commit43feae565f10a80bee2c898547cbe36434acf94e (patch)
treeb7991c99b2d20e4deeb6b87d2b982c1708544fdb
parentbac748efda87709665ed44c449f112d77eab6efa (diff)
downloadsos-43feae565f10a80bee2c898547cbe36434acf94e.tar.gz
[snappy] check for connectivity to the snap store
Check for connectivity to the snap store "api.snapcraft.io". Will be very useful to have as customers start upgrading to release where snaps are mandatory. Resolves: #1796 Signed-off-by: Eric Desrochers <eric.desrochers@canonical.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/snappy.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/snappy.py b/sos/plugins/snappy.py
index c0882a76..20d32de5 100644
--- a/sos/plugins/snappy.py
+++ b/sos/plugins/snappy.py
@@ -24,6 +24,7 @@ class Snappy(Plugin, UbuntuPlugin, DebianPlugin, RedHatPlugin):
"snap --version",
"snap changes"
])
+ self.add_cmd_output("snap debug connectivity", timeout=10)
self.add_service_status("snapd")
self.add_journal(units="snapd")