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: VERIFIED --- 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: 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    

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