Bug 2271835 - [CephFS - Consistency Group] ECANCELED error seen when cancel is run on quiesce set with --await
Summary: [CephFS - Consistency Group] ECANCELED error seen when cancel is run on quies...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 7.1
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: 7.1
Assignee: Leonid Usov
QA Contact: sumr
Akash Raj
URL:
Whiteboard:
Depends On:
Blocks: 2267614 2298578 2298579
TreeView+ depends on / blocked
 
Reported: 2024-03-27 13:43 UTC by sumr
Modified: 2024-07-18 07:59 UTC (History)
8 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 65669 0 None None None 2024-05-01 00:02:43 UTC
Red Hat Issue Tracker RHCEPH-8663 0 None None None 2024-03-27 13:45:01 UTC
Red Hat Product Errata RHSA-2024:3925 0 None None None 2024-06-13 14:30:40 UTC

Description sumr 2024-03-27 13:43:58 UTC
Description of problem:

A cancel of quiesce was attempted with --await and it generates ECANCELED error as cmd response, but a --query on quiesce set shows CANCELED state as expected.

This BZ is to handle ECANCELED error seen as cmd response. If --await was not supported to be used with --cancel as confirmed with Dev, the cmd response could have been to report invalid syntax for cmd instead of ECANCELED error, to avoid an ambiguity.

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


How reproducible: Consistent


Steps to Reproduce:
1. Create a quiesce set
2. Run cancel with --await

Actual results: ECANCELED error seen with cmd response


Expected results: EINVAL as --await with --cancel is not supported


Additional info:
2024-03-27 08:57:32,611 (cephci.snapshot_clone.cg_snap_system_test) [INFO] - cephci.ceph.ceph.py:1563 - Running command ceph fs quiesce cephfs --set-id cg_test1_agd --cancel --for
mat json  --await on 10.8.128.53 timeout 600
2024-03-27 08:57:33,229 (cephci.snapshot_clone.cg_snap_system_test) [ERROR] - cephci.ceph.ceph.py:1599 - Error 125 during cmd, timeout 600
2024-03-27 08:57:33,230 (cephci.snapshot_clone.cg_snap_system_test) [ERROR] - cephci.ceph.ceph.py:1600 - Error ECANCELED:

2024-03-27 08:57:33,231 (cephci.snapshot_clone.cg_snap_system_test) [INFO] - cephci.tests.cephfs.snapshot_clone.cg_snap_system_test.py:582 - ceph fs quiesce cephfs --set-id cg_tes
t1_agd --cancel --format json  --await Error:  Error ECANCELED:
 10.8.128.53

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