Skip to content

Fix #7180 in ceph_rest_api#1112

Merged
liewegas merged 1 commit intoceph:masterfrom
kazhang:wip-7180
Jan 19, 2014
Merged

Fix #7180 in ceph_rest_api#1112
liewegas merged 1 commit intoceph:masterfrom
kazhang:wip-7180

Conversation

@kazhang
Copy link
Copy Markdown
Contributor

@kazhang kazhang commented Jan 18, 2014

Missing a key for perm 'w' in permmap (src/pybin/ceph_rest_api.py:277) ,which leads to a 500 error when getting mds help info via rest api.
Changed perm with "w" to "rw" in src/mon/MonCommands.h

@liewegas
Copy link
Copy Markdown
Member

Good catch! In this case, I think the solution is to change it to "rw" in MonCommands.h and DumplingMonCommands.h.

It leads to a 500 error when getting mds help info via rest api.
Changed "w" to "rw" in MonCommands.h

Fixes: #7180
Signed-off-by: Kai Zhang <kazhang2@cisco.com>
@kazhang
Copy link
Copy Markdown
Contributor Author

kazhang commented Jan 19, 2014

Changed all "w" to "rw" in MonCommands.h. Can't find any "w" permission in DumplingMonCommands.h .

liewegas pushed a commit that referenced this pull request Jan 19, 2014
Fix #7180 in ceph_rest_api

Reviewed-by: Sage Weil <sage@inktank.com>
@liewegas liewegas merged commit 63a77f4 into ceph:master Jan 19, 2014
liewegas pushed a commit that referenced this pull request Dec 14, 2016
tasks/cephfs: test standby replay teardown on rank stop

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants