]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge branch 'wip-cleanup' into 'rh-luminous'
Vasu Kulkarni [Sat, 2 Mar 2019 02:21:20 +0000 (07:51 +0530)]
Merge branch 'wip-cleanup' into 'rh-luminous'

Multisite updates

See merge request ceph/ceph!36

6 years agoMultisite configuration modifications
Shilpa Jagannath [Fri, 1 Mar 2019 09:02:10 +0000 (14:32 +0530)]
Multisite configuration modifications

6 years agoTest case yaml organized in suites
Shilpa Jagannath [Fri, 1 Mar 2019 07:35:23 +0000 (13:05 +0530)]
Test case yaml organized in suites

6 years agoMerge branch 'rgw_multiclient' into 'rh-luminous'
Vasu Kulkarni [Mon, 18 Feb 2019 18:35:47 +0000 (00:05 +0530)]
Merge branch 'rgw_multiclient' into 'rh-luminous'

Rgw multiclient

See merge request ceph/ceph!34

6 years agoMerge branch 'with-client-2' into 'rh-luminous'
Vasu Kulkarni [Mon, 18 Feb 2019 18:34:52 +0000 (00:04 +0530)]
Merge branch 'with-client-2' into 'rh-luminous'

Add client-2 in roles

See merge request ceph/ceph!35

6 years agoAdd client-2 in roles
Shylesh Kumar [Thu, 14 Feb 2019 21:57:48 +0000 (13:57 -0800)]
Add client-2 in roles

Signed-off-by: Shylesh Kumar <shmohan@redhat.com>
6 years agochanges to accomodate the modified rgw_system_test task
rakesh [Mon, 4 Feb 2019 06:45:23 +0000 (12:15 +0530)]
changes to accomodate the modified rgw_system_test task

6 years agoadded doc string and script default value
rakesh [Mon, 4 Feb 2019 06:44:14 +0000 (12:14 +0530)]
added doc string and script default value

6 years agoincreased client count
rakesh [Fri, 1 Feb 2019 12:56:50 +0000 (18:26 +0530)]
increased client count

6 years agoadded multiclient tests
rakesh [Fri, 25 Jan 2019 11:36:20 +0000 (17:06 +0530)]
added multiclient tests

6 years agomodified task with cleaner code
rakesh [Fri, 25 Jan 2019 11:36:01 +0000 (17:06 +0530)]
modified task with cleaner code

6 years agoMerge branch 'wip-openssl' into 'rh-luminous'
Vasu Kulkarni [Tue, 8 Jan 2019 04:55:36 +0000 (10:25 +0530)]
Merge branch 'wip-openssl' into 'rh-luminous'

openssl task from master

See merge request ceph/ceph!33

6 years agoPulled openssl keys from master
Shilpa Jagannath [Mon, 7 Jan 2019 10:51:50 +0000 (16:21 +0530)]
Pulled openssl keys from master

6 years agoMerge branch 'wip-bluestore-tunables' into 'rh-luminous'
Vasu Kulkarni [Wed, 2 Jan 2019 19:41:54 +0000 (01:11 +0530)]
Merge branch 'wip-bluestore-tunables' into 'rh-luminous'

Bluestore compression tunables smoke suite

See merge request ceph/ceph!32

6 years agoupdate maven link and version
Vasu Kulkarni [Thu, 20 Dec 2018 01:20:24 +0000 (17:20 -0800)]
update maven link and version

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
6 years agodont fail on any WRN or ERR's during final log check.
Vasu Kulkarni [Fri, 26 Oct 2018 23:22:18 +0000 (16:22 -0700)]
dont fail on any WRN or ERR's during final log check.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
6 years agoBluestore compression tunables smoke suite
Shylesh Kumar [Tue, 11 Dec 2018 02:46:54 +0000 (18:46 -0800)]
Bluestore compression tunables smoke suite

Signed-off-by: Shylesh Kumar <shmohan@redhat.com>
6 years agoMerge branch 'wip-smoke-migrate-failures' into 'rh-luminous'
Vasu Kulkarni [Fri, 7 Dec 2018 22:21:27 +0000 (03:51 +0530)]
Merge branch 'wip-smoke-migrate-failures' into 'rh-luminous'

Make smoke/migration as a seperate suite with filestore as default objectstore

See merge request ceph/ceph!31

6 years agoMake filestore as objstore in smoke/ceph-ansible/migration suites
shylesh kumar [Thu, 6 Dec 2018 04:39:37 +0000 (23:39 -0500)]
Make filestore as objstore in smoke/ceph-ansible/migration suites

Signed-off-by: shylesh kumar <shylesh.mohan@gmail.com>
6 years agoMerge branch 'wip-cephtask-with-lvm' into 'rh-luminous'
Vasu Kulkarni [Thu, 29 Nov 2018 00:41:09 +0000 (06:11 +0530)]
Merge branch 'wip-cephtask-with-lvm' into 'rh-luminous'

Modify ceph task to use ceph-volume lvm for osd creation

See merge request ceph/ceph!29

6 years agoModify ceph task to use ceph-volume lvm for osd creation
shylesh kumar [Wed, 31 Oct 2018 16:25:17 +0000 (12:25 -0400)]
Modify ceph task to use ceph-volume lvm for osd creation

Signed-off-by: shylesh kumar <shylesh.mohan@gmail.com>
6 years agoMerge branch 'wip-ftob-migration' into 'rh-luminous'
Vasu Kulkarni [Wed, 24 Oct 2018 21:29:28 +0000 (02:59 +0530)]
Merge branch 'wip-ftob-migration' into 'rh-luminous'

Migration from filestore to bluestore task along with io with checksum validation

See merge request ceph/ceph!28

6 years agoMigration from filestore to bluestore task along with
shylesh kumar [Mon, 24 Sep 2018 20:56:26 +0000 (16:56 -0400)]
Migration from filestore to bluestore task along with
suite yaml

Signed-off-by: shylesh kumar <shylesh.mohan@gmail.com>
6 years agoAdd 3.2 version support
Vasu Kulkarni [Wed, 3 Oct 2018 18:34:47 +0000 (11:34 -0700)]
Add 3.2 version support

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
6 years agoMerge branch 'make-cov' into 'rh-luminous'
Vasu Kulkarni [Tue, 25 Sep 2018 21:41:59 +0000 (03:11 +0530)]
Merge branch 'make-cov' into 'rh-luminous'

code coverage from source

See merge request ceph/ceph!27

6 years agoMerge branch 'wip-rados-thrash1' into 'rh-luminous'
Vasu Kulkarni [Tue, 25 Sep 2018 21:41:33 +0000 (03:11 +0530)]
Merge branch 'wip-rados-thrash1' into 'rh-luminous'

thrash refactoring

See merge request ceph/ceph!26

6 years agothrash refactoring
Shylesh Kumar [Mon, 21 May 2018 17:27:39 +0000 (22:57 +0530)]
thrash refactoring

Signed-off-by: Shylesh Kumar <shylesh.mohan@gmail.com>
6 years agocode coverage from source
shylesh kumar [Wed, 22 Aug 2018 01:02:32 +0000 (21:02 -0400)]
code coverage from source

Signed-off-by: shylesh kumar <shylesh.mohan@gmail.com>
6 years agoMerge branch 'add_bluestore' into 'rh-luminous'
Vasu Kulkarni [Wed, 1 Aug 2018 17:58:08 +0000 (23:28 +0530)]
Merge branch 'add_bluestore' into 'rh-luminous'

bluestore configuration added

See merge request ceph/ceph!25

6 years agobluestore configuration added
rakesh [Tue, 31 Jul 2018 13:00:33 +0000 (18:30 +0530)]
bluestore configuration added

7 years agodisable tests that fail due to ERR or WRN in cluster logs
Vasu Kulkarni [Sat, 21 Jul 2018 23:17:49 +0000 (16:17 -0700)]
disable tests that fail due to ERR or WRN in cluster logs

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge branch 'wip-netem' into 'rh-luminous'
Vasu Kulkarni [Tue, 17 Jul 2018 23:15:20 +0000 (04:45 +0530)]
Merge branch 'wip-netem' into 'rh-luminous'

Task and yamls for testing delay and link failure/recovery with multisite

See merge request ceph/ceph!24

7 years agoChange rgw node running tests.
Shilpa Manjarabad Jagannath [Mon, 16 Jul 2018 05:06:32 +0000 (10:36 +0530)]
Change rgw node running tests.

7 years agoTask and yamls for testing delay and link failure/recovery with multisite
Shilpa Jagannath [Fri, 13 Jul 2018 16:23:39 +0000 (21:53 +0530)]
Task and yamls for testing delay and link failure/recovery with multisite

