Bug 1646949 - mds: cache drop command requires timeout argument when it is supposed to be optional
Summary: mds: cache drop command requires timeout argument when it is supposed to be o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: CephFS
Version: 3.2
Hardware: All
OS: All
medium
medium
Target Milestone: z1
: 3.2
Assignee: Venky Shankar
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-06 11:29 UTC by Venky Shankar
Modified: 2019-03-07 15:51 UTC (History)
4 users (show)

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:
Clone Of:
Environment:
Last Closed: 2019-03-07 15:50:56 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 36695 0 None None None 2018-11-06 11:29:13 UTC
Red Hat Product Errata RHBA-2019:0475 0 None None None 2019-03-07 15:51:05 UTC

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


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