]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agoMerge pull request #12456 from liewegas/qa-suite-firefly firefly
Sage Weil [Wed, 14 Dec 2016 17:40:17 +0000 (11:40 -0600)]
Merge pull request #12456 from liewegas/qa-suite-firefly

firefly: merge ceph-qa-suite

8 years agomerge ceph-qa-suite 12456/head
Sage Weil [Wed, 14 Dec 2016 17:30:01 +0000 (11:30 -0600)]
merge ceph-qa-suite

8 years agomove ceph-qa-suite dirs into qa/
Sage Weil [Wed, 14 Dec 2016 17:29:55 +0000 (11:29 -0600)]
move ceph-qa-suite dirs into qa/

8 years agoDrop unnecessary console handling code
Zack Cerza [Wed, 24 Aug 2016 16:56:03 +0000 (10:56 -0600)]
Drop unnecessary console handling code

Remote.console is provided by teuthology now
http://tracker.ceph.com/issues/17124
Fixes: 17124
Signed-off-by: Zack Cerza <zack@redhat.com>
(cherry picked from commit 821cf2caa63518314e7b03afc834b32e2a8caaa0)

9 years agoMerge pull request #6399 from SUSE/wip-13487-firefly
Sage Weil [Fri, 29 Jan 2016 14:06:37 +0000 (09:06 -0500)]
Merge pull request #6399 from SUSE/wip-13487-firefly

osd: object_info_t::decode() has wrong version

Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #6393 from SUSE/wip-13591-firefly
Sage Weil [Fri, 29 Jan 2016 14:05:39 +0000 (09:05 -0500)]
Merge pull request #6393 from SUSE/wip-13591-firefly

mon: should not set isvalid = true when cephx_verify_authorizer return false

9 years agoMerge pull request #7192 from ChrisMacNaughton/firefly
Sage Weil [Mon, 11 Jan 2016 16:24:48 +0000 (11:24 -0500)]
Merge pull request #7192 from ChrisMacNaughton/firefly

upstart: use 4 decimal places for default weight

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agouse 4 decimal places for default weight 7192/head
Chris MacNaughton [Mon, 11 Jan 2016 16:07:55 +0000 (11:07 -0500)]
use 4 decimal places for default weight

using 2 places means that when deploying a test cluster on tiny OSDs does not work

Signed-off-by: Chris MacNaughton <chris.macnaughton@canonical.com>
9 years agoMerge pull request #6773 from ceph/wip-11104-firefly-add-epoch
branto1 [Thu, 3 Dec 2015 09:28:30 +0000 (10:28 +0100)]
Merge pull request #6773 from ceph/wip-11104-firefly-add-epoch

Revert "Revert "ceph.spec.: add epoch""

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agoRevert "Revert "ceph.spec.: add epoch"" 6773/head
Ken Dreyer [Mon, 30 Nov 2015 21:11:02 +0000 (14:11 -0700)]
Revert "Revert "ceph.spec.: add epoch""

Re-add the Epoch bump to the packaging on the Firefly branch.

Ceph Hammer and newer already have this change. It's time to add it to
Firefly as well. The reasons that I removed it back in December 2014 are
no longer valid, and this will fix some interactions with the Ceph
client packages that ship in Base RHEL 7.1+.

Fixes: #11104 http://tracker.ceph.com/issues/11104
Fixes: #13794 http://tracker.ceph.com/issues/13794
This reverts commit 7faae891aefa4c21c50430fa03d9204a86d082f8.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years ago0.80.11 v0.80.11
Jenkins Build Slave User [Tue, 17 Nov 2015 18:57:48 +0000 (18:57 +0000)]
0.80.11

9 years agoMerge pull request #668 from ceph/wip-firefly-workunit
Dan Mick [Thu, 5 Nov 2015 23:37:42 +0000 (15:37 -0800)]
Merge pull request #668 from ceph/wip-firefly-workunit

tasks/workunit: Apply several fixes from master

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agoMerge pull request #6451 from jcsp/wip-firefly-urls
Yuri Weinstein [Mon, 2 Nov 2015 22:34:28 +0000 (14:34 -0800)]
Merge pull request #6451 from jcsp/wip-firefly-urls

qa: http://ceph.com/qa -> http://download.ceph.com/qa

9 years agoqa: http://ceph.com/qa -> http://download.ceph.com/qa 6451/head
Sage Weil [Thu, 24 Sep 2015 22:10:46 +0000 (18:10 -0400)]
qa: http://ceph.com/qa -> http://download.ceph.com/qa

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

9 years agoFixes #10869, added {role} to the dir name.
Yuri Weinstein [Thu, 12 Feb 2015 22:32:39 +0000 (14:32 -0800)]
Fixes #10869, added {role} to the dir name.

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
Fixed typo

Signed-off-by: Yuri Weinstein <yuri.weinstein@inktank.com>
(cherry picked from commit 9942440ddf9f6847e76de3b49f1ad0d98c62a3d0)
(cherry picked from commit fea2e227746b02519b4ebdee10aeb705027e70b6)

9 years agotasks/workunit: fix log message
John Spray [Wed, 20 Aug 2014 11:30:57 +0000 (12:30 +0100)]
tasks/workunit: fix log message

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 1e7bfb842aae395a6601d6ec387dc3bd88107046)

9 years agotask/workunit: add sudo to dir delete
John Spray [Sat, 26 Jul 2014 20:31:54 +0000 (21:31 +0100)]
task/workunit: add sudo to dir delete

This failure to delete used to be hidden in
a catch-all exception handler that was
removed in 396dc073.

This was causing failures in kcephfs suite
like:
Command failed on plana96 with status 1: 'rm -rf -- /home/ubuntu/cephtest/mnt.0/client.0'

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit cc7c9b2e8bb3b95d9d4bbd3243ed1380a6f128f7)

9 years agotask/workunit: general tidy
John Spray [Fri, 18 Jul 2014 16:15:20 +0000 (17:15 +0100)]
task/workunit: general tidy

* PEP8-ize whitespace
* specialize a catch-all except:
* don't alias 'misc' to 'teuthology'

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 2ed1131fc9702c3540c6e3708eeb570da2f58e91)

9 years agoWhitespace tweaks for the linter
Zack Cerza [Mon, 2 Nov 2015 18:20:49 +0000 (11:20 -0700)]
Whitespace tweaks for the linter

Signed-off-by: Zack Cerza <zack@redhat.com>
9 years agotask/workunit: clean up dir deletion
John Spray [Fri, 18 Jul 2014 13:09:16 +0000 (14:09 +0100)]
task/workunit: clean up dir deletion

This was always trying to remove the mountpoint,
and then swallowing the exception and printing
it to the log.

Instead:
 * Ensure it's only trying to delete mnt if it created it
 * Don't swallow those exceptions: if deleting the dirs
   fails then something has gone wrong and it should bubble
   up.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 396dc073cbea2c6282d2c9dcb6b1a36fd86a044d)

9 years agoMerge pull request #661 from ceph/firefly-samba-fixes
Yuri Weinstein [Tue, 27 Oct 2015 23:48:47 +0000 (16:48 -0700)]
Merge pull request #661 from ceph/firefly-samba-fixes

Firefly samba fixes

9 years agotask/samba: ignore return code of fuser/losf
Yan, Zheng [Tue, 21 Apr 2015 03:30:12 +0000 (11:30 +0800)]
task/samba: ignore return code of fuser/losf

if mount point is not used by anyone, both fuser and losf return 1

Fixes: #10624
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit c049387b7b0832e78a4a1370691798f726985799)

9 years agotask/samba: use SIGTERM to stop samba server
Yan, Zheng [Tue, 14 Apr 2015 09:05:40 +0000 (17:05 +0800)]
task/samba: use SIGTERM to stop samba server

man samba(8) contains sentences:

To shut down a user's smbd process it is recommended that SIGKILL (-9)
NOT be used, except as a last resort, as this may leave the shared
memory area in an inconsistent state. The safe way to terminate an smbd
is to send it a SIGTERM (-15) signal and wait for it to die on its own.

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

9 years agoosd: Correct the object_info_t::decode() version 6399/head
David Zafman [Mon, 12 Oct 2015 20:24:31 +0000 (13:24 -0700)]
osd: Correct the object_info_t::decode() version

Caused by: 13b9dc70

Fixes: #13462
Backport: Hammer, Firefly

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

Conflicts:
src/osd/osd_types.cc
            In firefly we need 14 to match object_info_t::encode(), whereas
            in hammer and master the right value is 15.

9 years agomon: should not set isvalid = true when cephx_verify_authorizer return false 6393/head
yangruifeng [Mon, 19 Oct 2015 12:08:12 +0000 (08:08 -0400)]
mon: should not set isvalid = true when cephx_verify_authorizer return false

Fixes: #13525
Signed-off-by: Ruifeng Yang <yangruifeng.09209@h3c.com>
(cherry picked from commit c7f75b8f7c0a773148ec16141941efd00ee76626)

9 years agoMerge pull request #657 from dachary/wip-13450-openstack-rados-thrash
Yuri Weinstein [Mon, 26 Oct 2015 21:05:02 +0000 (14:05 -0700)]
Merge pull request #657 from dachary/wip-13450-openstack-rados-thrash

openstack: rados/thrash: allocate three disks, always

9 years agoopenstack: rados/thrash: allocate three disks, always
Loic Dachary [Mon, 12 Oct 2015 14:47:58 +0000 (16:47 +0200)]
openstack: rados/thrash: allocate three disks, always

The thrasher needs disk attached to run against xfs, ext4 or btrfs. And
some jobs use more disks and do not fit in 40GB.

http://tracker.ceph.com/issues/13450 Fixes: #13450

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit b4a4136a56f6bfac8d0c1f80069e2a87042a0fc7)

9 years agoMerge pull request #5823 from SUSE/wip-11700-firefly
Loic Dachary [Fri, 23 Oct 2015 19:47:27 +0000 (21:47 +0200)]
Merge pull request #5823 from SUSE/wip-11700-firefly

make the all osd/filestore thread pool suicide timeouts separately configurable

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #5815 from SUSE/wip-12838-firefly
Loic Dachary [Fri, 23 Oct 2015 19:01:54 +0000 (21:01 +0200)]
Merge pull request #5815 from SUSE/wip-12838-firefly

Mutex Assert from PipeConnection::try_get_pipe

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #5529 from SUSE/wip-12586-firefly
Loic Dachary [Thu, 22 Oct 2015 16:19:39 +0000 (18:19 +0200)]
Merge pull request #5529 from SUSE/wip-12586-firefly

FileStore calls syncfs(2) even it is not supported

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5532 from SUSE/wip-12635-firefly
Yehuda Sadeh [Thu, 22 Oct 2015 14:44:12 +0000 (07:44 -0700)]
Merge pull request #5532 from SUSE/wip-12635-firefly

swift smoke test fails on TestAccountUTF8

9 years agoMerge pull request #5997 from SUSE/wip-13178-firefly
Yehuda Sadeh [Thu, 22 Oct 2015 14:33:02 +0000 (07:33 -0700)]
Merge pull request #5997 from SUSE/wip-13178-firefly

rgw: content length parsing calls strtol() instead of strtoll()

9 years agoMerge pull request #5526 from SUSE/wip-12584-firefly
Loic Dachary [Thu, 22 Oct 2015 08:45:48 +0000 (10:45 +0200)]
Merge pull request #5526 from SUSE/wip-12584-firefly

OSD crash creating/deleting pools

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #5287 from SUSE/wip-12389-firefly
Loic Dachary [Thu, 22 Oct 2015 08:43:29 +0000 (10:43 +0200)]
Merge pull request #5287 from SUSE/wip-12389-firefly

PGLog::proc_replica_log: correctly handle case where entries between olog.head and log.tail were split out

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #6328 from dachary/wip-13551-firefly
Loic Dachary [Wed, 21 Oct 2015 08:03:13 +0000 (10:03 +0200)]
Merge pull request #6328 from dachary/wip-13551-firefly

qemu workunit refers to apt-mirror.front.sepia.ceph.com

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoqa: Use public qemu repo 6328/head
Yuan Zhou [Thu, 18 Jun 2015 16:02:20 +0000 (00:02 +0800)]
qa: Use public qemu repo

This would allow some external tests outside of sepia lab

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
(cherry picked from commit 4731c1e35539c9506ff3fe3141553fad099d0eee)

9 years agouse git://git.ceph.com
Sage Weil [Thu, 16 Apr 2015 15:29:41 +0000 (08:29 -0700)]
use git://git.ceph.com

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

Conflicts:
qa/run_xfstests-obsolete.sh : does not exist in firefly
qa/workunits/suites/fsx.sh  : trivial resolution

9 years agoMerge pull request #5822 from SUSE/wip-12837-firefly
Loic Dachary [Tue, 20 Oct 2015 23:02:08 +0000 (01:02 +0200)]
Merge pull request #5822 from SUSE/wip-12837-firefly

WBThrottle::clear_object: signal on cond when we reduce throttle values

Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #6325 from dachary/wip-13041-firefly
Loic Dachary [Tue, 20 Oct 2015 19:48:39 +0000 (21:48 +0200)]
Merge pull request #6325 from dachary/wip-13041-firefly

common/Thread:pthread_attr_destroy(thread_attr) when done with it

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6091 from SUSE/wip-13252-firefly
Loic Dachary [Tue, 20 Oct 2015 19:46:28 +0000 (21:46 +0200)]
Merge pull request #6091 from SUSE/wip-13252-firefly

mon: does not check for IO errors on every transaction

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6087 from SUSE/wip-13244-firefly
Loic Dachary [Tue, 20 Oct 2015 19:45:19 +0000 (21:45 +0200)]
Merge pull request #6087 from SUSE/wip-13244-firefly

client nonce collision due to unshared pid namespaces

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6010 from liewegas/wip-globalid-firefly
Loic Dachary [Tue, 20 Oct 2015 19:44:32 +0000 (21:44 +0200)]
Merge pull request #6010 from liewegas/wip-globalid-firefly

increase globalid default for firefly

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5991 from SUSE/wip-13043-firefly
Loic Dachary [Tue, 20 Oct 2015 19:43:33 +0000 (21:43 +0200)]
Merge pull request #5991 from SUSE/wip-13043-firefly

ThreadPool add/remove work queue methods not thread safe

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #5988 from SUSE/wip-13038-firefly
Loic Dachary [Tue, 20 Oct 2015 19:42:28 +0000 (21:42 +0200)]
Merge pull request #5988 from SUSE/wip-13038-firefly

PG::handle_advance_map: on_pool_change after handling the map change

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5820 from SUSE/wip-12845-firefly
Loic Dachary [Tue, 20 Oct 2015 19:41:19 +0000 (21:41 +0200)]
Merge pull request #5820 from SUSE/wip-12845-firefly

osd/PGLog.cc: 732: FAILED assert(log.log.size() == log_keys_debug.size())

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5814 from SUSE/wip-12840-firefly
Loic Dachary [Tue, 20 Oct 2015 19:40:28 +0000 (21:40 +0200)]
Merge pull request #5814 from SUSE/wip-12840-firefly

recursive lock of md_config_t (0)

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5813 from SUSE/wip-12822-firefly
Loic Dachary [Tue, 20 Oct 2015 19:39:32 +0000 (21:39 +0200)]
Merge pull request #5813 from SUSE/wip-12822-firefly

ceph-fuse crash in test_client_recovery

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5726 from ceph/wip-12752
Loic Dachary [Tue, 20 Oct 2015 19:37:58 +0000 (21:37 +0200)]
Merge pull request #5726 from ceph/wip-12752

is_new_interval() fixes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5698 from tchaikov/wip-12638-firefly
Loic Dachary [Tue, 20 Oct 2015 19:37:01 +0000 (21:37 +0200)]
Merge pull request #5698 from tchaikov/wip-12638-firefly

mon: add a cache layer over MonitorDBStore

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5619 from liewegas/wip-journal-firefly
Loic Dachary [Tue, 20 Oct 2015 19:35:56 +0000 (21:35 +0200)]
Merge pull request #5619 from liewegas/wip-journal-firefly

os/FileJournal: Fix journal write fail, align for direct io

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.cz>
9 years agoMerge pull request #5360 from ceph/wip-11786.firefly
Loic Dachary [Tue, 20 Oct 2015 19:31:52 +0000 (21:31 +0200)]
Merge pull request #5360 from ceph/wip-11786.firefly

mon: MonitorDBStore: get_next_key() only if prefix matches

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5236 from SUSE/wip-12312-firefly
Loic Dachary [Tue, 20 Oct 2015 19:30:04 +0000 (21:30 +0200)]
Merge pull request #5236 from SUSE/wip-12312-firefly

mon: adding exsting pool as tier with --force-nonempty clobbers removed_snaps

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5050 from SUSE/wip-12015-firefly
Loic Dachary [Tue, 20 Oct 2015 19:28:31 +0000 (21:28 +0200)]
Merge pull request #5050 from SUSE/wip-12015-firefly

LibRadosTwoPools[EC]PP.PromoteSnap failure

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6207 from SUSE/wip-13417-firefly
Loic Dachary [Tue, 20 Oct 2015 11:09:38 +0000 (13:09 +0200)]
Merge pull request #6207 from SUSE/wip-13417-firefly

Fix -Wno-format and -Werror=format-security options clash

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6203 from SUSE/wip-13413-firefly
Loic Dachary [Tue, 20 Oct 2015 11:08:01 +0000 (13:08 +0200)]
Merge pull request #6203 from SUSE/wip-13413-firefly

fedora21 has junit, not junit4

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5992 from SUSE/wip-13168-firefly
Loic Dachary [Tue, 20 Oct 2015 11:06:14 +0000 (13:06 +0200)]
Merge pull request #5992 from SUSE/wip-13168-firefly

upstart: configuration is too generous on restarts

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5541 from dachary/wip-12418-firefly
Loic Dachary [Tue, 20 Oct 2015 11:04:40 +0000 (13:04 +0200)]
Merge pull request #5541 from dachary/wip-12418-firefly

ceph-disk: sometimes the journal symlink is not created

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5729 from ceph/wip-11455-firefly
Loic Dachary [Tue, 20 Oct 2015 10:36:01 +0000 (12:36 +0200)]
Merge pull request #5729 from ceph/wip-11455-firefly

rgw: init some manifest fields when handling explicit objs

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5730 from ceph/wip-12537-firefly
Loic Dachary [Tue, 20 Oct 2015 10:35:22 +0000 (12:35 +0200)]
Merge pull request #5730 from ceph/wip-12537-firefly

RGW returns requested bucket name raw in "Bucket" response header

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5831 from gnuoy/wip-11140-firefly
Loic Dachary [Tue, 20 Oct 2015 10:34:01 +0000 (12:34 +0200)]
Merge pull request #5831 from gnuoy/wip-11140-firefly

/etc/init.d/radosgw restart does not work correctly

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoCommon/Thread: pthread_attr_destroy(thread_attr) when done with it 6325/head
zqkkqz [Fri, 7 Aug 2015 02:49:45 +0000 (10:49 +0800)]
Common/Thread: pthread_attr_destroy(thread_attr) when done with it
When a thread attributes object is no longer required, it should be destroyed using the
pthread_attr_destroy() function. Destroying a thread attributes object has no effect on threads that were created using that object.

Fixes: #12570
Signed-off-by: zqkqkz zheng.qiankun@h3c.com
(cherry picked from commit 9471bb838a420ef5f439191d87e5388fecccb9e6)

9 years agoThread.cc: remove malloc/free pair
Piotr Dałek [Fri, 17 Jul 2015 10:43:52 +0000 (12:43 +0200)]
Thread.cc: remove malloc/free pair

There's no need for mallocing pthread_attr_t in Thread::try_create(),
it can be located on stack as it is freed in same function. This reduces
pressure put on memory manager.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
(cherry picked from commit 614ac0f4e375f3dd008c8937d3f89f6005d6e0a0)

9 years agoFix -Wno-format and -Werror=format-security options clash 6207/head
Boris Ranto [Fri, 15 Aug 2014 17:34:27 +0000 (19:34 +0200)]
Fix -Wno-format and -Werror=format-security options clash

This causes build failure in latest fedora builds, ceph_test_librbd_fsx adds -Wno-format cflag but the default AM_CFLAGS already contain -Werror=format-security, in previous releases, this was tolerated but in the latest fedora rawhide it no longer is, ceph_test_librbd_fsx builds fine without -Wno-format on x86_64 so there is likely no need for the flag anymore

Signed-off-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 7df67a544f6401fd31157b6e2a6ca590d87d7cbc)

Conflicts:
src/test/Makefile.am

9 years agoceph.spec.in: junit always except for EPEL 6 6203/head
Loic Dachary [Tue, 3 Feb 2015 15:14:23 +0000 (16:14 +0100)]
ceph.spec.in: junit always except for EPEL 6

The package was renamed a long time ago (around the Fedora 15
timeframe). The "junit4" name is only relevant for EPEL 6. For EPEL 7
and Fedora 20, the "junit" package has "Provides: junit4". And most
recently, in the junit package that ships in Fedora 21 and 22, the
package maintainer dropped the old Provides: line.

http://tracker.ceph.com/issues/10728 Fixes: #10728

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Signed-off-by: Loic Dachary <ldachary@redhat.com>
(cherry picked from commit 4f36eaee9ea71ed48018ccb2d7eac3e809c72d82)

9 years agoFix casing of Content-Type header 5532/head
Robin H. Johnson [Fri, 4 Sep 2015 01:07:48 +0000 (01:07 +0000)]
Fix casing of Content-Type header

It turns out, despite the HTTP spec declaring that header field names
should be case-insensitive, some clients treat them wrongly, and
consider "Content-type" to not match "Content-Type".

CyberDuck was one of those clients, now fixed upstream in
https://trac.cyberduck.io/ticket/8999

To reduce future occurances of this bug, fix the casing of the
Content-Type header, to strictly comply with the HTTP specification (be
strict about what you send, and generous about what you receive).

Fixes: #12939
Backport: hammer, firefly
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit 1b9fbffdc24160251b96cec820d62fb2a12b6eab)

9 years agorgw: we should not overide Swift sent content type
Orit Wasserman [Thu, 13 Aug 2015 13:02:03 +0000 (15:02 +0200)]
rgw: we should not overide Swift sent content type

Fixes: #12363
backport: hammer

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit 423cf136f15df3099c9266f55932542d303c2713)

9 years agorgw: send Content-Length in response for GET on Swift account.
Radoslaw Zarzynski [Thu, 25 Jun 2015 16:28:50 +0000 (18:28 +0200)]
rgw: send Content-Length in response for GET on Swift account.

Fixes: #12158
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 5f47b11791cd46ce2771046e4888575869cc9685)

Conflicts:
src/rgw/rgw_rest_swift.cc
            omit dump_account_metadata() call

9 years agorgw: enforce Content-Type in Swift responses.
Radoslaw Zarzynski [Tue, 23 Jun 2015 09:54:09 +0000 (11:54 +0200)]
rgw: enforce Content-Type in Swift responses.

Swift sends Content-Type HTTP header even if the response
doesn't contain body. We have this behaviour implemented
until applying some changes in end_header() function.
Unfortunately, lack of Content-Type causes early exits in
many Tempest's tests for Swift API verification.

Fixes: #12157
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 106aeba206736d4080326f9bc191876bed63370b)

9 years agorgw: force content_type for swift bucket stats request
Orit Wasserman [Mon, 22 Jun 2015 11:51:49 +0000 (13:51 +0200)]
rgw: force content_type for swift bucket stats request

Fixes: 12095
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit da259e4da1329e1e448d75c48c6ee3d1318e19b2)

9 years agorgw: force content-type header for swift account responses without body
Orit Wasserman [Tue, 21 Apr 2015 10:31:19 +0000 (12:31 +0200)]
rgw: force content-type header for swift account responses without body

This regression was introduced in commit 4cfeca03ade21861ab70ca759f94eb244c16cb39

Fixes: #11438
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit 009664e560ee37ef6dc170a0155d6c749e151b06)

9 years agorgw: shouldn't return content-type: application/xml if content length is 0
Orit Wasserman [Thu, 9 Apr 2015 18:04:59 +0000 (20:04 +0200)]
rgw: shouldn't return content-type: application/xml if content length is 0

Fixed: #11091

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit 5cc92bb27cfbaee4af24dc312c9b98331f899794)

9 years agotest/librados/tier.cc: destroy and recreate cache pool on every test 5236/head
Samuel Just [Fri, 8 May 2015 17:26:48 +0000 (10:26 -0700)]
test/librados/tier.cc: destroy and recreate cache pool on every test

Namespaces are not sufficient with the checks for 11493 in the mon.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit bef09e0cdb274cb1c87335a2af9ee532d14a4596)

9 years agomon: prevent pool with snapshot state from being used as a tier
Sage Weil [Wed, 29 Apr 2015 19:34:25 +0000 (12:34 -0700)]
mon: prevent pool with snapshot state from being used as a tier

If we add a pool with snap state as a tier the snap state gets clobbered
by OSDMap::Incremental::propogate_snaps_to_tiers(), and may prevent OSDs
from starting.  Disallow this.

Include a test.

Fixes: #11493
Backport: hammer, giant, firefly
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit bbec53edf9e585af4e20bbc9ba9057d6fdfda342)

Conflicts:
qa/workunits/cephtool/test.sh
           properly co-exist with "# make sure we can't create an ec pool tier"
src/mon/OSDMonitor.cc
           properly co-exist with preceding "if (tp->ec_pool())"
        (The changes to both files would have applied cleanly if
        https://github.com/ceph/ceph/pull/5389 had not been merged first.)

9 years agoMerge pull request #607 from dachary/wip-git-ceph-com-firefly
Loic Dachary [Mon, 5 Oct 2015 12:39:58 +0000 (14:39 +0200)]
Merge pull request #607 from dachary/wip-git-ceph-com-firefly

git ceph com and newdream hostname changes

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
9 years agogit.ceph.com
Sage Weil [Thu, 16 Apr 2015 16:05:30 +0000 (09:05 -0700)]
git.ceph.com

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

Conflicts:
suites/rbd/qemu/workloads/qemu_bonnie.yaml
suites/rbd/qemu/workloads/qemu_fsstress.yaml
suites/rbd/qemu/workloads/qemu_iozone.yaml.disabled
suites/rbd/qemu/workloads/qemu_xfstests.yaml
suites/rbd/singleton/all/formatted-output.yaml
the conflicts are because https is used in master instead of http,
the rest is otherwise identical.

tasks/chef.py
obsolete, replaced by ansible.

9 years agogit.ceph.com
Sage Weil [Thu, 16 Apr 2015 15:36:12 +0000 (08:36 -0700)]
git.ceph.com

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

9 years agoteuthology: some suites still use http://ceph.newdream.net
Armando Segnini [Fri, 23 Jan 2015 10:13:11 +0000 (11:13 +0100)]
teuthology: some suites still use http://ceph.newdream.net

This probably redirects to http://ceph.com but ceph.newdream.net still appears in some places

http://tracker.ceph.com/issues/9922 Fixes: #9922

Signed-off-by: Armando Segnini <armando.segnini@telecom-bretagne.eu>
(cherry picked from commit 9ace238e874b45afbdcef97fe656d9a707e6105a)

9 years agoMerge pull request #5993 from SUSE/wip-13169-firefly
Loic Dachary [Sat, 3 Oct 2015 07:40:33 +0000 (09:40 +0200)]
Merge pull request #5993 from SUSE/wip-13169-firefly

update docs to point to download.ceph.com

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #588 from ceph/wip-12573
Sage Weil [Tue, 29 Sep 2015 13:45:45 +0000 (09:45 -0400)]
Merge pull request #588 from ceph/wip-12573

Removed cuttlefish from configurations as unsupported

9 years agoRemoved cuttlefish from configurations as unsupported
Yuri Weinstein [Tue, 29 Sep 2015 13:41:34 +0000 (06:41 -0700)]
Removed cuttlefish from configurations as unsupported

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoceph_test_rados_api_tier: fix cleanup of whiteouts 5050/head
Sage Weil [Fri, 14 Nov 2014 06:33:10 +0000 (22:33 -0800)]
ceph_test_rados_api_tier: fix cleanup of whiteouts

Doing a normal DELETE on a whiteout returns ENOENT.  Use the IGNORE_CACHE
flag to make sure it removes the whiteout, too.

Fixes: #10052
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 8dde6a61921798aa188bd69406c8fa7afeb96b45)

Conflicts:
src/test/librados/TestCase.cc
            for it of type ObjectIterator:
            - use it->first instead of it->get_oid()
            - use it->second instead of it->get_locator()

9 years agoosd/ReplicatedPG: allow whiteout deletion with IGNORE_CACHE flag
Sage Weil [Fri, 14 Nov 2014 06:32:20 +0000 (22:32 -0800)]
osd/ReplicatedPG: allow whiteout deletion with IGNORE_CACHE flag

If the client specifies IGNORE_CACHE, allow a regular DELETE to zap a
whiteout.  Expand test case to verify this works.

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

    Conflicts:
        src/test/librados/tier.cc
            replaced NObjectIterator -> ObjectIterator
            replaced cache_ioctx.nobjects_begin -> cache_ioctx.objects_begin
            replaced cache_ioctx.nobjects_end -> cache_ioctx.objects_end
            replace it->get_oid() with it->first for it of type ObjectIterator

9 years agomon/Elector: do a trivial write on every election cycle 6091/head
Sage Weil [Wed, 23 Sep 2015 14:58:01 +0000 (10:58 -0400)]
mon/Elector: do a trivial write on every election cycle

Currently we already do a small write when the *first* election in
a round happens (to update the election epoch).  If the backend
happens to fail while we are already in the midst of elections,
however, we may continue to call elections without verifying we
are still writeable.

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

    Conflicts:
src/mon/Elector.cc
            no MonitorDBStore::TransactionRef in firefly

9 years agomon/MonitorDBStore: assert/crash if there is a write error
Sage Weil [Wed, 23 Sep 2015 14:58:13 +0000 (10:58 -0400)]
mon/MonitorDBStore: assert/crash if there is a write error

Do this globally intead of relying on teh zillion mon callers to
check the error code.  There are no cases where we want to
tolerate a commit failure.

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

9 years agouse simplifed messenger constructor for clients 6087/head
Josh Durgin [Mon, 21 Sep 2015 22:46:42 +0000 (15:46 -0700)]
use simplifed messenger constructor for clients

This is all mechanical except the calculation of the nonce, which is
now always randomized for clients.

Fixes: #13032
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit a3a8c85b79afef67681c32c57b591c0e0a87a349)

Conflicts:
src/ceph_fuse.cc
src/ceph_syn.cc
src/libcephfs.cc
src/librados/RadosClient.cc
src/mds/MDSUtility.cc
src/mon/MonClient.cc
src/test/mon/test_mon_workloadgen.cc
            - different arguments to Messenger::create() in firefly

9 years agolibrados: use Messenger factory method
Sage Weil [Tue, 7 Oct 2014 04:20:08 +0000 (21:20 -0700)]
librados: use Messenger factory method

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

9 years agomon/MonClient: use generic Messenger factory
Sage Weil [Mon, 6 Oct 2014 15:50:48 +0000 (08:50 -0700)]
mon/MonClient: use generic Messenger factory

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

9 years agomsg: add simplified messenger constructor
Josh Durgin [Mon, 21 Sep 2015 22:20:53 +0000 (15:20 -0700)]
msg: add simplified messenger constructor

Several callers create messengers using exactly the same parameters:

- reading the ms type from cct that is also passed in
- a default entity_name_t::CLIENT
- the default features

Additionally, the nonce should be randomized and not depend on
e.g. pid, as it does in several callers now. Clients running in
containers can easily have pid collisions, leading to hangs, so
randomize the nonce in this simplified constructor rather than
duplicating that logic in every caller.

Daemons have meaningful entity_name_ts, and monitors currently depend
on using 0 as a nonce, so make this simple constructer
client-specific.

Related: #13032
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit e3785b0b5fbff870adbd5f121021b671912386cf)

Conflicts:
src/msg/Messenger.cc
            - different #includes in firefly
            - different Messenger::create() arguments in firefly

9 years agoMerge pull request #6038 from liewegas/wip-13088
Sage Weil [Wed, 23 Sep 2015 21:09:18 +0000 (17:09 -0400)]
Merge pull request #6038 from liewegas/wip-13088

common/HeartBeat: include types

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agocommon/RWLock: include assert 6038/head
Sage Weil [Wed, 23 Sep 2015 21:06:52 +0000 (17:06 -0400)]
common/RWLock: include assert

Fixes atomic_t build issue without libatomic-ops.

Fixes: #13088
Signed-off-by: Sage Weil <sage@redhat.com>
9 years ago.gitmodules: fix ceph-object-corpus source url
Sage Weil [Tue, 22 Sep 2015 17:03:49 +0000 (13:03 -0400)]
.gitmodules: fix ceph-object-corpus source url

Fixes: #13196
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6000 from SUSE/wip-12097-firefly
Sage Weil [Tue, 22 Sep 2015 16:29:08 +0000 (12:29 -0400)]
Merge pull request #6000 from SUSE/wip-12097-firefly

kernel_untar_build fails on EL7

9 years agoMerge pull request #5234 from SUSE/wip-12244-firefly
Yehuda Sadeh [Mon, 21 Sep 2015 20:07:49 +0000 (13:07 -0700)]
Merge pull request #5234 from SUSE/wip-12244-firefly

Civetweb RGW appears to report full size of object as downloaded when only partially downloaded

9 years agoMerge pull request #4535 from xinxinsh/wip-11416-firefly
Yehuda Sadeh [Mon, 21 Sep 2015 19:35:52 +0000 (12:35 -0700)]
Merge pull request #4535 from xinxinsh/wip-11416-firefly

rgw: use correct objv_tracker for bucket instance

9 years agomon: handle case where mon_globalid_prealloc > max_global_id 6010/head
Sage Weil [Mon, 19 Jan 2015 00:49:20 +0000 (16:49 -0800)]
mon: handle case where mon_globalid_prealloc > max_global_id

This triggers with the new larger mon_globalid_prealloc value.  It didn't
trigger on the existing cluster I tested on because it already had a very
large max.

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

9 years agomon: change mon_globalid_prealloc to 10000 (from 100)
Sage Weil [Sun, 18 Jan 2015 18:39:25 +0000 (10:39 -0800)]
mon: change mon_globalid_prealloc to 10000 (from 100)

100 ids (session 100 authentications) can be consumed quite quickly if
the monitor is being queried by the CLI via scripts or on a large cluster,
especially if the propose interval is long (many seconds).  These live in
a 64-bit value and are only "lost" if we have a mon election before they
are consumed, so there's no real risk here.

Backport: giant, firefly
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 1d1215fe5f95c2bafee5b670cdae1353104636a0)

9 years agoqa: update to newer Linux tarball 6000/head
Greg Farnum [Tue, 16 Jun 2015 15:13:41 +0000 (08:13 -0700)]
qa: update to newer Linux tarball

This should make newer gcc releases happier in their default configuration.
kernel.org is now distributing tarballs as .xz files so we change to that
as well when decompressing (it is supported by Ubuntu Precise so we should
be all good).

Fixes: #11758
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 1ea3f47ab806d48ca7b045c2731d344eae3900e1)

Conflicts:
qa/workunits/kernel_untar_build.sh
            trivial resolution

9 years agorgw: use strict_strtoll() for content length 5997/head
Yehuda Sadeh [Fri, 30 Jan 2015 18:51:52 +0000 (10:51 -0800)]
rgw: use strict_strtoll() for content length

instead of strict_strtol().

Backport: giant, firefly
Fixes: #10701
Reported-by: Axel Dunkel <ad@dunkel.de>
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 1c25dbafb45caf1b261cfcec15b868a2ba6b5fef)

9 years agodoc: correct links to download.ceph.com 5993/head
Alfredo Deza [Fri, 18 Sep 2015 18:13:02 +0000 (14:13 -0400)]
doc: correct links to download.ceph.com

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 387d7800359154950431d0984c756f43f21dd9b4)

Conflicts:
doc/install/get-packages.rst
            preferred the new version in all cases

9 years agoupstart: limit respawn to 3 in 30 mins (instead of 5 in 30s) 5992/head
Sage Weil [Wed, 3 Jun 2015 18:57:34 +0000 (14:57 -0400)]
upstart: limit respawn to 3 in 30 mins (instead of 5 in 30s)

It may take tens of seconds to restart each time, so 5 in 30s does not stop
the crash on startup respawn loop in many cases.  In particular, we'd like
to catch the case where the internal heartbeats fail.

This should be enough for all but the most sluggish of OSDs and capture
many cases of failure shortly after startup.

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