Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1646949

Summary: mds: cache drop command requires timeout argument when it is supposed to be optional
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Venky Shankar <vshankar>
Component: CephFSAssignee: Venky Shankar <vshankar>
Status: CLOSED ERRATA QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.2CC: ceph-eng-bugs, pdonnell, rperiyas, tserlin
Target Milestone: z1   
Target Release: 3.2   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: RHEL: ceph-12.2.8-64.el7cp Ubuntu: ceph_12.2.8-49redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-07 15:50:56 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:

Description Venky Shankar 2018-11-06 11:29:13 UTC
Description of problem:

`timeout` argument to `cache drop` command needs to be optional. Currently, its not as per:

~/ceph/build$ bin/ceph tell mds.* cache drop
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2018-10-04 17:19:56.732 7fccd8bbb700 -1 WARNING: all dangerous and experimental features are enabled.
2018-10-04 17:19:56.820 7fccd8bbb700 -1 WARNING: all dangerous and experimental features are enabled.
2018-10-04 17:19:56.896 7fcc9d7fa700  0 client.4213 ms_handle_reset on 127.0.0.1:6826/4155109441
Invalid command: missing required parameter timeout(<int[1-]>)
cache drop <int[1-]> :  trim cache and optionally request client to release all caps and flush the journal


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Run `bin/ceph tell mds.* cache drop`

Actual results:
Command fails as shown above

Expected results:
Command should accept an optional `timeout` argument

Additional info:

Comment 10 errata-xmlrpc 2019-03-07 15:50:56 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, 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/RHBA-2019:0475