Xie Xingguo
3e0506a9a5
Merge pull request #17253 from hjwsm1989/fix-qa-bug
...
qa: fix the potential delay of pg state change
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-28 08:35:01 +08:00
Kefu Chai
30b5b4627c
Merge pull request #16494 from asomers/bin_bash
...
misc: Fix bash path in shebangs
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-27 10:14:14 +08:00
Sage Weil
d930a4e062
Merge pull request #17029 from xiexingguo/wip-crush-rule-rename
...
mon: "ceph osd crush rule rename" support
Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-25 10:21:38 -05:00
Sage Weil
5db94f4786
Merge pull request #17126 from xiexingguo/wip-nicenum
...
common/types: make numbers a bit nicer when displaying space usage
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-25 10:11:06 -05:00
Sage Weil
84465bf5a5
qa/standalone/scrub/osd-scrub-repair: fix grep pattern
...
PGMap shows
ss << pg_sum.stats.sum.num_objects_unfound
<< "/" << pg_sum.stats.sum.num_objects << " objects unfound (" << b << "%)";
but we were grepping for "1/1 unfound" instead of "1/1 objects
unfound".
Introduced by fe81b7e3a5
.
Fixes: http://tracker.ceph.com/issues/21127
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-25 11:03:44 -04:00
huangjun
3bff102d4b
qa: fix the potential delay of pg state change
...
If start osd process first and then mark it in, the
pg state may remain all active+clean when doing
wait_for_clean() check, which may fail the next
osd_scrub_pgs() process.
So faster pg state change by marking osd in first.
Signed-off-by: huangjun <huangjun@xsky.com>
2017-08-25 17:07:37 +08:00
Sage Weil
805455274e
qa/overrides/2-size-2-min-size: whitelist REQUEST_STUCK
...
With min_size == size things can get stuck a very long time.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-24 15:50:45 -04:00
Sage Weil
3e7ac52a58
Merge pull request #17224 from liewegas/wip-ceph-deploy-mgr
...
qa/tasks/ceph_deploy: gatherkeys before mgr deploy
Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
2017-08-24 12:41:31 -05:00
Sage Weil
893b3ac6fa
Merge pull request #17227 from liewegas/wip-jewel-x
...
qa/suites/upgrade/jewel-x/parallel: tolerate laggy mgr
2017-08-24 09:30:31 -05:00
Sage Weil
bf296018ff
qa/suites/upgrade/jewel-x/parallel: tolerate laggy mgr
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-24 10:30:01 -04:00
Sage Weil
d3632fd2f9
Merge pull request #17226 from liewegas/wip-jewel-x
...
qa/suites/upgrade/jewel-x/stress-split: tolerate sloppy past_intervals
2017-08-24 09:27:44 -05:00
Sage Weil
d5d5d7d1d2
qa/suites/upgrade/jewel-x/stress-split: tolerate sloppy past_intervals
...
This is harmless in general, esp during upgrade.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-24 10:23:22 -04:00
Sage Weil
800fdd9953
qa/tasks/ceph_deploy: gatherkeys before mgr deploy
...
Otherwise we may be missing the bootstrap-mgr key.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-24 09:52:17 -04:00
Sage Weil
4f1fca0483
Merge pull request #17203 from liewegas/wip-jewel-x
...
qa/suites/upgarde/jewel-x/parallel: tolerate mgr warning
2017-08-23 17:21:37 -05:00
Matt Benjamin
1e1731e663
Merge pull request #16612 from cbodley/wip-20668
...
rgw: fixes for multisite replication of encrypted objects
2017-08-23 15:57:02 -04:00
Sage Weil
5455f599b3
qa/suites/upgrade/jewel-x/parallel: tolerate OBJECT_MISPLACED
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-23 14:24:00 -04:00
Sage Weil
2504ab1675
qa/suites/upgarde/jewel-x/parallel: tolerate mgr warning
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-23 14:22:34 -04:00
Casey Bodley
47ffcb1caf
Merge pull request #17162 from cbodley/wip-qa-rgw-pool-application
...
qa/rgw: use 'ceph osd pool application enable' on created pools
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-08-23 12:52:33 -04:00
Patrick Donnelly
75967dbfe7
Merge PR #17111 into master
...
* refs/remotes/upstream/pull/17111/head:
qa: add health whitelist for kcephfs suite
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-23 06:49:11 -07:00
Casey Bodley
5e67c681f7
Merge pull request #16344 from rzarzynski/wip-rgwqa-tempest
...
rgw, qa: integrate Tempest to verify RadosGW's compliance with Swift API
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-22 15:02:15 -04:00
Casey Bodley
568c3f3a23
qa/rgw: enable 'rgw' application on created pools
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-22 14:37:02 -04:00
Casey Bodley
7c865effd8
qa: add optional 'application' to pool creation helpers
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-22 14:37:02 -04:00
Kefu Chai
85b63670d9
Merge pull request #17039 from dzafman/wip-18206
...
osd: Fixes for osd_scrub_during_recovery handling
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-22 22:50:24 +08:00
xie xingguo
1ea448ac75
common/types: make numbers a bit nicer when displaying space usage
...
Was:
----------------------------------------------------------------------------
GLOBAL:
SIZE AVAIL RAW USED %RAW USED
30911M 27050M 3861M 12.49
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
rbd 0 101216k 1.10 8913M 1178
cephfs_data_a 1 0 0 8913M 0
cephfs_metadata_a 2 892 0 8913M 21
----------------------------------------------------------------------------
Now:
----------------------------------------------------------------------------
GLOBAL:
SIZE AVAIL RAW USED %RAW USED
30.2G 26.4G 3.77G 12.50
POOLS:
NAME ID USED %USED MAX AVAIL OBJECTS
rbd 0 99.2M 1.10 8.70G 1180
cephfs_data_a 1 0 0 8.70G 0
cephfs_metadata_a 2 892 0 8.70G 21
----------------------------------------------------------------------------
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-22 12:33:10 +08:00
David Zafman
367c32c69a
osd: Fixes for osd_scrub_during_recovery handling
...
Fixes: http://tracker.ceph.com/issues/18206
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-21 17:08:14 -07:00
David Zafman
9f3d970a0d
tests: osd-scrub-snaps.sh minor cleanup
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-21 17:08:14 -07:00
David Zafman
9069f663f7
Merge pull request #17098 from dzafman/wip-runs-core
...
tests: run-standalone.sh skip core_pattern if already set
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-08-21 08:21:13 -07:00
Yan, Zheng
b10989209f
qa: add health whitelist for kcephfs suite
...
Fixes: http://tracker.ceph.com/issues/20892
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-08-21 17:01:22 +08:00
Xie Xingguo
89d28a176c
Merge pull request #16955 from xiexingguo/wip-app-ls
...
mon/OSDMonitor: "osd pool application get" support
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-19 17:49:43 +08:00
David Zafman
599d7622dd
tests: run-standalone.sh skip core_pattern if already set
...
If sudo requires a password it is nice to be able to avoid
sudo sysctl by setting core_pattern ahead of time.
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-18 10:27:12 -07:00
Alfredo Deza
1e8e689ca7
Merge pull request #17093 from dzafman/wip-runs-message
...
tests: run-standalone.sh improve error message
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-08-18 12:08:17 -04:00
Kefu Chai
fbfd17b2fd
Merge pull request #17026 from dzafman/wip-add-trap
...
tests: qa/standalone: Add trap for signals to restore the kernel core pattern
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-18 23:02:04 +08:00
David Zafman
175b10795d
tests: run-standalone.sh improve error message
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-18 03:49:42 -07:00
David Zafman
021177b790
Merge pull request #16407 from dzafman/wip-20243
...
osd: Improve size scrub error handling and ignore system attrs in xattr checking
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-17 20:05:40 -07:00
Jason Dillaman
1b21476f33
Merge pull request #17062 from trociny/wip-qa-rbd-mirror-data-pool
...
qa/workunits/rbd: test data pool is mirrored correctly
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-17 18:24:37 -04:00
David Galloway
cd50aad45a
Merge pull request #17069 from yuriw/wip_add_luminous
...
Decreased amount of jobs on master, kraken, luminous runs
2017-08-17 15:27:19 -04:00
Yuri Weinstein
6b7331e038
Decreased amount of jobs on master, kraken, luminous runs
...
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-08-17 09:32:09 -07:00
Mykola Golub
c4c7075029
qa/workunits/rbd: test data pool is mirrored correctly
...
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-08-17 10:07:12 +02:00
xie xingguo
7c67f95201
crush, mon: "ceph osd crush rule ls-by-class" support
...
This command returns all crush rules that are currently
referencing the device class specified by user.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-17 13:34:36 +08:00
Casey Bodley
f27ebabe55
test/rgw: add kms encryption key for teuthology
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-08-16 12:22:31 -04:00
Kefu Chai
17d6e96a6f
Merge pull request #16967 from liewegas/wip-upgrade-health
...
mon: fix legacy health checks in 'ceph status' during upgrade; fix jewel-x upgrade combo
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-16 19:44:36 +08:00
xie xingguo
46586b2288
mon/OSDMonitor: "osd pool application ls" support
...
It would be a pain if we have to call 'ceph osd dump --format=json-pretty'
to find out these each time...
Demo output:
(1) ceph osd pool application get
{
"cephfs_data_b": {
"cephfs": {}
},
"cephfs_metadata_a": {
"cephfs": {}
},
"test_pool": {
"rbd": {
"test": "me"
}
}
}
(2) ceph osd pool application get test_pool
{
"rbd": {
"test": "me"
}
}
(3) ceph osd pool application get test_pool rbd
{
"test": "me"
}
(4) ceph osd pool application get test_pool rbd test
me
Fixes: http://tracker.ceph.com/issues/20976
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-16 09:41:11 +08:00
xie xingguo
a5075ed253
mon: "ceph osd crush rule rename" support
...
User may specify a rule with the same name of the pool that it serves.
Since a pool can be renamed, so does the rule.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-15 17:01:26 +08:00
David Zafman
982aef784c
tests: qa/standalone: Add trap for signals to resetore the kernel core pattern
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-14 19:16:30 -07:00
Radoslaw Zarzynski
ed8a6b89e4
qa/suites/rgw/tempest: use fixed-1 cluster instead of fixed-2.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-08-14 01:11:22 +00:00
Radoslaw Zarzynski
43a7399720
qa/tasks/rgw: make the frontend_prefix per-client configurable.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-08-14 01:11:18 +00:00
Radoslaw Zarzynski
09db786581
qa/suites/rgw: move the Tempest testing to its dedicated sub-suite.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-08-13 23:14:40 +00:00
Radoslaw Zarzynski
99e1d443a0
qa/suites/rgw: freeze the Tempest version for RGW testing.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-08-13 23:14:40 +00:00
Radoslaw Zarzynski
3dbacd1387
qa/tasks/keystone: make possible to deploy Keystone on CentOS as well.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-08-13 23:14:40 +00:00
Radoslaw Zarzynski
afe1ad3010
qa, rgw: Keystone's instances can be now accessed via non-local network interfaces.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-08-13 23:14:40 +00:00