diff --git a/generate_postmortem.sh b/generate_postmortem.sh index 32841e0..e8b3257 100755 --- a/generate_postmortem.sh +++ b/generate_postmortem.sh @@ -318,6 +318,10 @@ if [[ $IS_OVA -eq 1 ]]; then DOCKERLOGSFOLDER="${DOCKERFOLDER}/logs" mkdir -p $DOCKERLOGSFOLDER mkdir -p $CONTAINERD + OVA_LIBFOLDER="${OVA_FILESYSTEM}/var/lib" + OVA_USRLOCALLIBFOLDER="${OVA_FILESYSTEM}/usr/local/lib" + mkdir -p $OVA_LIBFOLDER + mkdir -p $OVA_USRLOCALLIBFOLDER #grab version @@ -413,6 +417,18 @@ if [[ $IS_OVA -eq 1 ]]; then #Get Docker and Crictl Version docker version &> "${DOCKERFOLDER}/docker-version.out" + #Getting subsystem meta file content + cat /var/lib/apiconnect-subsystem/meta.yml 1>"${OVA_LIBFOLDER}/subsystem-meta.out" 2>/dev/null + + #Getting side-registry recursive file listing + find /var/lib/apiconnect/side-registry/ 1>"${OVA_LIBFOLDER}/side-registry.out" 2>/dev/null + + #Getting appliance-control-plane recursive file listing + find /usr/local/lib/appliance-control-plane/ 1>"${OVA_USRLOCALLIBFOLDER}/appliance-control-plane.out" 2>/dev/null + + #Getting appliance-side-registry recursive file listing + find /usr/local/lib/appliance-side-registry/ 1>"${OVA_USRLOCALLIBFOLDER}/appliance-side-registry.out" 2>/dev/null + fi #=================================================================================================================