Remove trailing double quotes from k8s-coredump-handler
debian kernel.core_pattern and add a shell script
that creates the k8s-coredump token that will be used
by the upgrade procedure on a Standard System.
Test Plan:
PASS: Install and bootstrap system for a Standard
configuration.
PASS: Verify if kernel.core_pattern is not
with a trailing double quote.
PASS: Install standard 22.06, upgrade to 22.12
and verify if token is created correctly on
all nodes.
Regression:
PASS: After bootstrap, create and crash a pod with annotations configured and verify if coredump
is generated on pod namespace on each node.
PASS: After bootstrap, crash a non k8s application
and verify that the coredump is generated as previously (by systemd-coredump) on each node.
Reviewed: https:/ /review. opendev. org/c/starlingx /utilities/ +/864115 /opendev. org/starlingx/ utilities/ commit/ 1dc658483af00a4 141f50b540cd40a 7d67a8140b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 1dc658483af00a4 141f50b540cd40a 7d67a8140b
Author: Heron Vieira <email address hidden>
Date: Wed Nov 9 10:15:50 2022 -0300
Fix core_pattern and add token creation script
Remove trailing double quotes from k8s-coredump- handler
debian kernel.core_pattern and add a shell script
that creates the k8s-coredump token that will be used
by the upgrade procedure on a Standard System.
Test Plan: tion.
PASS: Install and bootstrap system for a Standard
configura
PASS: Verify if kernel.core_pattern is not
with a trailing double quote.
PASS: Install standard 22.06, upgrade to 22.12
and verify if token is created correctly on
all nodes.
Regression:
PASS: After bootstrap, create and crash a pod with
annotations configured and verify if coredump
previously (by systemd-coredump) on each node.
is generated on pod namespace on each node.
PASS: After bootstrap, crash a non k8s application
and verify that the coredump is generated as
Closes-bug: 1996054
Signed-off-by: Heron Vieira <email address hidden> 4c3cdf12c65910e 16f0fd7a351
Change-Id: I8b2e8fdefe093f