Bug 2272622 - [CephFS - Snap Scheduler UI] - Retention field drop-down for interval shows Minutely even when ceph config set to false or in default state.
Summary: [CephFS - Snap Scheduler UI] - Retention field drop-down for interval shows M...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Dashboard
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 8.0
Assignee: Ivo Almeida
QA Contact: sumr
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2267614 2298578 2298579
TreeView+ depends on / blocked
 
Reported: 2024-04-02 09:58 UTC by sumr
Modified: 2024-07-18 07:59 UTC (History)
7 users (show)

Fixed In Version: ceph-18.2.1-142.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-13 14:30:57 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph pull 56907 0 None open mgr/dashboard: remove minutely from retention 2024-04-16 09:20:44 UTC
Red Hat Issue Tracker RHCEPH-8715 0 None None None 2024-04-02 10:01:11 UTC
Red Hat Issue Tracker RHCSDASH-1344 0 None None None 2024-04-02 10:07:06 UTC
Red Hat Product Errata RHSA-2024:3925 0 None None None 2024-06-13 14:31:03 UTC

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


Note You need to log in before you can comment on or make changes to this bug.