Bug 1858778
| Summary: | Collect Events, StorageClass and InstallPlan information as part of OCS must-gather in OCS 4.5 | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Container Storage | Reporter: | Neha Berry <nberry> |
| Component: | must-gather | Assignee: | Pulkit Kundra <pkundra> |
| Status: | CLOSED ERRATA | QA Contact: | Neha Berry <nberry> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.5 | CC: | madam, ocs-bugs, sabose |
| Target Milestone: | --- | Keywords: | AutomationBackLog |
| Target Release: | OCS 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 4.5.0-508.ci | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-09-15 10:18:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Neha Berry
2020-07-20 11:47:00 UTC
Contained in build https://ceph-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/OCS%20Build%20Pipeline%204.5/75/ 4.5.0-508.ci Hi Pulkit, Thanks for fixing this BZ in OCS 4.5. Moving the BZ to verified state as requested changes are added to must-gather. OCP version = 4.5.0-0.nightly-2020-07-30-213620 OCS =ocs-operator.v4.5.0-508.ci Command to collect must-gather = oc adm must-gather --image=quay.io/rhceph-dev/ocs-must-gather:latest-4.5 >>Confirmed the requested files are present (in AWS); 1. InstallPlans: List - ------------ $ ls -l ./oc_output total 724 -rw-r--r--. 1 nberry nberry 128 Jul 31 13:10 get_installplan_-n_openshift-storage Yamls: --------- $ ls -l ceph/namespaces/openshift-storage/operators.coreos.com/installplans/ total 300 -rwxr-xr-x. 1 nberry nberry 304448 Jul 31 13:11 install-gzqs8.yaml 2. oc get events from openshift-storage namespace $ ls -l ./oc_output|grep event -rw-r--r--. 1 nberry nberry 140529 Jul 31 13:10 get_events_-n_openshift-storage 3. StorageClass details SC list ---------- $ ls -l ./oc_output|grep get_sc -rw-r--r--. 1 nberry nberry 684 Jul 31 13:10 get_sc SC yaml ---------- $ ls -l ceph/cluster-scoped-resources/storage.k8s.io/storageclasses/ total 16 -rwxr-xr-x. 1 nberry nberry 1489 Jul 31 13:11 gp2.yaml -rwxr-xr-x. 1 nberry nberry 1667 Jul 31 13:11 ocs-storagecluster-cephfs.yaml -rwxr-xr-x. 1 nberry nberry 1827 Jul 31 13:11 ocs-storagecluster-ceph-rbd.yaml -rwxr-xr-x. 1 nberry nberry 758 Jul 31 13:11 openshift-storage.noobaa.io.yaml ____________________________________________________________________ Independent Mode (ocs-operator.v4.5.0-508.ci) ------------------- Storageclasses ----------------------- ceph/cluster-scoped-resources/ ceph/cluster-scoped-resources/storage.k8s.io/ ceph/cluster-scoped-resources/storage.k8s.io/storageclasses/ ceph/cluster-scoped-resources/storage.k8s.io/storageclasses/ocs-external-storagecluster-ceph-rbd.yaml ceph/cluster-scoped-resources/storage.k8s.io/storageclasses/ocs-external-storagecluster-ceph-rgw.yaml ceph/cluster-scoped-resources/storage.k8s.io/storageclasses/ocs-external-storagecluster-cephfs.yaml ceph/cluster-scoped-resources/storage.k8s.io/storageclasses/openshift-storage.noobaa.io.yaml ceph/cluster-scoped-resources/storage.k8s.io/storageclasses/thin.yaml InstallPlan and event $ ls -l oc_output/ total 384 -rw-r--r--. 1 nberry nberry 52853 Jul 31 13:36 describe_nodes -rw-r--r--. 1 nberry nberry 270034 Jul 31 13:36 describe_pods_-n_openshift-storage -rw-r--r--. 1 nberry nberry 2648 Jul 31 13:36 get_clusterversion_-oyaml -rw-r--r--. 1 nberry nberry 222 Jul 31 13:36 get_csv_-n_openshift-storage -rw-r--r--. 1 nberry nberry 18491 Jul 31 13:36 get_events_-n_openshift-storage -rw-r--r--. 1 nberry nberry 1435 Jul 31 13:36 get_infrastructures.config_-oyaml -rw-r--r--. 1 nberry nberry 190 Jul 31 13:36 get_installplan_-n_openshift-storage -rw-r--r--. 1 nberry nberry 1722 Jul 31 13:36 get_nodes_--show-labels -rw-r--r--. 1 nberry nberry 2457 Jul 31 13:36 get_pods_-owide_-n_openshift-storage -rw-r--r--. 1 nberry nberry 7694 Jul 31 13:36 get_pv -rw-r--r--. 1 nberry nberry 6974 Jul 31 13:36 get_pvc_--all-namespaces -rw-r--r--. 1 nberry nberry 862 Jul 31 13:36 get_sc -rw-r--r--. 1 nberry nberry 119 Jul 31 13:36 get_subscription_-n_openshift-storage $ cat oc_output/get_installplan_-n_openshift-storage NAME CSV APPROVAL APPROVED install-dvxt4 ocs-operator.v4.5.0-494.ci Automatic true install-r6rt8 ocs-operator.v4.5.0-508.ci Automatic true >>InstallPlan in yaml format $ ls -l ceph/namespaces/openshift-storage/operators.coreos.com/ total 8 drwxr-xr-x. 2 nberry nberry 4096 Jul 31 13:37 clusterserviceversions drwxr-xr-x. 2 nberry nberry 4096 Jul 31 13:37 installplans [nberry@localhost must-gather.local.4265726877310802499]$ ls -l ceph/namespaces/openshift-storage/operators.coreos.com/installplans/ total 600 -rwxr-xr-x. 1 nberry nberry 304440 Jul 31 13:36 install-dvxt4.yaml -rwxr-xr-x. 1 nberry nberry 304490 Jul 31 13:36 install-r6rt8.yaml Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenShift Container Storage 4.5.0 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:3754 |