Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KATA-815 Document must-gather for developers #365

Merged
merged 5 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion must-gather/collection-scripts/gather_nodes
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ for NODE in $(oc get nodes --no-headers -o custom-columns=':metadata.name'); do
oc adm node-logs "$NODE" -u "$UNIT" > "${NODE_PATH}/${NODE}_logs_$UNIT" &
done

oc debug node/${NODE} -- sh -c "(chroot /host rpm -qa | egrep '(kata-containers|qemu)' | sort)" > "${NODE_PATH}/version"
oc debug node/${NODE} -- sh -c "(chroot /host rpm -qa | egrep '(kata-containers|qemu|virtiofsd)' | sort)" > "${NODE_PATH}/version"
tbuskey marked this conversation as resolved.
Show resolved Hide resolved
done

oc delete -f $DAEMONSET_MANIFEST
Expand Down
7 changes: 5 additions & 2 deletions must-gather/must-gather-requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ oc adm must-gather --image=registry.redhat.io/openshift-sandboxed-containers/osc
Data about other parts of the cluster is gathered with `oc adm must-gather`. Run `oc adm must-gather -h` to see more options.

### Openshift Sandboxed Containers
Kata runtime is the `containerd-shim-kata-v2` process that talks to the lata agent in the VM.
Kata runtime is the `containerd-shim-kata-v2` process that talks to the kata agent in the VM.
See also the [Official 1.5 documentation](https://access.redhat.com/documentation/en-us/openshift_sandboxed_containers/1.5/html-single/openshift_sandboxed_containers_user_guide/index#troubleshooting-sandboxed-containers)

#### Gathered Data
Expand All @@ -20,7 +20,10 @@ See also the [Official 1.5 documentation](https://access.redhat.com/documentatio
- All namespaces and child objects with OSC resources
- All OSC custom resource definitions (CRDs)
- sandboxed-containers/namespaces/openshift-sandboxed-containers-operator/**_*_**\_description
- virtiofsd
- versions
- kata-containers
- qemu
- virtiofsd


#### Locations
Expand Down