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
journal overflow fixup #8135
journal overflow fixup #8135
Conversation
it looks good to merge after jewel. Could you please add integration tests for Ubuntu 14.04 and CentOS 7 ? They are found in ceph/qa/workunit/ceph-disk and https://github.com/ceph/ceph-qa-suite/tree/master/suites/ceph-disk/basic |
@dachary I am afraid at this moment I don’t know enough about Ceph QA and don’t have the infrastructure to run this on Ubuntu 14.04 and CentOS 7. If you could point me to some one who can help that would be great. |
@oms4suse I'd be happy to run suites on Ubuntu 14.04 and CentOS 7.2 for you in our OVH tenant. |
@smithfarm thanks for the help :-) Could you please reassign to me once the tests are passing ? |
The code never needs to know the block device size only the free partion space. We use parted as the output is consitent across these distributions: SUSE Linux Enterprise Server 12 SP1 openSUSE Leap 42.1 (x86_64) Debian GNU/Linux 8.3 (jessie) Fedora release 23 (Twenty Three) Scientific Linux release 7.2 (Nitrogen) Scientific Linux release 6.7 (Carbon) Signed-off-by: Owen Synge <osynge@suse.com>
Mock get_free_partition_size rather than the now obsolete get_dev_size Signed-off-by: Owen Synge <osynge@suse.com>
We need a lot of unit tests as the output of parted is complex. Signed-off-by: Owen Synge <osynge@suse.com>
We need to enable the new unit tests Signed-off-by: Owen Synge <osynge@suse.com>
bd8129e
to
789457a
Compare
I am currently trying to get the test suite to pass, but really don’t understand the error. if true && echo w --jobserver-fds=3,4 -j | grep --quiet -e -j && test $u -lt $n ; then I am now trying to get "src/test/run-cli-tests" to succeed on a local build. |
OK I have made "src/test/run-cli-tests" pass on master and am now rebuilding on my branch. |
I have made "src/test/run-cli-tests" pass on my branch. Maybe I am missing some thing and this test is failing because of some environment issue. Please can I have help as to wear to look. |
I am going to be doing some ceph-disk work soon, which will include adding tests to the ceph-disk suite. I'll add these tests, too. |
@oms4suse ping |
closing this. feel free to reopen and rebase if it's still a problem! |
Fix #14932
Improve ceph-disk error message when there is not enough space to create journal partition.