Bug 2280662
| Summary: | cephfs_mirror: fix crash in update_fs_mirrors() | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Jos Collin <jcollin> |
| Component: | CephFS | Assignee: | Jos Collin <jcollin> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Hemanth Kumar <hyelloji> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 | CC: | ceph-eng-bugs, cephqe-warriors, gfarnum, hyelloji, ngangadh, vshankar |
| Target Milestone: | --- | ||
| Target Release: | 7.0z4 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
FSMirror::is_failed() function is using null m_instance_watcher and m_mirror_watcher pointers to call the member function InstanceWatcher::is_failed() and MirrorWatcher::is_failed() respectively.
Consequence:
Crash
Fix:
The patch checks if m_instance_watcher and m_mirror_watcher before using them.
Result:
|
Story Points: | --- |
| Clone Of: | 2280636 | Environment: | |
| Last Closed: | 2025-02-05 14:47:47 UTC | Type: | --- |
| 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: | 2280636, 2280665 | ||
| Bug Blocks: | |||
|
Description
Jos Collin
2024-05-15 15:11:24 UTC
Oh I see this bz is for 7.0 z-stream. moving that back. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |