Bug 2268414

Summary: [CephFS - Snap Scheduler UI] - Snap schedule Path string pattern is not consistent after create
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, ceph-eng-bugs, cephqe-warriors, ialmeida, nia, tserlin
Target Milestone: ---   
Target Release: 7.1   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-18.2.1-95.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-13 14:29:03 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-07 11:56:31 UTC
Created attachment 2020438 [details]
snap_sched_ui_func_path_str_pattern_not_consistent

Description of problem:

Snap Schedule Path string pattern is not consistent when created in UI.

Path string is "/volumes/svg1/sv_non_def_1/52277044-df06-4c7f-aee7-0bf82ce06de2/.." sometimes and "/volumes/svg1/sv_non_def_1" sometimes.

Path string : /volumes/svg1/sv_non_def_1
The Approach followed to enter the text in Directory box during create is
1) Type /vol, then auto suggested path appears, select /volumes/svg1/sv_non_def_1
2) Type complete path as '/volumes/svg1/sv_non_def_1' in Directory Box.

In either case, the Path string generated is "/volumes/svg1/sv_non_def_1" and subvolume column in this case is empty i.e., '-'

Path string: /volumes/svg1/sv_non_def_1/52277044-df06-4c7f-aee7-0bf82ce06de2/..

With either 1) or 2) approach to enter text in Directory box, edit sched interval to non-default values or edit start-time. Now the schedule created with have path string "/volumes/svg1/sv_non_def_1/52277044-df06-4c7f-aee7-0bf82ce06de2/.." and subvolume column also will have respective subvolume name.

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


How reproducible:


Steps to Reproduce: Mentioned in Description.


Actual results: Path string pattern isn't consistent


Expected results: Path string pattern should remain consistent which is /volumes/svg1/sv_non_def_1/52277044-df06-4c7f-aee7-0bf82ce06de2/.. even when sched intervals or start time are defaults and subvolume name should be printed in it's column.


Additional info: Screenshots are attached.

Comment 7 errata-xmlrpc 2024-06-13 14:29:03 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