7 years agoMerge branch 'rgw-multisite' into 'rh-luminous'
Vasu Kulkarni [Thu, 5 Jul 2018 18:25:15 +0000 (23:55 +0530)]
Merge branch 'rgw-multisite' into 'rh-luminous'

Multisite tests refactored to run both boto2 and boto3 rgw_system tests

See merge request ceph/ceph!23

7 years agoRemove duplicate tasks
Shilpa Jagannath [Thu, 5 Jul 2018 12:18:51 +0000 (17:48 +0530)]
Remove duplicate tasks

7 years agoMultisite tests refactored to run both boto2 and boto3 rgw_system tests
Shilpa Jagannath [Thu, 5 Jul 2018 11:58:47 +0000 (17:28 +0530)]
Multisite tests refactored to run both boto2 and boto3 rgw_system tests

7 years agoMerge branch 'nfs-ganesha-rgw-v2' into 'rh-luminous'
Vasu Kulkarni [Wed, 27 Jun 2018 17:17:58 +0000 (22:47 +0530)]
Merge branch 'nfs-ganesha-rgw-v2' into 'rh-luminous'

corrected wrongly added test name

See merge request ceph/ceph!22

7 years agoMerge branch 'ceph-ipmi' into 'rh-luminous'
Vasu Kulkarni [Wed, 27 Jun 2018 17:16:28 +0000 (22:46 +0530)]
Merge branch 'ceph-ipmi' into 'rh-luminous'

Task to power off/on remotes

See merge request ceph/ceph!20

7 years agocorrected wrongly added test name
rakesh [Wed, 27 Jun 2018 13:22:39 +0000 (18:52 +0530)]
corrected wrongly added test name

7 years agoTask to power off/on remotes
Shilpa Jagannath [Tue, 26 Jun 2018 03:37:41 +0000 (09:07 +0530)]
Task to power off/on remotes

7 years agoMerge branch 'nfs-ganesha-rgw-v2' into 'rh-luminous'
Vasu Kulkarni [Mon, 25 Jun 2018 17:48:55 +0000 (23:18 +0530)]
Merge branch 'nfs-ganesha-rgw-v2' into 'rh-luminous'

Nfs ganesha rgw v2

See merge request ceph/ceph!19

7 years agoMerge branch 'rgw_system_stability' into 'rh-luminous'
Vasu Kulkarni [Fri, 22 Jun 2018 17:19:34 +0000 (22:49 +0530)]
Merge branch 'rgw_system_stability' into 'rh-luminous'

Rgw system stability

See merge request ceph/ceph!18

7 years agonfs_test added
rakesh [Fri, 22 Jun 2018 10:52:36 +0000 (16:22 +0530)]
nfs_test added

7 years agodeleted to rename the files for cleaner meaning
rakesh [Fri, 22 Jun 2018 10:51:58 +0000 (16:21 +0530)]
deleted to rename the files for cleaner meaning

7 years agodeleted nfs-ganesh-rgw v1
rakesh [Fri, 22 Jun 2018 10:25:50 +0000 (15:55 +0530)]
deleted nfs-ganesh-rgw v1

7 years agocorrected errors
rakesh [Fri, 22 Jun 2018 10:21:58 +0000 (15:51 +0530)]
corrected errors

7 years agoadded nfs tests
rakesh [Fri, 22 Jun 2018 10:21:26 +0000 (15:51 +0530)]
added nfs tests

7 years agoadded test_on_nfs_io_create
rakesh [Mon, 18 Jun 2018 17:07:48 +0000 (22:37 +0530)]
added test_on_nfs_io_create

7 years agorenamed the taskfile and added code to work on nfs-ganesha-rgw-v2(boto3 based)
rakesh [Mon, 18 Jun 2018 17:05:36 +0000 (22:35 +0530)]
renamed the taskfile and added code to work on nfs-ganesha-rgw-v2(boto3 based)

7 years agoadded test_dir_version as config and corrected config numbers
rakesh [Thu, 7 Jun 2018 12:38:48 +0000 (18:08 +0530)]
added test_dir_version as config and corrected config numbers

7 years agocleaned and modfied code
rakesh [Thu, 7 Jun 2018 12:37:08 +0000 (18:07 +0530)]
cleaned and modfied code

7 years agoupdate version numbers for rhcs 3.0z and 3.1
Vasu Kulkarni [Wed, 23 May 2018 18:39:58 +0000 (11:39 -0700)]
update version numbers for rhcs 3.0z and 3.1

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoMerge branch 'singleton-reorg' into 'rh-luminous'
Vasu Kulkarni [Mon, 14 May 2018 17:33:40 +0000 (23:03 +0530)]
Merge branch 'singleton-reorg' into 'rh-luminous'

Singleton reorg

See merge request !15

7 years agoforce rgw test branch to ceph-luminous
Vasu Kulkarni [Sat, 12 May 2018 00:38:45 +0000 (17:38 -0700)]
force rgw test branch to ceph-luminous

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoremove force branch use for rgw s3 test
Vasu Kulkarni [Fri, 11 May 2018 21:15:58 +0000 (14:15 -0700)]
remove force branch use for rgw s3 test

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoprint the boto cfg in use for debug use
Vasu Kulkarni [Fri, 11 May 2018 21:11:39 +0000 (14:11 -0700)]
print the boto cfg in use for debug use

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agoqa/tasks/ceph: add "create_rbd_pool" option
Kefu Chai [Sun, 15 Oct 2017 12:46:28 +0000 (20:46 +0800)]
qa/tasks/ceph: add "create_rbd_pool" option

True by default, but we can opt not to create the "rbd" pool.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit ac1e13ce63a6f32ae9ab0db8196c8cc8100d94ed)

7 years agoqa/suites/rados/singleton: more whitelist
Kefu Chai [Wed, 29 Nov 2017 05:51:49 +0000 (13:51 +0800)]
qa/suites/rados/singleton: more whitelist

* SLOW_OPS is normal in a cluster with flattering OSDs
* so is OBJECT_MISPLACED.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 0e987665fe480530a0d1664392604713828bfa5c)

7 years agoqa: silence SLOW_OPS,PENDING_CREATING_PGS warnings
Kefu Chai [Thu, 23 Nov 2017 04:56:31 +0000 (12:56 +0800)]
qa: silence SLOW_OPS,PENDING_CREATING_PGS warnings

this is an intermediate step to deprecate REQUEST_SLOW warnings.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 4a1f2a5c78cc77eafe99f087d10c0d3daa7fca7b)

Conflicts:
qa/suites/rados/singleton/all/thrash-eio.yaml
qa/suites/smoke/basic/tasks/mon_thrash.yaml
qa/suites/smoke/basic/tasks/rados_bench.yaml
qa/suites/smoke/basic/tasks/rados_cache_snaps.yaml
qa/suites/smoke/basic/tasks/rados_ec_snaps.yaml
qa/suites/smoke/basic/tasks/rbd_fsx.yaml: do not cherry-pick the
SLOW_OPS related changes.

7 years agoqa: Ignore degraded PGs when injecting random eio errors
David Zafman [Mon, 4 Dec 2017 21:02:04 +0000 (13:02 -0800)]
qa: Ignore degraded PGs when injecting random eio errors

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit c77941f593755f79e4a800545d7ff437bbe0562d)

7 years agoqa/suites/rados/singleton/diverget_priors*: broaden whitelist
Sage Weil [Wed, 30 Aug 2017 19:13:08 +0000 (15:13 -0400)]
qa/suites/rados/singleton/diverget_priors*: broaden whitelist

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 39e5efbad2c2834acf8e6463258b148321ea85a4)

7 years agorados singleton reorg
Shylesh Kumar [Mon, 26 Mar 2018 17:34:45 +0000 (23:04 +0530)]
rados singleton reorg

Signed-off-by: Shylesh Kumar <shylesh.mohan@gmail.com>
7 years agoMerge branch 'nfs-ganesha-fail-fix' into 'rh-luminous'
Vasu Kulkarni [Mon, 30 Apr 2018 21:13:31 +0000 (02:43 +0530)]
Merge branch 'nfs-ganesha-fail-fix' into 'rh-luminous'

Nfs ganesha fail fix

Changed pg_pg num and pgp_num val to 8.  Missing config in nfsP_ganesha tests added.

See merge request !13

7 years agomissing nfs_version config added
rakesh [Thu, 26 Apr 2018 04:44:32 +0000 (10:14 +0530)]
missing nfs_version config added

