Bug 1893613
| Summary: | must-gather tries to collect ceph commands in external mode when storagecluster already deleted | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat OpenShift Container Storage | Reporter: | Neha Berry <nberry> | ||||
| Component: | must-gather | Assignee: | RAJAT SINGH <rajasing> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Sidhant Agrawal <sagrawal> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.6 | CC: | ebenahar, muagarwa, ocs-bugs, pkundra, rajasing, sabose | ||||
| Target Milestone: | --- | Keywords: | AutomationBackLog | ||||
| Target Release: | OCS 4.7.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 4.7.0-696.ci | Doc Type: | No Doc Update | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-05-19 09:16:13 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: | |||||||
| Bug Depends On: | 1921864 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Neha Berry
2020-11-02 07:18:48 UTC
@pulkit could you also check why we get errors listed here - https://bugzilla.redhat.com/show_bug.cgi?id=1893611#c3 esp. about cephobjectstoreUsers when the storagecluster does not exist (not dependent on helper pod) [must-gather-gn4xm] POD collecting dump cephobjectstoreusers [must-gather-gn4xm] POD error: error executing jsonpath "{range .items[*]}{@.metadata.name}{'\\n'}{end}": Error executing template: not in range, nothing to end. Printing more information for debugging the template: [must-gather-gn4xm] POD template was: [must-gather-gn4xm] POD {range .items[*]}{@.metadata.name}{'\n'}{end} [must-gather-gn4xm] POD object given to jsonpath engine was: [must-gather-gn4xm] POD map[string]interface {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", "metadata":map[string]interface {}{"resourceVersion":"", "selfLink":""}} [must-gather-gn4xm] POD [must-gather-gn4xm] POD (In reply to Neha Berry from comment #3) > @pulkit could you also check why we get errors listed here - > https://bugzilla.redhat.com/show_bug.cgi?id=1893611#c3 > > esp. about cephobjectstoreUsers when the storagecluster does not exist (not > dependent on helper pod) > > > > [must-gather-gn4xm] POD collecting dump cephobjectstoreusers > [must-gather-gn4xm] POD error: error executing jsonpath "{range > .items[*]}{@.metadata.name}{'\\n'}{end}": Error executing template: not in > range, nothing to end. Printing more information for debugging the template: > [must-gather-gn4xm] POD template was: > [must-gather-gn4xm] POD {range > .items[*]}{@.metadata.name}{'\n'}{end} > [must-gather-gn4xm] POD object given to jsonpath engine was: > [must-gather-gn4xm] POD map[string]interface > {}{"apiVersion":"v1", "items":[]interface {}{}, "kind":"List", > "metadata":map[string]interface {}{"resourceVersion":"", "selfLink":""}} > [must-gather-gn4xm] POD > [must-gather-gn4xm] POD Bug raised - https://bugzilla.redhat.com/show_bug.cgi?id=1893619 @nberry I have added better logging commands and now, MG would not try to collect logs when an external cluster is not present. It would be great if you can test this Pr from your end as well. Thanks Hi Rajat, Is it OK if we test this fix once the bug is ON_QA. If the PR looks good, feel free to move bug to modified and ON_QA once it is part of a build. Adding qa_ack. Sure! 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 (Moderate: Red Hat OpenShift Container Storage 4.7.0 security, 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/RHSA-2021:2041 |