Bug 2268036 - [CephFS - Snap Scheduler UI] - Error for incorrect ISO format start string
Summary: [CephFS - Snap Scheduler UI] - Error for incorrect ISO format start string
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: ---
: 7.1
Assignee: Ivo Almeida
QA Contact: sumr
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2267614 2298578 2298579
TreeView+ depends on / blocked
 
Reported: 2024-03-06 05:15 UTC by sumr
Modified: 2024-11-16 04:25 UTC (History)
7 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-8436 0 None None None 2024-03-06 05:18:29 UTC
Red Hat Issue Tracker RHCSDASH-1298 0 None None None 2024-03-08 05:36:58 UTC
Red Hat Product Errata RHSA-2024:3925 0 None None None 2024-06-13 14:28:52 UTC

Description sumr 2024-03-06 05:15:59 UTC
Created attachment 2020308 [details]
minutes_not_handled_in_start_field

Description of problem:

With BZ2266530 fix, we handled string formatting for month field, but not for minutes field, so if time is 11:01:26, API sends it as 11:1:26 instead of 11:01:26, and ISO format error is again seen.(screenshot attached)

CLI logs:
[root@ceph-sumar-7-1-test-zio5q8-node7 ~]# ceph fs snap-schedule add / 1h --start 2024-03-05T06:8:07
Error ENOENT: Invalid isoformat string: '2024-03-05T06:8:07'
[root@ceph-sumar-7-1-test-zio5q8-node7 ~]# ceph fs snap-schedule add / 1h --start 2024-03-05T06:08:07
Schedule set for path /
[root@ceph-sumar-7-1-test-zio5q8-node7 ~]# ceph version
ceph version 18.2.1-43.el9cp (83150de4e108c4d496fdaec1ef48a72d441614e0) reef (stable)
[root@ceph-sumar-7-1-test-zio5q8-node7 ~]#



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


How reproducible:5/5


Steps to Reproduce:
1. Go to Snapshot schedules type of cephfs filesystem
2. Create schedule with start time having '01-09' for minutes field


Actual results: Schedule creation fails with incorrect ISO format start string


Expected results: Schedule creation fails.


Additional info:

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

Comment 11 Red Hat Bugzilla 2024-11-16 04:25:27 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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