e2e: log events from deployment namespace

When tests run and something goes wrong during deployment, not all
information is available. Logging the events from the namespace where
Ceph-CSI (and Vault) is deployed, might help with troubleshooting.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2020-12-03 12:00:22 +01:00
committed by mergify[bot]
parent dd29c6c06b
commit 4abe128bd8
4 changed files with 12 additions and 0 deletions

View File

@ -189,6 +189,9 @@ var _ = Describe("RBD", func() {
logsCSIPods("app=csi-rbdplugin-provisioner", c)
// log node plugin
logsCSIPods("app=csi-rbdplugin", c)
// log all details from the namespace where Ceph-CSI is deployed
framework.DumpAllNamespaceInfo(c, cephCSINamespace)
}
err := deleteConfigMap(rbdDirPath)