File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
packages/common/metalk8s-sosreport Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 8
8
[ 1.31.10] ( https://github.com/kubernetes/kubernetes/releases/tag/v1.31.10 )
9
9
(PR[ #4610 ] ( https://github.com/scality/metalk8s/pull/4610 ) )
10
10
11
+ - Add DNS troubleshooting outputs to ` sosreport ` plugin
12
+ (PR[ #4621 ] ( https://github.com/scality/metalk8s/pull/4621 ) )
13
+
11
14
## Release 130.0.4 (in development)
12
15
13
16
## Release 130.0.3
Original file line number Diff line number Diff line change 26
26
27
27
28
28
class MetalK8s (Plugin , RedHatPlugin ):
29
-
30
29
"""Metalk8s plugin"""
31
30
32
31
plugin_name = "metalk8s"
@@ -135,6 +134,18 @@ def _setup_common(self):
135
134
for service in services :
136
135
self .add_journal (units = service )
137
136
137
+ # Add DNS troubleshooting outputs
138
+ # We're using bash -c to ensure that the command is run in a
139
+ # bash shell, which is needed for the `time` command to work properly
140
+ # since it's a shell builtin.
141
+ self .add_cmd_output (
142
+ "bash -c 'time hostname -f'" , suggest_filename = "time_hostname_-f"
143
+ )
144
+ self .add_cmd_output (
145
+ "bash -c 'time salt-call --local test.ping'" ,
146
+ suggest_filename = "time_salt_call_--local_test_ping" ,
147
+ )
148
+
138
149
def _setup_k8s_resources (
139
150
self ,
140
151
): # pylint: disable=too-many-statements,too-many-locals
You can’t perform that action at this time.
0 commit comments