7 years agochanged pg_num and pgp_num to 8
rakesh [Thu, 26 Apr 2018 04:43:40 +0000 (10:13 +0530)]
changed pg_num and pgp_num to 8

7 years agoMerge branch 'add-nfs-ganesha-task' into 'rh-luminous'
Vasu Kulkarni [Wed, 25 Apr 2018 22:46:43 +0000 (04:16 +0530)]
Merge branch 'add-nfs-ganesha-task' into 'rh-luminous'

added nfs_ganesha_task

nfs ganesha task added

See merge request !12

7 years agoadded nfs_ganesha_task
rakesh [Wed, 25 Apr 2018 13:51:23 +0000 (19:21 +0530)]
added nfs_ganesha_task

7 years agoqa: ignore io pause warnings in mds-full test
Patrick Donnelly [Tue, 13 Feb 2018 17:52:56 +0000 (09:52 -0800)]
qa: ignore io pause warnings in mds-full test

Fixes: http://tracker.ceph.com/issues/22990
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 7bf6eb0198d0cf68d1393a8f61975bb29593fc55)

7 years agoqa: ignore MON_DOWN while thrashing mons
Patrick Donnelly [Tue, 13 Feb 2018 19:24:39 +0000 (11:24 -0800)]
qa: ignore MON_DOWN while thrashing mons

Fixes: https://tracker.ceph.com/issues/22993
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 608e002195638e80323780f1907db40c0b9768f0)

7 years agoqa: whitelist expected rstat warning
Patrick Donnelly [Mon, 28 Aug 2017 18:52:36 +0000 (11:52 -0700)]
qa: whitelist expected rstat warning

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit c53d091e5110011866aa85495ff4e5abe0442d71)

7 years agoqa: whitelist cache too large in client-limits
Patrick Donnelly [Fri, 22 Sep 2017 16:44:43 +0000 (09:44 -0700)]
qa: whitelist cache too large in client-limits

Fixes: http://tracker.ceph.com/issues/21510
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 87039eb30a25158a192ab7099fa81fbb9ce02953)

7 years agoqa: whitelist failover log warnings
Patrick Donnelly [Fri, 22 Sep 2017 16:42:06 +0000 (09:42 -0700)]
qa: whitelist failover log warnings

Fixes: http://tracker.ceph.com/issues/21509
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 37a7737712f36422b5f035a0e02bab25ae2da890)

7 years agoqa: ignore evicted client in client-recovery
Patrick Donnelly [Fri, 22 Sep 2017 16:38:59 +0000 (09:38 -0700)]
qa: ignore evicted client in client-recovery

Fixes: http://tracker.ceph.com/issues/21508
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 8ecef57bb10a83587f02ce087b657d303ae7c589)

7 years agoqa: whitelist expected MDS_READ_ONLY for kcephfs test
Yan, Zheng [Tue, 5 Sep 2017 09:09:32 +0000 (17:09 +0800)]
qa: whitelist expected MDS_READ_ONLY for kcephfs test

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 584241285f52fc420ebc4a6a6455497a3ed4d45a)

7 years agoqa: add health whitelist for kcephfs suite
Yan, Zheng [Mon, 21 Aug 2017 08:56:20 +0000 (16:56 +0800)]
qa: add health whitelist for kcephfs suite

Fixes: http://tracker.ceph.com/issues/20892
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit b10989209f41ddb5abe16f816ffd8a3ce118fd02)

7 years agoMerge branch 'bug-1518730' into 'rh-luminous'
Vasu Kulkarni [Wed, 18 Apr 2018 23:42:14 +0000 (05:12 +0530)]
Merge branch 'bug-1518730' into 'rh-luminous'

Bug 1518730

See merge request !11

7 years agoMerge branch 'wip-rbd-critical' into 'rh-luminous'
Vasu Kulkarni [Wed, 11 Apr 2018 21:14:34 +0000 (02:44 +0530)]
Merge branch 'wip-rbd-critical' into 'rh-luminous'

rbd critical tests

Add rbd critical tests in smoke

Signed-off-by: Sidhant Agrawal <sagrawal@redhat.com>
See merge request !8

7 years agoMerge branch 'bug-1489866' into 'rh-luminous'
Vasu Kulkarni [Wed, 11 Apr 2018 21:13:42 +0000 (02:43 +0530)]
Merge branch 'bug-1489866' into 'rh-luminous'

Bug 1489866

See merge request !10

