Bug 2268567

Summary: [CephFS - Snap Scheduler UI] - Edit of snap schedule not possible if duplicate snap schedules exists
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: sumr
Component: Ceph-DashboardAssignee: Ivo Almeida <ialmeida>
Status: CLOSED ERRATA QA Contact: sumr
Severity: high Docs Contact: Akash Raj <akraj>
Priority: unspecified    
Version: 7.1CC: akraj, amk, ceph-eng-bugs, cephqe-warriors, ialmeida, tserlin
Target Milestone: ---   
Target Release: 7.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-18.2.1-138.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-13 14:29:04 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:    
Bug Blocks: 2267614, 2298578, 2298579    

Description sumr 2024-03-08 10:26:55 UTC
Created attachment 2020570 [details]
snap_schedule_ui_func_dup_schedules_impact

Description of problem:

As we support Duplicate snap schedules i.e., many schedule policies for same path, selecting one causes all to get selected. Thus, Edit option is not available, only create option is seen.

Version-Release number of selected component (if applicable):ceph version 18.2.1-50.el9cp


How reproducible:


Steps to Reproduce:
1. Create a schedule for a path, Create 2-3 more schedules for same path.
2. Select first schedule.


Actual results: All schedules with same path gets selected. Edit option not available.


Expected results: Only the schedule with path being clicked should get selected. Edit option should be available for the schedule after selection.


Additional info: Screenshot is attached.

Comment 5 Amarnath 2024-04-18 18:26:40 UTC
Hi All,

Verified. We have successfully modified the snap-schedules with identical paths and edit the retention policy.

screen shots : https://docs.google.com/document/d/1zJ94njdqe2MR24zzjggszA5Y4sRX5KYxlOKFQri9as0/edit 

Regards,
Amarnath

Comment 6 errata-xmlrpc 2024-06-13 14:29:04 UTC
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 (Critical: Red Hat Ceph Storage 7.1 security, enhancements, and bug fix 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-2024:3925