feat: add MinIO, OpenEBS, and certificate diagnostics#122
Open
adamancini wants to merge 1 commit intomainfrom
Open
feat: add MinIO, OpenEBS, and certificate diagnostics#122adamancini wants to merge 1 commit intomainfrom
adamancini wants to merge 1 commit intomainfrom
Conversation
Add collectors and analyzers to diagnose MinIO data volume read failures on kURL clusters using OpenEBS local hostpath, and comprehensive certificate expiration and rotation diagnostics. Host collectors: - df -ih (inode usage) - findmnt (structured mount table with options/propagation) - OpenEBS local PV directory listing with format.json inspection - MinIO crictl logs (current + previous) - kubeadm certs check-expiration (with alpha fallback) - openssl-based cert check for all K8s PKI, kubelet, and kubeconfig certs - kubelet config.yaml and PKI directory listing Host analyzers: - EXT4 filesystem errors in dmesg - Filesystem remounted read-only - Kubelet read-only filesystem errors - Kubelet orphaned pod volume cleanup failures - Kubelet TLS handshake failures (stale CA after rotation) - Kubelet authentication failures (expired client cert) - Kubelet webhook authorization Forbidden (missing RBAC binding) - Kubelet x509 certificate errors - Kubernetes certificates expired (openssl) - Kubernetes certificates expiring within 30 days (openssl) - Kubeadm certificate expiration report In-cluster collectors: - MinIO data volume inspection via exec (format.json state) In-cluster analyzers: - MinIO data volume read failure - MinIO read-only filesystem - EKCO certificate rotation Forbidden errors - EKCO certificate rotation failures - kubeadm:cluster-admins RBAC binding existence - API server kubelet client proxy authorization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
kubectl exec/kubectl logsto fail during kURL upgradeskubeadm:cluster-adminsRBAC bindingContext
During a kURL rerun to update KOTS Admin, MinIO failed with "Failed to read /data/.minio.sys/format.json inside minio pod". Investigation revealed this is a
kubectl execfailure, not a storage issue — the API server's proxy request to the kubelet was returning Forbidden due to cert rotation or RBAC issues.Test plan
ada-kurl) — all new collectors produced output