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
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