New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jewel: ceph_volume_client: fix recovery from partial auth update #11656
Conversation
test the PR with ceph/ceph-qa-suite#1221 |
@ajarr could you link to the test results here please ? |
jenkins test this please |
pushed to gitbuilders as wip-17705-jewel so that it can be tested with the required ceph-qa-suite modifications https://github.com/ceph/ceph-qa-suite/pull/1221/files |
jenkins test this please (jenkins general failure) |
jenkins test this please (general jenkins failure) |
@ajarr you can now run a fs suite using wip-17705-jewel and ceph/ceph-qa-suite#1221 . Please let me know if you need help doing that. |
…om partial auth update Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ajarr in the context of backports DNM means that it will not be merged in the integration branch. I set that for this pull request because it needs its own run of QA with the corresponding ceph-qa-suite branch. |
Analysis of test failures from @jcsp 's run: Test 557275 - assert(0) in common/lockdep.cc just like http://tracker.ceph.com/issues/17447 Test 557280:
Test 557281: 29 failures in libcephfs-java/test.sh - Java makes my eyes glaze over, but maybe due to this:
|
Re-running the 6 failed jobs:
Full disclosure: the 5 fail, 1 pass http://pulpito.ceph.com:80/smithfarm-2016-11-24_20:19:25-fs-wip-17705-jewel---basic-smithi/ I think the one that passed is the same test as 557281 |
@jcsp Does my analysis of your run (see preceding two comments) help any? |
@smithfarm yes, those failure are all ignoreable |
@smithfarm @dachary can this PR be merged? |
@ajarr The tests in ceph/ceph-qa-suite#1221 need to be moved into this PR. |
@ajarr Ping |
It needs to be an instance method. Fixes: http://tracker.ceph.com/issues/17216 Signed-off-by: Ramana Raja <rraja@redhat.com> (cherry picked from commit 675cb91)
... when recovering from partial auth updates. Auth update happens in the following order: auth metadata update, volume metadata update, and then Ceph auth update. A partial auth update can happen such that auth metadata is updated, but the volume metadata isn't updated and is empty, and the auth update did not propogate to Ceph. When recovering from such a scenario, check if volume metadata is empty and if so remove the partial auth update info in auth metadata. Signed-off-by: Ramana Raja <rraja@redhat.com> (cherry picked from commit a95de78)
... for volumes whose group_id is None. Signed-off-by: Ramana Raja <rraja@redhat.com> (cherry picked from commit 0ab8bad)
... in ceph_volume_client. Signed-off-by: Ramana Raja <rraja@redhat.com> (cherry picked from commit f0134a3)
Check that the total size shown by the df output of a mounted volume is same as the volume size and the quota set on the volume. Signed-off-by: Ramana Raja <rraja@redhat.com> (cherry picked from commit 91c74f4)
Signed-off-by: Ramana Raja <rraja@redhat.com> (cherry picked from commit bb60e01)
805f032
to
36186d0
Compare
@smithfarm done. missed your comment. sorry about the delay. |
Fixes http://tracker.ceph.com/issues/17705
and adds tests in tasks/cephfs/test_volume_clients.py