7 years agoqa: ignore bad backtrace cluster wrn
Patrick Donnelly [Tue, 13 Feb 2018 22:12:53 +0000 (14:12 -0800)]
qa: ignore bad backtrace cluster wrn

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoqa/cephfs: Add tests to validate scrub functionality
Douglas Fuller [Wed, 24 Jan 2018 16:11:40 +0000 (11:11 -0500)]
qa/cephfs: Add tests to validate scrub functionality

Add tests to ensure the scrub operation is not adversly affected
by certain metadata pathologies.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
7 years agoAdd CEPH-9873 test
Sidhant Agrawal [Tue, 10 Apr 2018 10:58:19 +0000 (16:28 +0530)]
Add CEPH-9873 test

7 years agoAdd CEPH-9825 test
Sidhant Agrawal [Tue, 10 Apr 2018 10:56:00 +0000 (16:26 +0530)]
Add CEPH-9825 test

7 years agoAdd rbd delayed deletion tests
Sidhant Agrawal [Tue, 10 Apr 2018 10:53:46 +0000 (16:23 +0530)]
Add rbd delayed deletion tests

7 years agoMerge branch 'wip-os-install' into 'rh-luminous'
Vasu Kulkarni [Tue, 10 Apr 2018 04:23:09 +0000 (09:53 +0530)]
Merge branch 'wip-os-install' into 'rh-luminous'

added rbd_os_install.yaml in smoke

Signed-off-by: Sidhant Agrawal <sagrawal@redhat.com>
See merge request !7

7 years agoadd default timeout of 600 seconds for pg to be in clean state
Vasu Kulkarni [Tue, 10 Apr 2018 00:22:11 +0000 (17:22 -0700)]
add default timeout of 600 seconds for pg to be in clean state

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
7 years agotest: make the LibCephFS.ShutdownRacer test even more thrashy
Jeff Layton [Wed, 11 Oct 2017 15:16:39 +0000 (11:16 -0400)]
test: make the LibCephFS.ShutdownRacer test even more thrashy

Have each thread do the startup and shutdown in a loop for a specified
number of times.

Tracker: http://tracker.ceph.com/issues/21512
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit f877e365a42f8f34af6fc3382593ef09101a50d0)

7 years agolockdep: free_ids and lock_ref hashes must be truly global
Jeff Layton [Wed, 11 Oct 2017 15:16:38 +0000 (11:16 -0400)]
lockdep: free_ids and lock_ref hashes must be truly global

It's possible for the teardown of g_lockdep_ceph_ctx to occur, followed
by a new context being registered as the lockdep context. When that
occurs, we can end up reusing lock id's that were previously handed out
to consumers. We need for those IDs to be persistent across lockdep
enablement and disablement.

Make both the free_ids table, and the lock_refs map persistent across
lockdep_unregister_ceph_context and lockdep_register_ceph_context cycles.
Entries in those tables will only be deleted by the destruction of the
associated mutex.

When lockdep_unregister is called, do the refcounting like we normally
would, but only clear out the state when the lockid is registered
in the lock_names hash.

Finally, we do still need to handle the case where g_lockdep has gone
false even when there are outstanding references after the decrement.
Only log the message if that's not the case.

With this, we can deal with the case of multiple clients enabling and
disabling lockdep in an unsynchronized way.

Tracker: http://tracker.ceph.com/issues/21512
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 82fe4e94bcb706434f9215bc8405ff60770cf14f)

7 years agocommon: add a clear_g_str_vec() function to clear g_str_vec
Jeff Layton [Wed, 11 Oct 2017 15:16:38 +0000 (11:16 -0400)]
common: add a clear_g_str_vec() function to clear g_str_vec

Prefix str_vec and str_vec_lock with "g_" to make it clear that they are
truly global values. Add a new clear_g_str_vec function to allow it to
be explicitly cleaned out by callers that need that functionality
(mostly testcase for now).

Tracker: http://tracker.ceph.com/issues/21512
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit f72ace0a5666db49bb390ff4ec6808e6e55a779f)

7 years agocommon: make it safe to call env_to_vec multiple times
Jeff Layton [Wed, 11 Oct 2017 15:16:38 +0000 (11:16 -0400)]
common: make it safe to call env_to_vec multiple times

After it has been called once and we have outstanding CephContexts with
pointers into str_vec, we can't call get_str_vec on it again.

