Bug 2272622

Summary: [CephFS - Snap Scheduler UI] - Retention field drop-down for interval shows Minutely even when ceph config set to false or in default state.
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, anbehl, ceph-eng-bugs, cephqe-warriors, pegonzal, tserlin
Target Milestone: ---Keywords: Regression
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ceph-18.2.1-142.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-13 14:30:57 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-04-02 09:58:28 UTC
Created attachment 2024702 [details]
bz_2268560_regression

Description of problem:
Retention policy drop-down for interval lists Minutely as an option when "ceph config get mgr mgr/snap_schedule/allow_m_granularity" is false.
So its likely that Customer environment might have this 'Minutely' be visible, but it is not a supported option.

This is a regression after bz_2268560 fix as this option wasn't there before.

Attached is the screenshot.

Version-Release number of selected component (if applicable):18.2.1-105.el9cp


How reproducible:5/5


Steps to Reproduce:
1. Enable snapshot-schedule module. Create subvolume.
2. Create schedule on subvolume. To add retention policy, select drop-down for interval. Notice available options.

Actual results: Available options include 'Minutely' interval.


Expected results: 'Minutely' interval is not expected in drop-down when "ceph config get mgr mgr/snap_schedule/allow_m_granularity" is false. Also when 'Minutely' is still not supported in Dashboard in 7.1 even if "ceph config get mgr mgr/snap_schedule/allow_m_granularity" was true.

This BZ is to remove Minutely option from Retention drop-down in UI.


Additional info:

Comment 5 Amarnath 2024-04-18 18:41:37 UTC
Hi All,

Even making allow_m_granularity to true it is not showing minutely 

When we add snap-schedule to path : /volumes 

UI display is showing /volumes/.../volumes

ScreenShots : https://docs.google.com/document/d/1mWbTs8_2kCWJSdrLkxWW1WplkIeMDTsXo8iI_BXklsY/edit

Regards,
Amarnath

Comment 8 Amarnath 2024-04-25 05:22:35 UTC
Hi All,

As Discussion with Suma,we have targeted this feature for 8.1 moving this to verified.

Regards,
Amarnath

Comment 10 errata-xmlrpc 2024-06-13 14:30:57 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