Commit a4780d7 1 parent a0b1c7d commit a4780d7 Copy full SHA for a4780d7
File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ for CONFIG_DAEMON_POD in ${CONFIG_DAEMON_PODS[@]}; do
89
89
DMESG_LOG_PATH=" ${CONFIG_DAEMON_POD_LOG_PATH} /dmesg"
90
90
MULTUS_LOG_PATH=" ${CONFIG_DAEMON_POD_LOG_PATH} /multus-log"
91
91
VAR_LIB_CNI_SRIOV_PATH=" ${CONFIG_DAEMON_POD_LOG_PATH} /var-lib-cni-sriov"
92
+ ETC_SRIOV_OPERATOR_PATH=" ${CONFIG_DAEMON_POD_LOG_PATH} /etc-sriov-operator"
93
+ KERNEL_LOCKDOWN_FILE_PATH=" ${CONFIG_DAEMON_POD_LOG_PATH} /lockdown"
92
94
93
95
# Collect sno-initial-node-state.json.
94
96
oc exec -n ${operator_ns} " ${CONFIG_DAEMON_POD} " -c sriov-network-config-daemon -- chroot /host \
@@ -110,9 +112,16 @@ for CONFIG_DAEMON_POD in ${CONFIG_DAEMON_PODS[@]}; do
110
112
out=$( oc exec -n ${operator_ns} " ${CONFIG_DAEMON_POD} " -c sriov-network-config-daemon -- chroot /host \
111
113
/bin/bash -c " cat var/log/multus.log" 2> /dev/null) && echo " $out " 1> " ${MULTUS_LOG_PATH} " & PIDS+=($! )
112
114
115
+ # collect kernel lockdown mode
116
+ oc exec -n ${operator_ns} " ${CONFIG_DAEMON_POD} " -c sriov-network-config-daemon -- chroot /host \
117
+ /bin/bash -c " /sys/kernel/security/lockdown" > " ${KERNEL_LOCKDOWN_FILE_PATH} " & PIDS+=($! )
118
+
113
119
# Collect /var/lib/cni/sriov contents.
114
120
oc cp -n ${operator_ns} -c sriov-network-config-daemon " ${CONFIG_DAEMON_POD} " :/host/var/lib/cni/sriov " ${VAR_LIB_CNI_SRIOV_PATH} " & PIDS+=($! )
115
121
122
+ # Collect etc/sriov-operator contents.
123
+ oc cp -n ${operator_ns} -c sriov-network-config-daemon " ${CONFIG_DAEMON_POD} " :/host/etc/sriov-operator/ " ${ETC_SRIOV_OPERATOR_PATH} " & PIDS+=($! )
124
+
116
125
gather_netns_ip_a " ${CONFIG_DAEMON_POD} " & PIDS+=($! )
117
126
118
127
gather_ethtool " ${CONFIG_DAEMON_POD} " & PIDS+=($! )
You can’t perform that action at this time.
0 commit comments