Add a static local mutex to protect access to str_vec.

Tracker: http://tracker.ceph.com/issues/21512
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 90e898de5f4b8d22f1a6d0e2aedf9e8c50cf72d5)

7 years agolockdep: fix Mutex tests to disable lockdep properly
Jeff Layton [Thu, 14 Sep 2017 13:28:34 +0000 (09:28 -0400)]
lockdep: fix Mutex tests to disable lockdep properly

...and make g_lockdep a bool.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 0cd0bd778a6149d3e2fe657060e223be3675aed7)

7 years agoclient: test shutdown race
Jeff Layton [Thu, 14 Sep 2017 13:28:33 +0000 (09:28 -0400)]
client: test shutdown race

Spawn threads that bring up a bunch of ceph_mounts with individual
CephContext objects, and then tear them down in parallel.

Tracker: http://tracker.ceph.com/issues/20988
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 8252f3168a1bc90add7f7515c549e9eecffa54b7)

7 years agoclient: fix signed/unsigned comparison compiler warning
Jeff Layton [Thu, 14 Sep 2017 16:22:52 +0000 (12:22 -0400)]
client: fix signed/unsigned comparison compiler warning

The build says:

src/client/Client.cc: In member function ‘void Client::trim_caps(MetaSession*, int)’:
src/client/Client.cc:4121:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (s->caps.size() > max)
       ~~~~~~~~~~~~~~~^~~~~

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit e057b6770b5545f327990cbaf17e7a391e3e8a50)

7 years agolockdep: fix races with concurrent lockdep teardown
Jeff Layton [Thu, 14 Sep 2017 13:28:34 +0000 (09:28 -0400)]
lockdep: fix races with concurrent lockdep teardown

If the cct is unregistered while other threads are flogging mutexes,
then we can hit all sorts of bugs. Ensure that we handle that
situation sanely, by checking that g_lockdep is still set after
we take the lockdep_mutex.

Also, remove an assertion from lockdep_unregister, and just turn it into
an immediate return. It's possible to have a call to
lockdep_unregister_ceph_context, and then a call to
lockdep_register_ceph_context while a mutex is being held by another
task.

In that case, it's possible the lock does not exist in the map
when we go to unregister it. That's not a bug though, just a natural
consequence of that series of actions.

Tracker: http://tracker.ceph.com/issues/20988
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 75f41a95782a7ee83a243d91963e8d591402f8a6)

7 years agolockdep: don't take lockdep_mutex twice for new lock registrations
Jeff Layton [Thu, 14 Sep 2017 13:28:34 +0000 (09:28 -0400)]
lockdep: don't take lockdep_mutex twice for new lock registrations

We can do it under the same mutex, which should be more efficient.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 01863bb6fb62ea89aa3e21e43bf4dc4f3da9cfcb)

7 years agoqa/suites/smoke/basic/tasks:added rbd_os_install.yaml
Sidhant Agrawal [Fri, 6 Apr 2018 08:42:28 +0000 (14:12 +0530)]
qa/suites/smoke/basic/tasks:added rbd_os_install.yaml
Signed-off-by: Sidhant Agrawal <sagrawal@redhat.com>
7 years agoMerge branch 'fix_rgw_tests_path' into 'rh-luminous'
Vasu Kulkarni [Thu, 29 Mar 2018 16:12:00 +0000 (21:42 +0530)]
Merge branch 'fix_rgw_tests_path' into 'rh-luminous'

Fix rgw tests path

corrected RGW v1 tests path in RGW system tests , multisite tests and NFS Ganesha tests.
fixed missing version no in nfs ganesha task.

See merge request !6

7 years agocorrected nfs-ganesha test run path and fixed version if not found error
rakesh [Thu, 29 Mar 2018 09:30:19 +0000 (15:00 +0530)]
corrected nfs-ganesha test run path and fixed version if not found error

7 years agocorrected rgw v1 tests path
rakesh [Thu, 29 Mar 2018 09:25:14 +0000 (14:55 +0530)]
corrected rgw v1 tests path

7 years agoMerge branch 'wip-rados-reorg' into 'rh-luminous'
Vasu Kulkarni [Fri, 16 Mar 2018 17:42:36 +0000 (23:12 +0530)]
Merge branch 'wip-rados-reorg' into 'rh-luminous'

Rados reorg for downstream-basic suit

See merge request !5