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
osd/objectstore: change osd_objectstore default to bluestore #24642
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this breaks some tests inspecting the underlying files/directories of filestore for verifying its behavior. for instance, http://pulpito.ceph.com/kchai-2018-10-22_01:58:26-rados-wip-kefu-testing-2018-10-20-1204-distro-basic-smithi/3170191/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this breaks some tests inspecting the underlying files/directories of filestore for verifying its behavior. for instance, http://pulpito.ceph.com/kchai-2018-10-22_01:58:26-rados-wip-kefu-testing-2018-10-20-1204-distro-basic-smithi/3170191/
|
@tchaikov thank you.
|
|
The fix is to change this
export CEPH_ARGS
to export CEPH_ARGS="--osd-objectstore filestore" for this or
any similar test that needs filestore.
|
|
Thank you @liewegas will make the changes. |
d9ed42f
to
529e2f5
Compare
|
@vumrao there are more of them, could you fix following tests as well? |
529e2f5
to
e6b6954
Compare
|
Thank you, @tchaikov I have updated The |
|
@liewegas OK to backport this to mimic and luminous? |
|
@smithfarm sure! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test updates look good, let's run this through a suite
| @@ -51,6 +51,7 @@ function setup_pgid() { | |||
| } | |||
|
|
|||
| function expect_alloc_hint_eq() { | |||
| export CEPH_ARGS="--osd-objectstore=filestore" | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does not change how osd is initialized. you will need to update theoverrides section in qa/suites/rados/objectstore/backends/alloc-hint.yaml to specify the objectstore type.
and you need to audit other places you set --osd-objectstore=filestore to make sure it can actually take effect before the OSD/cluster is created.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2018-11-29T02:58:03.956 INFO:tasks.workunit.client.0.smithi083.stderr:+ sudo ceph daemon osd.0 flush_journal
2018-11-29T02:58:04.143 INFO:tasks.workunit.client.0.smithi083.stderr:++ sudo sh -c 'ls /var/lib/ceph/osd/ceph-0/current/2.6*_head/foo_*'
2018-11-29T02:58:04.158 INFO:tasks.workunit.client.0.smithi083.stderr:ls: cannot access /var/lib/ceph/osd/ceph-0/current/2.6*_head/foo_*: No such file or directory
|
@vumrao could you also enlarge the size of OSD, see @ifed01 's analysis at http://tracker.ceph.com/issues/37452 ? but i wonder why we haven't run into such an issue if filestore is used. does this imply that bluestore requires more device space compared to filestore? is this expected? |
|
@tchaikov - I think there is no explicit limit for filestore for these test cases - they simply are able to use all the available space as they run on top of regular file system. |
|
@vumrao ping? |
|
@tchaikov sorry for the delay I will take a look tomorrow. |
Fixes: http://tracker.ceph.com/issues/36494 Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
Fixes: http://tracker.ceph.com/issues/36494 Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
for only osd_objectstore as filestore. Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
e6b6954
to
113221c
Compare
|
@tchaikov I have tried to fix it hope this time it will go through :) |
|
@tchaikov Hi Kefu - can you please add this one to your next test branch. Thank you. |
|
see #25937 to address additional rados suite failures. |
|
replaced by #25937 |
osd/objectstore: change osd_objectstore default to bluestore
Fixes: http://tracker.ceph.com/issues/36494
Signed-off-by: Vikhyat Umrao vumrao@redhat.com