Skip to content

Revert "mon, cephfs: Add auth caps for CephFS fsids" - #37122

Closed
tchaikov wants to merge 1 commit into
masterfrom
revert-32581-wip-djf-15070
Closed

tchaikov wants to merge 1 commit into
masterfrom
revert-32581-wip-djf-15070

Conversation

@tchaikov

Copy link
Copy Markdown
Contributor

Reverts #32581

@tchaikov
tchaikov requested a review from a team September 12, 2020 11:54
@tchaikov

Copy link
Copy Markdown
Contributor Author

@tchaikov
tchaikov removed the request for review from a team September 12, 2020 11:55
@tchaikov

Copy link
Copy Markdown
Contributor Author

@rishabh-d-dave

rishabh-d-dave commented Sep 14, 2020 •

Copy link
Copy Markdown
Contributor

The issue is not with the test, but code around mgr.x's caps needs an update. I think a relatively minor patch should fix this issue -

./bin/ceph fs fail a --id mgrx -k ceph.client.mgrx.keyring
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2020-09-14T20:49:15.163+0530 7fe4542f5700 -1 WARNING: all dangerous and experimental features are enabled.
2020-09-14T20:49:15.186+0530 7fe4542f5700 -1 WARNING: all dangerous and experimental features are enabled.
a marked not joinable; MDS cannot join the cluster. All MDS ranks marked failed.
$ cat ceph.client.mgrx.keyring 
[client.mgrx]
    key = AQBBh19fRU+1MhAAAfBVrEUbi2rDam451MkQ7g==
    caps mds = "allow *" 
    caps mon = "allow rw, allow profile mgr" 
    caps osd = "allow *" 

Take a look at the comment 9 of the ticket for details - https://tracker.ceph.com/issues/47423?issue_count=21&issue_position=2&next_issue_id=47292&prev_issue_id=25016#note-9

@neha-ojha neha-ojha left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rishabh-d-dave

Copy link
Copy Markdown
Contributor

@neha-ojha

Do we think we can resolve the following bugs soon enough? else I am fine going ahead with the revert.

I am fairly positive that this can be done in a short amount of time.

PR #37159 should fix tracker #47447. I wrote the same fix for ceph API tests before)

Tracker #47423 needs a bit more investigation. The issue lies around here[1] and here[2]. I've figured out that at [2] mask is 4 and g.allow.val is 0 which means mgr can't write despite of [1]. The bug fix should be short for this one too.

@rishabh-d-dave

Copy link
Copy Markdown
Contributor

@neha-ojha @batrick

Raised #37190 for ticket #47423.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants