qa/workunits/cephtool/test.sh: a handful fixes#31689
Merged
tchaikov merged 9 commits intoceph:masterfrom Nov 18, 2019
Merged
Conversation
Contributor
Author
|
this should address failures like http://pulpito.ceph.com/kchai-2019-11-16_10:02:59-rados-wip-kefu-testing-2019-11-16-1438-distro-basic-mira/4513792/ |
This was referenced Nov 16, 2019
liewegas
approved these changes
Nov 17, 2019
4614fb3 to
00da5ca
Compare
Contributor
Author
|
changelog
|
Contributor
Author
00da5ca to
e097959
Compare
b6ea126 to
2d13b53
Compare
tests all IEC and SI units related test with a tier pool. as `target_max_objects` and `target_size_bytes` only apply to tier pools. so, for the sake of simplicity, tests all of them using a tier pool. introduced by 9095f67 Signed-off-by: Kefu Chai <kchai@redhat.com>
after the big asok/tell cleanup, "heap" is now an asok command, so update the manpage accordingly Signed-off-by: Kefu Chai <kchai@redhat.com>
"heap" cli commands are removed in the big asok/tell cleanup, they are now asock commands. Signed-off-by: Kefu Chai <kchai@redhat.com>
… asok commands ceph cli will be able to route the command to the target daemon when handling "tell" commands. Signed-off-by: Kefu Chai <kchai@redhat.com>
2d13b53 to
6f78420
Compare
"version" is not an asok command anymore in the sense that it's served by registered asock hook. so in this change, we replace "version" with "sessions", so we can verify that audit channel does not the dispatched "sessions" command sent from ceph cli. also, restructure the test as a loop for better readability Signed-off-by: Kefu Chai <kchai@redhat.com>
fc71d41 to
e96df8c
Compare
…ted_commands() both "compact" and "scrub" are now cli command, so we cannot issue them using "tell" anymore. Signed-off-by: Kefu Chai <kchai@redhat.com>
otherwise wait_for_health() fails like:
wait_for_health: ceph health detail
HEALTH_WARN 1 pool(s) have non-power-of-two pg_num
[WRN] POOL_PG_NUM_NOT_POWER_OF_TWO: 1 pool(s) have non-power-of-two pg_num
pool 'rbd' pg_num 10 is not a power of two
../qa/workunits/cephtool/../../standalone/ceph-helpers.sh:1613: wait_for_health: return 1
the failure was found when testing test_mon_pg().
this behavior was introduced by 6e46b1c
Signed-off-by: Kefu Chai <kchai@redhat.com>
otherwise ceph-mgr will refuse to perform reweight Signed-off-by: Kefu Chai <kchai@redhat.com>
cb3771d to
e097959
Compare
in cephtool/test.sh, we
ceph fs set cephfs inline_data {1,0}
so the health check fails when the test ends, like
mon.a (mon.0) 3498 : cluster [WRN] Health check failed: 1 filesystem
with deprecated feature inline_data (FS_INLINE_DATA_DEPRECATED)" in
cluster log
so, before we remove the test, we need to whitelist this warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
e097959 to
153311a
Compare
Contributor
Author
liewegas
approved these changes
Nov 18, 2019
This was referenced Nov 19, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
introduced by 9095f67
Signed-off-by: Kefu Chai kchai@redhat.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard backendjenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox