]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoqa/tests: removed ubuntu 14.04 from kraken supported distro 28759/head
Yuri Weinstein [Wed, 26 Jun 2019 21:10:55 +0000 (14:10 -0700)]
qa/tests: removed ubuntu 14.04 from kraken supported distro

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #28441 from yuriw/wip-yuriw-40194-kraken
Yuri Weinstein [Sun, 9 Jun 2019 22:37:46 +0000 (15:37 -0700)]
Merge pull request #28441 from yuriw/wip-yuriw-40194-kraken

test/librbd: updated test_notify to handle new release lock semantics

6 years agotest/librbd: updated test_notify to handle new release lock semantics 28441/head
Jason Dillaman [Thu, 26 Oct 2017 14:52:16 +0000 (10:52 -0400)]
test/librbd: updated test_notify to handle new release lock semantics

Fixes: http://tracker.ceph.com/issues/21912
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 66d8a4443687f6ad7295c94065272f443ac3a9c3)

7 years agoMerge pull request #20413 from smithfarm/wip-22611-kraken
Nathan Cutler [Tue, 13 Feb 2018 22:18:12 +0000 (23:18 +0100)]
Merge pull request #20413 from smithfarm/wip-22611-kraken

tests: client-upgrade-kraken: upgrade ceph-test along with other ceph packages

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
7 years agotests: fix factual errors in comments 20413/head
Nathan Cutler [Tue, 13 Feb 2018 06:58:24 +0000 (07:58 +0100)]
tests: fix factual errors in comments

Apparently, the comments were not updated when the test YAML was carried
forward from jewel.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agotests: client-upgrade-kraken: upgrade ceph-test, too
Nathan Cutler [Mon, 12 Feb 2018 22:21:10 +0000 (23:21 +0100)]
tests: client-upgrade-kraken: upgrade ceph-test, too

Upgrade test was failing because, in luminous and above, three files were moved
from ceph-test to ceph-{base,mon,osd}. When the latter packages are upgraded,
they conflict with ceph-test, which was not being upgraded.

Since it is no longer necessary to avoid upgrading ceph-test, and since
b07aa210aa0ede54ffc3dbe49e334bd51a8f6342 tied ceph-test to the ceph-common of
the exact same version, this bug could be fixed by removing ceph-test from
the list of packages to be excluded from the upgrade.

Fixes: https://tracker.ceph.com/issues/22558
Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #18143 from shinobu-x/sk-kraken_rbd-openstack_rst
Sage Weil [Fri, 17 Nov 2017 14:48:15 +0000 (08:48 -0600)]
Merge pull request #18143 from shinobu-x/sk-kraken_rbd-openstack_rst

docclient.cinder requires rwx permission against images pool

7 years agoMerge pull request #18559 from dillaman/wip-21909-kraken
Jason Dillaman [Fri, 27 Oct 2017 15:44:28 +0000 (11:44 -0400)]
Merge pull request #18559 from dillaman/wip-21909-kraken

kraken: qa/suites: client-upgrade librbd notify tests require additional features

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #18549 from dillaman/wip-21910-kraken
Jason Dillaman [Fri, 27 Oct 2017 15:43:55 +0000 (11:43 -0400)]
Merge pull request #18549 from dillaman/wip-21910-kraken

kraken: test/librbd: fixed metadata tests under upgrade scenarios

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agoqa/suites: client-upgrade librbd notify tests require additional features 18559/head
Jason Dillaman [Thu, 26 Oct 2017 14:28:19 +0000 (10:28 -0400)]
qa/suites: client-upgrade librbd notify tests require additional features

Fixes: http://tracker.ceph.com/issues/21909
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest/librbd: fixed metadata tests under upgrade scenarios 18549/head
Jason Dillaman [Thu, 26 Oct 2017 02:03:17 +0000 (22:03 -0400)]
test/librbd: fixed metadata tests under upgrade scenarios

Fixes: http://tracker.ceph.com/issues/21910
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agodoc/rbd/rbd-openstack.rst: ``client.cinder`` requires ``rwx`` permission against... 18143/head
Shinobu Kinjo [Fri, 6 Oct 2017 01:08:21 +0000 (10:08 +0900)]
doc/rbd/rbd-openstack.rst: ``client.cinder`` requires ``rwx`` permission against images pool otherwise snapshot process fails.

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
7 years agoMerge pull request #18086 from ceph/wip-yuriw-fix-clients-kraken
Jason Dillaman [Tue, 3 Oct 2017 17:09:04 +0000 (13:09 -0400)]
Merge pull request #18086 from ceph/wip-yuriw-fix-clients-kraken

tests - Added suit to test upgraded clients against kraken ceph clusters

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agotests - Added suit to test upgraded clients against kraken ceph clusters 18086/head
Yuri Weinstein [Mon, 2 Oct 2017 19:53:58 +0000 (12:53 -0700)]
tests - Added suit to test upgraded clients against kraken ceph clusters

We need to run this suite using suite-branch option in
order to use kraken workloads agains ceph cluster luminous+ branches

Added openstack.yaml bits

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #17648 from dillaman/wip-21344
Jason Dillaman [Tue, 12 Sep 2017 20:05:07 +0000 (16:05 -0400)]
Merge pull request #17648 from dillaman/wip-21344

kraken: qa/workunits/rbd: relax greps to support upgrade formatting change

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agoqa/workunits/rbd: relax greps to support upgrade formatting change 17648/head
Jason Dillaman [Thu, 7 Sep 2017 12:55:27 +0000 (08:55 -0400)]
qa/workunits/rbd: relax greps to support upgrade formatting change

Fixes: http://tracker.ceph.com/issues/21181
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 273c84578b06905229a7c6eae7b1a12bbe60de95)

Conflicts:
qa/workunits/rbd/import_export.sh: trivial resolution

7 years agoMerge pull request #17553 from dillaman/wip-21282
Jason Dillaman [Fri, 8 Sep 2017 18:05:07 +0000 (14:05 -0400)]
Merge pull request #17553 from dillaman/wip-21282

kraken: test/cls_rbd: mask newer feature bits to support upgrade tests

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agotest/cls_rbd: mask newer feature bits to support upgrade tests 17553/head
Jason Dillaman [Wed, 6 Sep 2017 01:37:16 +0000 (21:37 -0400)]
test/cls_rbd: mask newer feature bits to support upgrade tests

Fixes: http://tracker.ceph.com/issues/21217
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit aeb8f29d21625f3570e2f3e6dd26594d1a6df810)

7 years ago11.2.1 v11.2.1
Jenkins Build Slave User [Tue, 8 Aug 2017 19:07:05 +0000 (19:07 +0000)]
11.2.1

7 years agoMerge pull request #14702 from ceph/wip-bp-kraken-systemd
Nathan Cutler [Wed, 2 Aug 2017 13:08:48 +0000 (15:08 +0200)]
Merge pull request #14702 from ceph/wip-bp-kraken-systemd

kraken: qa/tasks: misc systemd updates

Reviewed-by: Nathan Cutler <ncutler@suse.com
7 years agoMerge pull request #15509 from ceph/wip-ceph-disk-fix-kraken
Nathan Cutler [Wed, 2 Aug 2017 05:55:48 +0000 (07:55 +0200)]
Merge pull request #15509 from ceph/wip-ceph-disk-fix-kraken

kraken: selinux: Do parallel relabel on package install

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #14612 from smithfarm/wip-19651
Nathan Cutler [Tue, 1 Aug 2017 18:19:15 +0000 (20:19 +0200)]
Merge pull request #14612 from smithfarm/wip-19651

tests: backport Sage's fixes to qa/suites/upgrade/jewel-x

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16298 from smithfarm/wip-20517-kraken
Nathan Cutler [Tue, 1 Aug 2017 12:39:37 +0000 (14:39 +0200)]
Merge pull request #16298 from smithfarm/wip-20517-kraken

kraken: rbd: cli: map with cephx disabled results in error message

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16175 from smithfarm/wip-20263-kraken
Nathan Cutler [Tue, 1 Aug 2017 12:17:40 +0000 (14:17 +0200)]
Merge pull request #16175 from smithfarm/wip-20263-kraken

kraken: rgw: datalog trim can't work as expected

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #15985 from prallabh/kraken
Nathan Cutler [Tue, 1 Aug 2017 12:16:54 +0000 (14:16 +0200)]
Merge pull request #15985 from prallabh/kraken

kraken: rgw: Custom data header support

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #16186 from smithfarm/wip-20264-kraken
Nathan Cutler [Tue, 1 Aug 2017 12:15:33 +0000 (14:15 +0200)]
Merge pull request #16186 from smithfarm/wip-20264-kraken

kraken: rbd: [cli] ensure positional arguments exist before casting

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16342 from dillaman/wip-20630-kraken
Nathan Cutler [Tue, 1 Aug 2017 12:12:58 +0000 (14:12 +0200)]
Merge pull request #16342 from dillaman/wip-20630-kraken

kraken: tests: qa/tasks: rbd-mirror daemon not properly run in foreground mode

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #16290 from smithfarm/wip-19759-kraken
Nathan Cutler [Tue, 1 Aug 2017 11:14:09 +0000 (13:14 +0200)]
Merge pull request #16290 from smithfarm/wip-19759-kraken

kraken: rgw: multisite: after CreateBucket is forwarded to master, local bucket may use different value for bucket index shards

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16180 from smithfarm/wip-20347-kraken
Nathan Cutler [Tue, 1 Aug 2017 11:12:37 +0000 (13:12 +0200)]
Merge pull request #16180 from smithfarm/wip-20347-kraken

kraken: rgw: meta sync thread crash at RGWMetaSyncShardCR

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16190 from smithfarm/wip-20026-kraken
Nathan Cutler [Tue, 1 Aug 2017 10:47:45 +0000 (12:47 +0200)]
Merge pull request #16190 from smithfarm/wip-20026-kraken

kraken: mds: unresponsive when truncating a very large file

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #15526 from badone/wip-async-sleep-timer-fix-kraken
Nathan Cutler [Tue, 1 Aug 2017 09:08:47 +0000 (11:08 +0200)]
Merge pull request #15526 from badone/wip-async-sleep-timer-fix-kraken

kraken: osd: Implement asynchronous scrub sleep

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16137 from smithfarm/wip-20024-kraken
Nathan Cutler [Mon, 31 Jul 2017 14:47:45 +0000 (16:47 +0200)]
Merge pull request #16137 from smithfarm/wip-20024-kraken

kraken: tests: HEALTH_WARN pool rbd pg_num 244 > pgp_num 224 during upgrade

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #14734 from smithfarm/wip-19670-kraken
Nathan Cutler [Mon, 31 Jul 2017 13:31:12 +0000 (15:31 +0200)]
Merge pull request #14734 from smithfarm/wip-19670-kraken

kraken: build/ops: logrotate is missing from debian package (kraken, master)

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #16166 from smithfarm/wip-19840-kraken
Nathan Cutler [Mon, 31 Jul 2017 13:21:02 +0000 (15:21 +0200)]
Merge pull request #16166 from smithfarm/wip-19840-kraken

kraken: rgw: civetweb frontend segfaults in Luminous

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
7 years agoqa/suites/upgrade/jewel-x: do not thrash cluster full during upgrade 14612/head
Sage Weil [Wed, 8 Mar 2017 03:35:02 +0000 (22:35 -0500)]
qa/suites/upgrade/jewel-x: do not thrash cluster full during upgrade

The mon command varies.

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

7 years agoqa/suites/upgrade/jewel-x/parallel: expand workload matrix
Sage Weil [Mon, 6 Mar 2017 20:16:13 +0000 (15:16 -0500)]
qa/suites/upgrade/jewel-x/parallel: expand workload matrix

These should run independently against a racing upgrade.

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

7 years agoqa/suites/upgrade/jewel-x/stress-split-erasure-code: box thrashosds
Sage Weil [Mon, 6 Mar 2017 19:11:53 +0000 (14:11 -0500)]
qa/suites/upgrade/jewel-x/stress-split-erasure-code: box thrashosds

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

7 years agoqa/suites/upgrade/jewel-x/stress-split: finish client.0 upgrade too
Sage Weil [Mon, 6 Mar 2017 19:07:53 +0000 (14:07 -0500)]
qa/suites/upgrade/jewel-x/stress-split: finish client.0 upgrade too

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

7 years agoqa/suites/upgrade/jewel-x: remove kraken references
Sage Weil [Sun, 5 Mar 2017 19:14:40 +0000 (14:14 -0500)]
qa/suites/upgrade/jewel-x: remove kraken references

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

7 years agoqa/suite/upgrade/jewel-x: drop x86 ec test
Sage Weil [Thu, 2 Mar 2017 01:01:20 +0000 (19:01 -0600)]
qa/suite/upgrade/jewel-x: drop x86 ec test

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

7 years agoqa/suites/upgrade/jewel-x: fix upgrade order; fix split grouping
Sage Weil [Mon, 20 Feb 2017 19:38:49 +0000 (14:38 -0500)]
qa/suites/upgrade/jewel-x: fix upgrade order; fix split grouping

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

Conflicts:
    stress-split/6-kraken.yaml (do not delete)
    stress-split/6-luminous.yaml (do not add)
    stress-split-erasure-code/6-kraken.yaml (do not delete)
    stress-split-erasure-code/6-luminous.yaml (do not add)

7 years agoqa/suites/upgrade/jewel-x/parallel: upgrade mons before osds
Sage Weil [Tue, 7 Mar 2017 00:01:12 +0000 (19:01 -0500)]
qa/suites/upgrade/jewel-x/parallel: upgrade mons before osds

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

7 years agoqa/suites/upgrade/jewel-x/parallel: fix upgrade to luminous
Sage Weil [Wed, 1 Mar 2017 19:58:07 +0000 (13:58 -0600)]
qa/suites/upgrade/jewel-x/parallel: fix upgrade to luminous

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

Conflicts:
   4-kraken.yaml (do not delete)
   4-luminous.yaml (do not add)

7 years agoMerge pull request #13871 from smithfarm/wip-19162-kraken
Nathan Cutler [Mon, 31 Jul 2017 10:32:45 +0000 (12:32 +0200)]
Merge pull request #13871 from smithfarm/wip-19162-kraken

kraken: rgw: rgw_file: fix marker computation

7 years agoMerge pull request #16133 from smithfarm/wip-18378-kraken
Nathan Cutler [Mon, 31 Jul 2017 10:26:47 +0000 (12:26 +0200)]
Merge pull request #16133 from smithfarm/wip-18378-kraken

kraken: msg/simple/SimpleMessenger.cc: 239: FAILED assert(!cleared)

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16134 from smithfarm/wip-19340-kraken
Nathan Cutler [Mon, 31 Jul 2017 10:23:08 +0000 (12:23 +0200)]
Merge pull request #16134 from smithfarm/wip-19340-kraken

kraken: An OSD was seen getting ENOSPC even with osd_failsafe_full_ratio passed

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoosdc/Filer: truncate large file party by party 16190/head
Yan, Zheng [Tue, 25 Apr 2017 08:21:24 +0000 (16:21 +0800)]
osdc/Filer: truncate large file party by party

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

Conflicts:
src/osdc/Filer.h
src/osdc/Filer.cc
src/mds/MDCache.cc

7 years agoMerge pull request #16131 from smithfarm/wip-swift-kraken
Nathan Cutler [Mon, 31 Jul 2017 09:58:20 +0000 (11:58 +0200)]
Merge pull request #16131 from smithfarm/wip-swift-kraken

tests: swift.py: clone the ceph-jewel branch

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoosd: Move scrub sleep timer to osdservice 15526/head
Brad Hubbard [Mon, 22 May 2017 03:21:25 +0000 (13:21 +1000)]
osd: Move scrub sleep timer to osdservice

PR 14886 erroneously creates a scrub sleep timer for every pg resulting
in a proliferation of threads. Move the timer to the osd service so
there can be only one.

Fixes: http://tracker.ceph.com/issues/19986
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit f110a82437df79dc20207d296e8229fc0e9ce18b)

7 years agoosd: Implement asynchronous scrub sleep
Brad Hubbard [Mon, 24 Apr 2017 04:10:47 +0000 (14:10 +1000)]
osd: Implement asynchronous scrub sleep

Rather than blocking the main op queue just do an async sleep.

Fixes: http://tracker.ceph.com/issues/19497
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit 7af3e86c2e4992db35637864b83832535c94d0e6)

7 years agoMerge pull request #16493 from smithfarm/wip-suppress-upgrade-fail
Nathan Cutler [Tue, 25 Jul 2017 05:14:37 +0000 (07:14 +0200)]
Merge pull request #16493 from smithfarm/wip-suppress-upgrade-fail

tests: run certain upgrade/jewel-x tests on Xenial only

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #14597 from gregsfortytwo/wip-kraken-snaptrim
Nathan Cutler [Tue, 25 Jul 2017 05:13:48 +0000 (07:13 +0200)]
Merge pull request #14597 from gregsfortytwo/wip-kraken-snaptrim

kraken: core: improve control and throttling of the snap trimmer

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agotests: upgrade/jewel-x/parallel: drop duplicate kraken.yaml 16493/head
Nathan Cutler [Sat, 22 Jul 2017 08:13:22 +0000 (10:13 +0200)]
tests: upgrade/jewel-x/parallel: drop duplicate kraken.yaml

This yaml file has the effect of re-running "ceph osd set require_kraken_osds"
at the very end of the test. Drop it.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agotests: run certain upgrade/jewel-x tests on Xenial only
Nathan Cutler [Fri, 21 Jul 2017 22:06:48 +0000 (00:06 +0200)]
tests: run certain upgrade/jewel-x tests on Xenial only

This PR drops two upgrade/jewel-x test cases that are not compatible with
https://github.com/ceph/ceph/pull/14597

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agotests: swift.py: clone the ceph-jewel branch 16131/head
Nathan Cutler [Sun, 25 Jun 2017 07:27:47 +0000 (09:27 +0200)]
tests: swift.py: clone the ceph-jewel branch

The master branch of ceph/swift.git contains tests that are incompatible with
Jewel and Hammer. The ceph-jewel branch omits these tests.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit a86ce728954a765797ce634025d43650d990e480)

Conflicts:
    qa/tasks/swift.py: clone ceph-kraken branch instead of ceph-jewel

7 years agoMerge pull request #16111 from smithfarm/wip-20497-kraken
Nathan Cutler [Fri, 21 Jul 2017 06:22:25 +0000 (08:22 +0200)]
Merge pull request #16111 from smithfarm/wip-20497-kraken

kraken: tests: insufficient timeout in radosbench task

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
7 years agorgw: lease_stack: use reset method instead of assignment 16180/head
Nathan Cutler [Thu, 6 Jul 2017 18:17:49 +0000 (20:17 +0200)]
rgw: lease_stack: use reset method instead of assignment

It seems that the intent of 45877d38fd9a385b2f8b13e90be94d784898b0b3 was to
change all instances of "lease_stack = ..." to "lease_stack.reset(...)", but
this one was missed.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit fc425afeb2e2a6ba3c98c612b3977aea619c9f73)

Conflicts:
src/rgw/rgw_sync.cc (trivial)

8 years agoMerge pull request #16178 from smithfarm/wip-20268-kraken
Nathan Cutler [Thu, 20 Jul 2017 14:38:27 +0000 (16:38 +0200)]
Merge pull request #16178 from smithfarm/wip-20268-kraken

kraken: rgw: get wrong content when download object with specific range when compression was enabled

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agorpm: Fix undefined FIRST_ARG 15509/head
Boris Ranto [Fri, 7 Jul 2017 10:37:55 +0000 (12:37 +0200)]
rpm: Fix undefined FIRST_ARG

If FIRST_ARG is undefined, the rpms will show an error on upgrade
because the condition in the postun script gets broken.

This was a regression introduced by commit for issue 20077 that moved
ceph-disk unit files to ceph-base.

Fixes: http://tracker.ceph.com/issues/20077
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 562816914ccca8e4e7d9c31f333db2f0da6f7c99)

8 years agoselinux: Install ceph-base before ceph-selinux
Boris Ranto [Mon, 5 Jun 2017 16:44:18 +0000 (18:44 +0200)]
selinux: Install ceph-base before ceph-selinux

We need to have ceph-base installed before ceph-selinux to use ceph-disk
in %post script. The default ordering is random and so the installation
randomly failed to relabel the files.

Fixes: http://tracker.ceph.com/issues/20184
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit e69086645d3411a2ed781609b670eb5f16ac4810)
Conflicts:
ceph.spec.in: No _epoch_prefix in kraken.

8 years agoMerge pull request #16114 from smithfarm/wip-20500-kraken
Nathan Cutler [Wed, 19 Jul 2017 21:09:32 +0000 (23:09 +0200)]
Merge pull request #16114 from smithfarm/wip-20500-kraken

kraken: cephfs: src/test/pybind/test_cephfs.py fails

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16108 from smithfarm/wip-19763-kraken
Nathan Cutler [Wed, 19 Jul 2017 21:03:19 +0000 (23:03 +0200)]
Merge pull request #16108 from smithfarm/wip-19763-kraken

kraken: cephfs: non-local quota changes not visible until some IO is done

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16107 from smithfarm/wip-19710-kraken
Nathan Cutler [Wed, 19 Jul 2017 21:02:09 +0000 (23:02 +0200)]
Merge pull request #16107 from smithfarm/wip-19710-kraken

kraken: mds: enable daemon to start when session ino info is corrupt

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16106 from smithfarm/wip-19680-kraken
Nathan Cutler [Wed, 19 Jul 2017 21:01:01 +0000 (23:01 +0200)]
Merge pull request #16106 from smithfarm/wip-19680-kraken

kraken: mds: damage reporting by ino number is useless

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16105 from smithfarm/wip-19678-kraken
Nathan Cutler [Wed, 19 Jul 2017 21:00:13 +0000 (23:00 +0200)]
Merge pull request #16105 from smithfarm/wip-19678-kraken

kraken: cephfs: ceph-fuse does not recover after lost connection to MDS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16104 from smithfarm/wip-19676-kraken
Nathan Cutler [Wed, 19 Jul 2017 20:58:56 +0000 (22:58 +0200)]
Merge pull request #16104 from smithfarm/wip-19676-kraken

kraken: cephfs: Test failure: test_data_isolated (tasks.cephfs.test_volume_client.TestVolumeClient)

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16103 from smithfarm/wip-19674-kraken
Nathan Cutler [Wed, 19 Jul 2017 20:56:04 +0000 (22:56 +0200)]
Merge pull request #16103 from smithfarm/wip-19674-kraken

kraken: cephfs: mds is crushed, after I set about 400 64KB xattr kv pairs to a file

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16102 from smithfarm/wip-19672-kraken
Nathan Cutler [Wed, 19 Jul 2017 20:55:17 +0000 (22:55 +0200)]
Merge pull request #16102 from smithfarm/wip-19672-kraken

kraken: mds: assert fail when shutting down

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16101 from smithfarm/wip-19669-kraken
Nathan Cutler [Wed, 19 Jul 2017 20:54:07 +0000 (22:54 +0200)]
Merge pull request #16101 from smithfarm/wip-19669-kraken

kraken: mds: daemon goes readonly writing backtrace for a file whose data pool has been removed

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16100 from smithfarm/wip-19667-kraken
Nathan Cutler [Wed, 19 Jul 2017 20:53:11 +0000 (22:53 +0200)]
Merge pull request #16100 from smithfarm/wip-19667-kraken

kraken: cephfs: mount point break off problem after mds switch

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16099 from smithfarm/wip-19664-kraken
Nathan Cutler [Wed, 19 Jul 2017 20:05:12 +0000 (22:05 +0200)]
Merge pull request #16099 from smithfarm/wip-19664-kraken

kraken: mds: C_MDSInternalNoop::complete doesn't free itself

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #14998 from jan--f/wip-19845-kraken
Nathan Cutler [Wed, 19 Jul 2017 20:03:52 +0000 (22:03 +0200)]
Merge pull request #14998 from jan--f/wip-19845-kraken

kraken: cephfs: normalize file open flags internally used by cephfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #16168 from smithfarm/wip-20031-kraken
Nathan Cutler [Wed, 19 Jul 2017 14:51:05 +0000 (16:51 +0200)]
Merge pull request #16168 from smithfarm/wip-20031-kraken

kraken: rgw: Swift's at-root features (/crossdomain.xml, /info, /healthcheck) are broken

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #16164 from smithfarm/wip-19777-kraken
Nathan Cutler [Wed, 19 Jul 2017 14:15:21 +0000 (16:15 +0200)]
Merge pull request #16164 from smithfarm/wip-19777-kraken

kraken: rgw: swift: disable revocation thread under certain circumstances

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
8 years agoMerge pull request #16191 from smithfarm/wip-20028-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:43:16 +0000 (15:43 +0200)]
Merge pull request #16191 from smithfarm/wip-20028-kraken

kraken: cephfs: Deadlock on two ceph-fuse clients accessing the same file

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #16183 from smithfarm/wip-20405-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:32:52 +0000 (15:32 +0200)]
Merge pull request #16183 from smithfarm/wip-20405-kraken

kraken: rgw: Lifecycle thread will still handle the bucket even if it has been removed

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
8 years agoMerge pull request #16181 from smithfarm/wip-20363-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:31:50 +0000 (15:31 +0200)]
Merge pull request #16181 from smithfarm/wip-20363-kraken

kraken: rgw: VersionIdMarker and NextVersionIdMarker are not returned when listing object versions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16179 from smithfarm/wip-20269-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:31:14 +0000 (15:31 +0200)]
Merge pull request #16179 from smithfarm/wip-20269-kraken

kraken: rgw: wrong object size after copy of uncompressed multipart objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16174 from smithfarm/wip-20261-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:30:33 +0000 (15:30 +0200)]
Merge pull request #16174 from smithfarm/wip-20261-kraken

kraken: rgw: 'radosgw-admin usage show' listing 0 bytes_sent/received

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16173 from smithfarm/wip-20156-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:29:57 +0000 (15:29 +0200)]
Merge pull request #16173 from smithfarm/wip-20156-kraken

kraken: fix: rgw crashed caused by shard id out of range when listing data log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16165 from smithfarm/wip-19839-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:29:22 +0000 (15:29 +0200)]
Merge pull request #16165 from smithfarm/wip-19839-kraken

kraken: rgw: reduce log level of 'storing entry at' in cls_log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16163 from smithfarm/wip-19766-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:28:30 +0000 (15:28 +0200)]
Merge pull request #16163 from smithfarm/wip-19766-kraken

kraken: rgw: when uploading the objects continuesly in the versioned bucket, some objects will not sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16162 from smithfarm/wip-19725-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:27:38 +0000 (15:27 +0200)]
Merge pull request #16162 from smithfarm/wip-19725-kraken

kraken: rgw: S3 v4 authentication issue with X-Amz-Expires

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16161 from smithfarm/wip-19614-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:25:48 +0000 (15:25 +0200)]
Merge pull request #16161 from smithfarm/wip-19614-kraken

kraken: multisite: rest api fails to decode large period on 'period commit'

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16139 from smithfarm/wip-20147-kraken
Nathan Cutler [Wed, 19 Jul 2017 13:24:59 +0000 (15:24 +0200)]
Merge pull request #16139 from smithfarm/wip-20147-kraken

kraken: rgw: 'gc list --include-all' command infinite loop the first 1000 items

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16096 from smithfarm/wip-19336-kraken
Nathan Cutler [Wed, 19 Jul 2017 12:29:31 +0000 (14:29 +0200)]
Merge pull request #16096 from smithfarm/wip-19336-kraken

kraken: rbd: refuse to use an ec pool that doesn't support overwrites

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #16097 from smithfarm/wip-19609-kraken
Nathan Cutler [Wed, 19 Jul 2017 12:28:08 +0000 (14:28 +0200)]
Merge pull request #16097 from smithfarm/wip-19609-kraken

kraken: tests: [librados_test_stub] cls_cxx_map_get_XYZ methods don't return correct value

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #16184 from smithfarm/wip-20154-kraken
Nathan Cutler [Wed, 19 Jul 2017 12:27:11 +0000 (14:27 +0200)]
Merge pull request #16184 from smithfarm/wip-20154-kraken

kraken: rbd: Potential IO hang if image is flattened while read request is in-flight

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #16187 from smithfarm/wip-20266-kraken
Nathan Cutler [Wed, 19 Jul 2017 12:24:05 +0000 (14:24 +0200)]
Merge pull request #16187 from smithfarm/wip-20266-kraken

kraken: rbd: [api] is_exclusive_lock_owner shouldn't return -EBUSY

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #16195 from dillaman/wip-20351-kraken
Nathan Cutler [Wed, 19 Jul 2017 12:22:57 +0000 (14:22 +0200)]
Merge pull request #16195 from dillaman/wip-20351-kraken

kraken: tests: test/librbd: decouple ceph_test_librbd_api from libceph-common

Reviewed-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #15486 from dillaman/wip-20022-kraken
Nathan Cutler [Wed, 19 Jul 2017 10:56:47 +0000 (12:56 +0200)]
Merge pull request #15486 from dillaman/wip-20022-kraken

kraken: rbd-mirror: ensure missing images are re-synced when detected

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #14540 from smithfarm/wip-18910-kraken
Nathan Cutler [Wed, 19 Jul 2017 10:50:22 +0000 (12:50 +0200)]
Merge pull request #14540 from smithfarm/wip-18910-kraken

kraken: rbd-nbd: check /sys/block/nbdX/size to ensure kernel mapped correctly

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #16140 from smithfarm/wip-20271-kraken
Nathan Cutler [Wed, 19 Jul 2017 06:05:11 +0000 (08:05 +0200)]
Merge pull request #16140 from smithfarm/wip-20271-kraken

kraken: tests: LibRadosMiscConnectFailure.ConnectFailure hang

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16112 from smithfarm/wip-20499-kraken
Nathan Cutler [Tue, 18 Jul 2017 21:14:59 +0000 (23:14 +0200)]
Merge pull request #16112 from smithfarm/wip-20499-kraken

kraken: tests: ObjectStore/StoreTest.OnodeSizeTracking/2 fails on bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14960 from yehudasa/wip-19704
Yehuda Sadeh [Tue, 18 Jul 2017 20:58:14 +0000 (13:58 -0700)]
Merge pull request #14960 from yehudasa/wip-19704

kraken: civetweb: move to post 1.8 version

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoosd: do not default-abort on leaked pg refs 14597/head
Greg Farnum [Mon, 10 Jul 2017 20:33:26 +0000 (13:33 -0700)]
osd: do not default-abort on leaked pg refs

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 4caf2df0c380a1281db9509b3feb342705512b58)

8 years agoosd: shutdown our reserver_finisher earlier in the process
Greg Farnum [Fri, 26 May 2017 05:14:38 +0000 (22:14 -0700)]
osd: shutdown our reserver_finisher earlier in the process

This finisher thread has a lot of callbacks which can hold PGRefs. Make
sure we drain them out before checking that all the PGs have finished
and have no outstanding references.

Moving this should be safe; we've already stopped the op thread et al
and the only things still running are the OSDService's objecter_finisher,
recovery_request_timer, and snap_sleep_timer (which has definitely been emptied
by the time we get here as it's synchronously cleared out on PG shutdown).

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 66ea9c1f66ae31035e62bd4335b08948b1e8e5e2)

8 years agoosd: Reset() the snaptrimmer on shutdown
Greg Farnum [Fri, 26 May 2017 04:52:49 +0000 (21:52 -0700)]
osd: Reset() the snaptrimmer on shutdown

We were failing to exit various wait states which held PGRefs. Error!

Fixes: http://tracker.ceph.com/issues/19931
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit b0e9deeea8a8e90f6d7e9d56b6b4aed890e01d7b)

8 years agoosd: print out pg debug ref counts on acquire/drop
Greg Farnum [Thu, 25 May 2017 01:43:34 +0000 (18:43 -0700)]
osd: print out pg debug ref counts on acquire/drop

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit a3b028a6d1ba74ed975ebd665b1b50fb7e5039a4)

8 years agomon: Fix status output warning for mon_warn_osd_usage_min_max_delta 16134/head
David Zafman [Fri, 7 Jul 2017 17:53:41 +0000 (10:53 -0700)]
mon: Fix status output warning for mon_warn_osd_usage_min_max_delta

Fixes: http://tracker.ceph.com/issues/20544
Caued by: 489e810c37ed6fb9d32d1015634041a577501ee4

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

Conflicts:
    src/mon/PGMap.cc:
        kraken has no daa0793c393a21bd2dd2ec52a0efd181e1032400 so we manually
        apply the changes from 56f9808016ab289bdc0ce7cfbb0503c78b509593 to
        src/mon/PGMonitor.cc instead of to src/mon/PGMap.cc