Project

General

Profile

Bug #15136

rest/test.py: 'mds setmap' command fails with EINVAL

Added by Sage Weil almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Monitor
Target version:
-
Start date:
03/15/2016
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

2016-03-14 22:22:24.193914 7f1f74234700  1 -- 172.21.15.33:6789/0 --> 172.21.15.33:6789/0 -- log(1 entries from seq 97 at 2016-03-14 22:22:24.193908) v1 -- ?+0 0x7f1f86f60400 con 0x7f1f86da0d00
2016-03-14 22:22:24.193923 7f1f74234700 10 mon.0@0(leader).paxosservice(mdsmap 1..12) dispatch 0x7f1f8713a000 mon_command({"prefix": "mds setmap", "module": "mds", "format": "plain", "confirm": "--yes-i-really-mean-it", "epoch": 12, "perm": "rw"} v 0) v1 from client.4128 172.21.15.33:0/1744694125 con 0x7f1f8710fc80
2016-03-14 22:22:24.193928 7f1f74234700  5 mon.0@0(leader).paxos(paxos writing c 1..54) is_readable = 1 - now=2016-03-14 22:22:24.193928 lease_expire=2016-03-14 22:22:29.063726 has v0 lc 54
2016-03-14 22:22:24.193935 7f1f74234700 10 mon.0@0(leader).mds e12 preprocess_query mon_command({"prefix": "mds setmap", "module": "mds", "format": "plain", "confirm": "--yes-i-really-mean-it", "epoch": 12, "perm": "rw"} v 0) v1 from client.4128 172.21.15.33:0/1744694125
2016-03-14 22:22:24.193960 7f1f74234700  7 mon.0@0(leader).mds e12 prepare_update mon_command({"prefix": "mds setmap", "module": "mds", "format": "plain", "confirm": "--yes-i-really-mean-it", "epoch": 12, "perm": "rw"} v 0) v1
2016-03-14 22:22:24.193974 7f1f74234700  4 mon.0@0(leader).mds e12 filesystem_command prefix='mds setmap'
2016-03-14 22:22:24.193993 7f1f74234700  4 mon.0@0(leader).mds e12 prepare_command done, r=-22

/a/sage-2016-03-14_14:38:34-rados-wip-sage-testing---basic-smithi/59521

I'm guessing this is related to the multifs changes?

Associated revisions

Revision b0d9b0de (diff)
Added by Sage Weil almost 3 years ago

mon: remove 'mds setmap' command

This command has no discernable purpose, and is difficult and
dangerous to support anyway.

Fixes: #15136
Signed-off-by: Sage Weil <>

History

#1 Updated by Sage Weil almost 3 years ago

We may want to just kill the setmap command. I don't think it makes sense any more.

#2 Updated by Sage Weil almost 3 years ago

  • Assignee set to Sage Weil

#4 Updated by Sage Weil almost 3 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF