Skip to content

Commit

Permalink
Update to collect more filesystem info (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
jithlab authored Oct 26, 2023
1 parent 404ccfa commit 6c4f7d8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions generate_postmortem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
#=================================================================================================================

Expand Down

0 comments on commit 6c4f7d8

Please sign in to comment.