Skip to content

Commit

Permalink
[microshift] Fix microshift-etcd.scope journal retrieval
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Acevedo Montserrat <[email protected]>
  • Loading branch information
pacevedom authored and TurboTurtle committed Oct 16, 2023
1 parent 5690401 commit 6f1ea82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sos/report/plugins/microshift.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Microshift(Plugin, RedHatPlugin):
plugin_name = 'microshift'
plugin_timeout = 900
packages = ('microshift', 'microshift-selinux', 'microshift-networking',)
services = (plugin_name, 'microshift-etcd.scope',)
services = (plugin_name,)
profiles = (plugin_name,)
localhost_kubeconfig = '/var/lib/microshift/resources/kubeadmin/kubeconfig'

Expand Down Expand Up @@ -146,6 +146,7 @@ def setup(self):
Output format for this function is based on `oc adm inspect` command,
which is used to retrieve all API resources from the cluster.
"""
self.add_journal('microshift-etcd.scope')

self.add_copy_spec('/etc/microshift')

Expand Down

0 comments on commit 6f1ea82

Please sign in to comment.