]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoradosgw-admin: 'zonegroup add' prints updated zonegroup 9054/head
Casey Bodley [Thu, 5 May 2016 13:59:49 +0000 (09:59 -0400)]
radosgw-admin: 'zonegroup add' prints updated zonegroup

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d355208023fe08a7e16f1078c872286048c4bcc6)

9 years agoradosgw-admin: 'zonegroup modify' prints updated zonegroup
Casey Bodley [Thu, 5 May 2016 13:59:32 +0000 (09:59 -0400)]
radosgw-admin: 'zonegroup modify' prints updated zonegroup

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit a033f40caf60083111886aa804fcdbf3ee60aef8)

9 years agoradosgw-admin: 'zone modify' prints updated zone
Casey Bodley [Thu, 5 May 2016 13:56:47 +0000 (09:56 -0400)]
radosgw-admin: 'zone modify' prints updated zone

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 8a639014a6f2dd950062aa405bbee1762ca23e09)

9 years agoMerge pull request #9006 from athanatos/wip-15655-jewel
Sage Weil [Mon, 9 May 2016 17:54:58 +0000 (13:54 -0400)]
Merge pull request #9006 from athanatos/wip-15655-jewel

OSDMonitor: avoid underflow in reweight-by-utilization if max_change=1

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoosdc/Objecter: fix race condition for sortbitwise flag detection
xie xingguo [Tue, 26 Apr 2016 07:12:17 +0000 (15:12 +0800)]
osdc/Objecter: fix race condition for sortbitwise flag detection

During list_objects/list_nobjects(), we are checking osdmap's
sortbitwise flag setting without holding rwlock in hand, which
is a potential race condition.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 7fb6be706be2454cc2a831df29808997f0aa5ab3)

9 years agofix deb package /etc/default/ceph location
Alexandre Derumier [Thu, 28 Apr 2016 20:48:52 +0000 (22:48 +0200)]
fix deb package /etc/default/ceph location

commit 7384a14f243519547a61534d22e21e6069aae016 have introduce
the /etc/default/ceph file at a wrong location : /etc/default/ceph/ceph

(cherry picked from commit 13804fafd4c33068d8ed6d0480b594daec0f9341)

9 years agomon/OSDMonitor: improve reweight_by_utilization() logic
xie xingguo [Tue, 26 Apr 2016 03:13:32 +0000 (11:13 +0800)]
mon/OSDMonitor: improve reweight_by_utilization() logic

By calling reweight_by_utilization() method, we are aiming at an evener result
of utilization among all osds. To achieve this, we shall decrease weights of
osds which are currently overloaded, and try to increase weights of osds which
are currently underloaded when it is possible.
However, we can't do this all at a time in order to avoid a massive pg migrations
between osds. Thus we introduce a max_osds limit to smooth the progress.

The problem here is that we have sorted the utilization of all osds in a descending
manner and we always try to decrease the weights of the most overloaded osds
since they are most likely to encounter a nearfull/full transition soon, but
we won't increase the weights from the most underloaded(least utilized by contrast)
at the same time, which I think is not quite reasonable.

Actually, the best thing would probably be to iterate over teh low and high osds
in parallel, and do the ones that are furthest from the average first.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit e7a32534ebc9e27f955ff2d7a8d1db511383301e)

9 years agomon/OSDMonitor: avoid potential expensive grace calculation
xie xingguo [Mon, 25 Apr 2016 07:43:03 +0000 (15:43 +0800)]
mon/OSDMonitor: avoid potential expensive grace calculation

The grace calculation during check_failure() is now very complicated
and time-consuming. Therefore we shall skip this when it is possible.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 3557903d5d57642179b2ae137bedc389974b1956)

9 years agomon/OSDMonitor: max_osds must be > 0 for reweight-by-*
Sage Weil [Sat, 30 Apr 2016 02:01:56 +0000 (22:01 -0400)]
mon/OSDMonitor: max_osds must be > 0 for reweight-by-*

Include a few test cases.

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

9 years agoMerge pull request #8787 from xiaoxichen/wip-15631
John Spray [Tue, 3 May 2016 13:05:23 +0000 (08:05 -0500)]
Merge pull request #8787 from xiaoxichen/wip-15631

jewel: CephFSVolumeClient should isolate volumes by RADOS namespace

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoOSDMonitor: avoid underflow in reweight-by-utilization if max_change=1 9006/head
Samuel Just [Thu, 28 Apr 2016 20:47:48 +0000 (13:47 -0700)]
OSDMonitor: avoid underflow in reweight-by-utilization if max_change=1

Fixes: http://tracker.ceph.com/issues/15655
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit c121bc51a5a877a49094cfbd3bd16af1f3ae5090)

9 years agoMerge pull request #8843 from SUSE/wip-msd-typo-fix-jewel
Boris Ranto [Mon, 2 May 2016 06:35:09 +0000 (08:35 +0200)]
Merge pull request #8843 from SUSE/wip-msd-typo-fix-jewel

systemd: fix typo in preset file

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agosystemd: fix typo in preset file
Nathan Cutler [Sat, 30 Apr 2016 14:21:13 +0000 (16:21 +0200)]
systemd: fix typo in preset file

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

9 years agosystemd: fix typo in preset file 8843/head
Nathan Cutler [Sat, 30 Apr 2016 14:21:13 +0000 (16:21 +0200)]
systemd: fix typo in preset file

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

9 years agoMerge pull request #8801 from SUSE/wip-15633-jewel
Boris Ranto [Fri, 29 Apr 2016 06:22:01 +0000 (08:22 +0200)]
Merge pull request #8801 from SUSE/wip-15633-jewel

jewel: ceph-{mds,mon,osd} packages need scriptlets with systemd code

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agorpm: Add rpm scripts for ceph-rbd-mirror 8801/head
Boris Ranto [Wed, 27 Apr 2016 16:10:51 +0000 (18:10 +0200)]
rpm: Add rpm scripts for ceph-rbd-mirror

We are currently missing the systemd scripts for the new ceph-rbd-mirror
daemons. This patch introduces them.

Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 14652f32165f72efde569a939179fc26584ab155)

9 years agorpm: Start all the targets in %post
Boris Ranto [Wed, 27 Apr 2016 16:00:08 +0000 (18:00 +0200)]
rpm: Start all the targets in %post

We need to have the sub-targets active for the ceph.target to be able
to propagate its calls to the services. If the sub-target is inactive,
the main target won't propagate the stop/restart calls.

Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 73f457986753b504fd088c1fa064608aa9d340c9)

9 years agorpm: implement scriptlets for the post-split daemon packages
Nathan Cutler [Tue, 19 Apr 2016 12:48:41 +0000 (14:48 +0200)]
rpm: implement scriptlets for the post-split daemon packages

This patch gives each of the ceph-{mds,mon,osd,radosgw} packages its own
%post, %preun, and %postun scriptlets dealing with the package's unit files.

The scriptlets of ceph-base are adapted to handle the ceph.target unit file
only.

The scriptlets of ceph-mon handle ceph-create-keys services in addition to ceph-mon.

The scriptlets of ceph-osd handle ceph-disk services in addition to ceph-osd.

Fixes: http://tracker.ceph.com/issues/14941
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 644aba9270714e5e231ac7d7e3437477837531eb)

9 years agosystemd: enable all the ceph .target services by default
Nathan Cutler [Tue, 19 Apr 2016 12:51:01 +0000 (14:51 +0200)]
systemd: enable all the ceph .target services by default

Some distros, like Fedora and openSUSE, have a policy that all services are
disabled by default.

This patch changes that default for the ceph.target and
ceph-{mds,mon,osd,radosgw}.target services.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 53b1a6799c2ce08acc8382e4aa996d1bde700316)

9 years agopython_cephfs: rule out empty/None volume_id 8787/head
Xiaoxi Chen [Wed, 6 Apr 2016 14:50:05 +0000 (22:50 +0800)]
python_cephfs: rule out empty/None volume_id

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
(cherry picked from commit 73368069dd466cdbde1ebeae97771d603ce431f5)

9 years agopython-cephfs: use rados namespace for data isolation.
Xiaoxi Chen [Wed, 6 Apr 2016 14:45:02 +0000 (22:45 +0800)]
python-cephfs: use rados namespace for data isolation.

As cephfs dir layout supports rados namespace in jewel, it would be
good to use rados namespace instead of pool, since it is free,
we always enforce namespace isolation for volumes.

The meaning of "data_isolated" flag changed a bit, it's no longer used
for security isolation, referring to physical isolation
(i.e. potentially using different OSDs).

Also, (de)authorize based on namespace.

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
(cherry picked from commit 0e1d013ea690c18f7fa6e2a19500f854a9949091)

9 years agoSigned-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
Tamil Muthamizhan [Wed, 27 Apr 2016 00:34:52 +0000 (17:34 -0700)]
Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
s/ceph-deploy/ceph-tests, hence removing ceph-deploy folder

9 years agoSigned-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
Tamil Muthamizhan [Fri, 22 Apr 2016 22:25:46 +0000 (18:25 -0400)]
Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
  renamed the workunit and test to reflect reality and for better clarity

(cherry picked from commit 0fd358b877c611bf67c94b4a2dacbe65e17deae9)

9 years agofix ceph init script
Alexandre Derumier [Sun, 24 Apr 2016 07:55:35 +0000 (09:55 +0200)]
fix ceph init script

commit 65963739cd6815b8008282c8f64cd64365662e60 have introduce a bug

test variables need to be quoted, or -n always return true, even if variables don't exist

(cherry picked from commit b581dd56bea09520c154611ecea91ebe399058d3)

9 years agotest: Fix ceph-objectstore-tool test to run manually from src non-cmake
David Zafman [Tue, 19 Apr 2016 01:27:52 +0000 (18:27 -0700)]
test: Fix ceph-objectstore-tool test to run manually from src non-cmake

Fix init-ceph to handle it when CEPH_* values set

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

9 years agoDrop --setuser/--setgroup from osd prestart
James Page [Tue, 5 Apr 2016 15:58:58 +0000 (16:58 +0100)]
Drop --setuser/--setgroup from osd prestart

These are not supported by /usr/lib/ceph/ceph-osd-prestart.sh,
resulting in warnings:

 ceph-osd-prestart.sh[23367]: getopt: unrecognized option '--setuser'
 ceph-osd-prestart.sh[23367]: getopt: unrecognized option '--setgroup'

--setuser and --setgroup are only needed for the ceph-osd process.

Signed-off-by: James Page <james.page@ubuntu.com>
(cherry picked from commit 74977f78840fe95b67788f3aa135ac69a2353c43)

9 years agoosd: fix backwards min/max osd utilization
Dan van der Ster [Fri, 22 Apr 2016 09:19:30 +0000 (11:19 +0200)]
osd: fix backwards min/max osd utilization

Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
(cherry picked from commit 7529851f2a186501664461916f785da8456ad612)

9 years ago10.2.0 v10.2.0
Jenkins Build Slave User [Wed, 20 Apr 2016 11:29:48 +0000 (11:29 +0000)]
10.2.0

9 years agoMerge pull request #8636 from ceph/wip-rgw-leak
Yehuda Sadeh [Tue, 19 Apr 2016 19:03:43 +0000 (12:03 -0700)]
Merge pull request #8636 from ceph/wip-rgw-leak

rgw leaks fixes

9 years agoMerge pull request #8653 from theanalyst/doc/fix-multisite-pools
Casey Bodley [Tue, 19 Apr 2016 13:35:31 +0000 (09:35 -0400)]
Merge pull request #8653 from theanalyst/doc/fix-multisite-pools

doc: rgw multisite, add pools section & minor cosmetic improvements

9 years agorgw: drop rest op reference in error path 8636/head
Yehuda Sadeh [Tue, 19 Apr 2016 13:11:09 +0000 (06:11 -0700)]
rgw: drop rest op reference in error path

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agodoc: rgw multisite, add pools section & minor cosmetic improvements 8653/head
Abhishek Lekshmanan [Tue, 19 Apr 2016 09:02:22 +0000 (11:02 +0200)]
doc: rgw multisite, add pools section & minor cosmetic improvements

`Pool Configuration` was mentioned previously but didn't contain any
info, adding this section and minor cosmetic changes to a few headings
after looking at the html view.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoMerge pull request #8564 from theanalyst/fix/15251
Casey Bodley [Mon, 18 Apr 2016 22:20:52 +0000 (18:20 -0400)]
Merge pull request #8564 from theanalyst/fix/15251

rgw_admin: improve period update errors

9 years agorgw_admin: improve period update errors 8564/head
Abhishek Lekshmanan [Tue, 12 Apr 2016 19:31:19 +0000 (21:31 +0200)]
rgw_admin: improve period update errors

If we do a period update on a realm with multiple masters, we fail
stating invalid argument, improving this to suggest that we have
actually errored out because of multiple master zg in a realm, and
printing both of these zonegroups. RGWPeriodMap::update takes
CephContext as an argument, so that we can use ldout. Also dropping the
error messages reporting invalid arguments on period.update() as these
are handled within the function itself whenever it manifests itself.

Fixes: http://tracker.ceph.com/issues/15251
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agoMerge pull request #8645 from tchaikov/wip-fix-test.sh
Casey Bodley [Mon, 18 Apr 2016 17:02:22 +0000 (13:02 -0400)]
Merge pull request #8645 from tchaikov/wip-fix-test.sh

test: set a default $CEPH_ROOT env variable

9 years agotest: set a default $CEPH_ROOT env variable 8645/head
Kefu Chai [Mon, 18 Apr 2016 13:48:45 +0000 (21:48 +0800)]
test: set a default $CEPH_ROOT env variable

in cf24535, we use $CEPH_ROOT to specify the $top_srcdir to unify
cmake and autotools, but this breaks ceph-qa-suite/tasks/workunit.py,
as it only clones the necessary qa/workunits directory, and does not
pass $CEPH_ROOT to the test scripts. so we need to set a default
$CEPH_ROOT if it is not set.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8612 from xiexingguo/xxg-wip-rpg
Samuel Just [Mon, 18 Apr 2016 06:10:50 +0000 (23:10 -0700)]
Merge pull request #8612 from xiexingguo/xxg-wip-rpg

osd/ReplicatedPG: fix implementation of register_on_success()

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agorgw: clean async rest ops in calling cr
Yehuda Sadeh [Mon, 18 Apr 2016 01:37:25 +0000 (18:37 -0700)]
rgw: clean async rest ops in calling cr

Need to drop a reference to the async rest op when done.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: drop async cr reference on simple cr completion
Yehuda Sadeh [Sun, 17 Apr 2016 18:14:39 +0000 (11:14 -0700)]
rgw: drop async cr reference on simple cr completion

Added a new callback for simple cr that is called anyway when done. Then
drop the reference to the async operation there and not at the destructor.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: RGWRealmWatcher::watch_restart() also unwatches watch
Yehuda Sadeh [Sun, 17 Apr 2016 00:37:56 +0000 (17:37 -0700)]
rgw: RGWRealmWatcher::watch_restart() also unwatches watch

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: stop cr manager in destructor
Yehuda Sadeh [Sun, 17 Apr 2016 00:27:35 +0000 (17:27 -0700)]
rgw: stop cr manager in destructor

callers don't need to call it explicitly

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8590 from liewegas/wip-jewel
Sage Weil [Sun, 17 Apr 2016 13:25:52 +0000 (09:25 -0400)]
Merge pull request #8590 from liewegas/wip-jewel

doc/release-notes: jewel updates

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8526 from dreamhost/wip-rgw-xmlns
Sage Weil [Sun, 17 Apr 2016 12:33:01 +0000 (08:33 -0400)]
Merge pull request #8526 from dreamhost/wip-rgw-xmlns

rgw: Ensure xmlns is consistent on S3 responses.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Abhishek Lekshmanan <alekshmanan@suse.com>
9 years agoMerge pull request #8563 from linuxbox2/rgw-file-unix
Sage Weil [Sun, 17 Apr 2016 12:32:20 +0000 (08:32 -0400)]
Merge pull request #8563 from linuxbox2/rgw-file-unix

rgw: file unix

9 years agoMerge pull request #8592 from zaitcev/wip-5073-multen-1
Sage Weil [Sun, 17 Apr 2016 12:32:05 +0000 (08:32 -0400)]
Merge pull request #8592 from zaitcev/wip-5073-multen-1

rgw: Add a test for multi-tenancy

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
9 years agoMerge pull request #8597 from oritwas/wip-rgw-remove-bucket-instance
Sage Weil [Sun, 17 Apr 2016 12:31:21 +0000 (08:31 -0400)]
Merge pull request #8597 from oritwas/wip-rgw-remove-bucket-instance

rgw: handle no current_period in is_syncing_bucket_meta

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8601 from jmunhoz/fix-aws4-unsigned-payload
Sage Weil [Sun, 17 Apr 2016 12:30:38 +0000 (08:30 -0400)]
Merge pull request #8601 from jmunhoz/fix-aws4-unsigned-payload

rgw: aws4: handle UNSIGNED-PAYLOAD under header auth

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoosd: fix noisy debug line
Sage Weil [Sat, 16 Apr 2016 12:56:13 +0000 (08:56 -0400)]
osd: fix noisy debug line

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8628 from SUSE/wip-ceph-common-pre-scriptlet
Sage Weil [Sat, 16 Apr 2016 12:54:57 +0000 (08:54 -0400)]
Merge pull request #8628 from SUSE/wip-ceph-common-pre-scriptlet

ceph.spec.in: terminate if statement in %pre scriptlet

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes.rst: clarify ceph UID/GID assignment on SUSE 8590/head
Nathan Cutler [Sat, 16 Apr 2016 09:54:01 +0000 (11:54 +0200)]
doc/release-notes.rst: clarify ceph UID/GID assignment on SUSE

This patch attempts to describe the semantics by which the ceph UID/GID
is assigned on SUSE distros.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodoc/release-notes.rst: minor grammar and style corrections
Nathan Cutler [Sat, 16 Apr 2016 09:50:35 +0000 (11:50 +0200)]
doc/release-notes.rst: minor grammar and style corrections

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodoc/release-notes: expand distro/arch section to include arm64 info
Sage Weil [Fri, 15 Apr 2016 18:58:08 +0000 (14:58 -0400)]
doc/release-notes: expand distro/arch section to include arm64 info

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: more detail about the ext4 checks
Sage Weil [Fri, 15 Apr 2016 18:49:40 +0000 (14:49 -0400)]
doc/release-notes: more detail about the ext4 checks

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: include changes in rcs
Sage Weil [Thu, 14 Apr 2016 13:57:12 +0000 (09:57 -0400)]
doc/release-notes: include changes in rcs

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: clean up jewel notes
Sage Weil [Thu, 14 Apr 2016 12:59:49 +0000 (08:59 -0400)]
doc/release-notes: clean up jewel notes

- add notes for the rc's
- move upgrade info up to 10.2.0 (draft)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: fix rados scrub summary
Sage Weil [Thu, 14 Apr 2016 12:27:41 +0000 (08:27 -0400)]
doc/release-notes: fix rados scrub summary

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph.spec.in: terminate if statement in %pre scriptlet 8628/head
Nathan Cutler [Sat, 16 Apr 2016 11:48:03 +0000 (13:48 +0200)]
ceph.spec.in: terminate if statement in %pre scriptlet

One of the if statements in the ceph-common %pre scriptlet was not properly
terminated.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #8620 from yehudasa/wip-rgw-region-fixes
Orit Wasserman [Sat, 16 Apr 2016 08:06:51 +0000 (10:06 +0200)]
Merge pull request #8620 from yehudasa/wip-rgw-region-fixes

rgw : region to zonegroup related fixes
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #8617 from liewegas/wip-15098
Sage Weil [Sat, 16 Apr 2016 01:22:57 +0000 (21:22 -0400)]
Merge pull request #8617 from liewegas/wip-15098

debian: start ceph-mon-all and ceph-osd-all on package install …

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Dan Mick <dmick@redhat.com>
Tested-by: Yuri Weinstein <yweinste@redhat.com>
9 years agoMerge pull request #8613 from liewegas/wip-debug-map-trim
Sage Weil [Sat, 16 Apr 2016 01:17:34 +0000 (21:17 -0400)]
Merge pull request #8613 from liewegas/wip-debug-map-trim

osd: some debug output for old osdmap trimming

9 years agocommon: typo-fix for osd_check_max_object_name_len_on_startup
Yehuda Sadeh [Fri, 15 Apr 2016 23:48:34 +0000 (16:48 -0700)]
common: typo-fix for osd_check_max_object_name_len_on_startup

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: Add a test for multi-tenancy 8592/head
Pete Zaitcev [Fri, 15 Apr 2016 22:46:56 +0000 (16:46 -0600)]
rgw: Add a test for multi-tenancy

This is a very rudimentary test for now. For one thing, it
only creates a tenantized user, but does not even try to run
the radosgw and access it with Boto. And it already has several
XXX tags. But baby steps.

Two areas of exising code had to be fixed up.

 - We forgot to patch an argument through in RGWcluster.rgw_admin()

 - We must not process the arguments of a command through eval(1)
   in test-rgw-call.sh. This causes a double-eval with the function
   x() in test-rgw-common.sh, and as a result arguments with spaces
   or dollars cannot be used. There is no way to escape or quote.
   But we need the dollar for the tenant!

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
9 years agocommon: typo-fix for osd_check_max_object_name_len_on_startup 8621/head
Robin H. Johnson [Fri, 15 Apr 2016 22:27:44 +0000 (15:27 -0700)]
common: typo-fix for osd_check_max_object_name_len_on_startup

Fixes a typo introduced in 02f5885114eab8ce21dedb8c3337422d89cc0d9b

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agoMerge pull request #8560 from liewegas/wip-lfn-startup
Sage Weil [Fri, 15 Apr 2016 21:16:45 +0000 (17:16 -0400)]
Merge pull request #8560 from liewegas/wip-lfn-startup

osd: refuse to start if object name limits are not possible

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #7984 from rldleblanc/wpq-starvation
Sage Weil [Fri, 15 Apr 2016 21:16:21 +0000 (17:16 -0400)]
Merge pull request #7984 from rldleblanc/wpq-starvation

common: WeightedPriorityQueue Re-Add Round Robin for Classes

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Karol Mroz <kmroz@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8505 from liewegas/wip-15391
Sage Weil [Fri, 15 Apr 2016 21:14:57 +0000 (17:14 -0400)]
Merge pull request #8505 from liewegas/wip-15391

osd/ReplicatedPG: make handle_watch_timeout no-op if !active

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8545 from xiexingguo/xxg-wip-lfn
Sage Weil [Fri, 15 Apr 2016 21:14:39 +0000 (17:14 -0400)]
Merge pull request #8545 from xiexingguo/xxg-wip-lfn

os/filestore: fix return type mismatch for lfn parse

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8555 from avnerbh/fixes_no_3
Sage Weil [Fri, 15 Apr 2016 21:14:22 +0000 (17:14 -0400)]
Merge pull request #8555 from avnerbh/fixes_no_3

msg/xio: simple fixes

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
9 years agoMerge pull request #8570 from xiexingguo/xxg-wip-scrub
Sage Weil [Fri, 15 Apr 2016 21:11:51 +0000 (17:11 -0400)]
Merge pull request #8570 from xiexingguo/xxg-wip-scrub

osd: clear requeue_scrub_on_unblock flag after requeue scrub

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8586 from liewegas/wip-15441
Sage Weil [Fri, 15 Apr 2016 21:08:49 +0000 (17:08 -0400)]
Merge pull request #8586 from liewegas/wip-15441

osd: fix watch reconnect race

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8619 from yehudasa/wip-rgw-jewel-fixes
Casey Bodley [Fri, 15 Apr 2016 20:56:48 +0000 (16:56 -0400)]
Merge pull request #8619 from yehudasa/wip-rgw-jewel-fixes

rgw: fix binfo_cache, RGWShardCollectCR

9 years agorgw: cross rgw request need to send 'zonegroup' http header 8620/head
Yehuda Sadeh [Fri, 15 Apr 2016 20:42:19 +0000 (13:42 -0700)]
rgw: cross rgw request need to send 'zonegroup' http header

instead of 'region'.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix get_zonegroup()
Yehuda Sadeh [Fri, 15 Apr 2016 20:42:06 +0000 (13:42 -0700)]
rgw: fix get_zonegroup()

was passing in the wrong param

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8281 from theanalyst/doc/multisite-rgw
Casey Bodley [Fri, 15 Apr 2016 20:41:51 +0000 (16:41 -0400)]
Merge pull request #8281 from theanalyst/doc/multisite-rgw

doc: rgw adding a very basic multisite doc

9 years agodoc: add multisite to index 8281/head
Abhishek Lekshmanan [Fri, 15 Apr 2016 20:27:10 +0000 (22:27 +0200)]
doc: add multisite to index

Signed-off-by: Abhishek Lekshmanan <alekshmanan@suse.com>
9 years agodoc: rgw multisite documentation
Abhishek Lekshmanan [Wed, 23 Mar 2016 17:55:38 +0000 (18:55 +0100)]
doc: rgw multisite documentation

Adding basic documentation for new multisite features, with an example
showing 3 zones in a zonegroup.

Fixes: http://tracker.ceph.com/issues/15247
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agorgw: binfo_cache is now a RGWRados member 8619/head
Yehuda Sadeh [Fri, 15 Apr 2016 17:25:12 +0000 (10:25 -0700)]
rgw: binfo_cache is now a RGWRados member

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: RGWShardCollectCR does not need a cct member
Yehuda Sadeh [Fri, 15 Apr 2016 17:21:18 +0000 (10:21 -0700)]
rgw: RGWShardCollectCR does not need a cct member

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #7912 from ceph/wip-cmake-make-check
Casey Bodley [Fri, 15 Apr 2016 16:21:29 +0000 (12:21 -0400)]
Merge pull request #7912 from ceph/wip-cmake-make-check

Wip cmake make check

9 years agoMerge pull request #8614 from liewegas/wip-fsmap-underscore
Gregory Farnum [Fri, 15 Apr 2016 15:47:15 +0000 (08:47 -0700)]
Merge pull request #8614 from liewegas/wip-fsmap-underscore

mds/FSMap: use _ in key name

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agodebian: start ceph-mon-all and ceph-osd-all on package install 8617/head
Sage Weil [Fri, 15 Apr 2016 15:46:56 +0000 (11:46 -0400)]
debian: start ceph-mon-all and ceph-osd-all on package install

This matches ceph-mds-all and ceph-all behavior.

Fixes: http://tracker.ceph.com/issues/15098
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8615 from theanalyst/fix-mailmap-self
Loic Dachary [Fri, 15 Apr 2016 15:11:14 +0000 (17:11 +0200)]
Merge pull request #8615 from theanalyst/fix-mailmap-self

mailmap: Abhishek Lekshmanan affiliation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomailmap: Abhishek Lekshmanan affiliation 8615/head
Abhishek Lekshmanan [Fri, 15 Apr 2016 14:14:02 +0000 (16:14 +0200)]
mailmap: Abhishek Lekshmanan affiliation

Adding an entry to normalize the personal email id and work email id
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agomds/FSMap: use _ in key name 8614/head
Sage Weil [Fri, 15 Apr 2016 13:37:35 +0000 (09:37 -0400)]
mds/FSMap: use _ in key name

No space or else it isn't valid XML.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8608 from swamireddy/contrib_list_10.1.2
Loic Dachary [Fri, 15 Apr 2016 13:36:23 +0000 (15:36 +0200)]
Merge pull request #8608 from swamireddy/contrib_list_10.1.2

mailmap update

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoosd: some debug output for old osdmap trimming 8613/head
Sage Weil [Fri, 15 Apr 2016 13:14:34 +0000 (09:14 -0400)]
osd: some debug output for old osdmap trimming

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: add option to disable startup check 8560/head
Sage Weil [Fri, 15 Apr 2016 13:05:13 +0000 (09:05 -0400)]
osd: add option to disable startup check

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: refuse to start if configure object limits don't work
Sage Weil [Tue, 12 Apr 2016 15:00:33 +0000 (11:00 -0400)]
osd: refuse to start if configure object limits don't work

Fail early if the configured max object name cannot be stored on
the (FileStore) backend.  This avoids rude surprises down the
line when some random rados op get ENAMETOOLONG.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agovstart.sh: --short to set ext4-friendly object name and namespace limits
Sage Weil [Wed, 13 Apr 2016 20:48:12 +0000 (16:48 -0400)]
vstart.sh: --short to set ext4-friendly object name and namespace limits

So devs can work on ext4.  Note that this will also mean s3-tests
will fail under vstart.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/ReplicatedPG: fix implementation of register_on_success() 8465/head 8612/head
xie xingguo [Sat, 9 Apr 2016 04:48:22 +0000 (12:48 +0800)]
osd/ReplicatedPG: fix implementation of register_on_success()

We shall push the callbacks into on_success instead, I think.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agomailmap: Jenkins name normalization 8608/head
Swami Reddy [Sun, 10 Apr 2016 14:12:18 +0000 (19:42 +0530)]
mailmap: Jenkins name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Abhishek Lekshmanan name normalization
Swami Reddy [Sun, 10 Apr 2016 14:08:26 +0000 (19:38 +0530)]
mailmap: Abhishek Lekshmanan name normalization

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Wei Qiaomiao affiliation
Swami Reddy [Sun, 10 Apr 2016 14:06:36 +0000 (19:36 +0530)]
mailmap: Wei Qiaomiao affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agomailmap: Luo Runbing affiliation
Swami Reddy [Sun, 10 Apr 2016 14:04:39 +0000 (19:34 +0530)]
mailmap: Luo Runbing affiliation

Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
9 years agocmake: link ceph_test_rados_api_list against libglobal 7912/head
Kefu Chai [Fri, 15 Apr 2016 03:45:49 +0000 (11:45 +0800)]
cmake: link ceph_test_rados_api_list against libglobal

see 769c0aff

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: Add cython_modules to `make check`
Ali Maredia [Mon, 4 Apr 2016 21:45:11 +0000 (17:45 -0400)]
cmake: Add cython_modules to `make check`

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: remove repeat OSD.cc
Ali Maredia [Wed, 16 Mar 2016 19:32:03 +0000 (15:32 -0400)]
cmake: remove repeat OSD.cc

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: CMake environment variables added to automake
Ali Maredia [Wed, 17 Feb 2016 16:26:44 +0000 (11:26 -0500)]
cmake: CMake environment variables added to automake

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Building ceph-detect-init from source code
Ali Maredia [Mon, 15 Feb 2016 04:22:02 +0000 (23:22 -0500)]
cmake: Building ceph-detect-init from source code

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Building ceph-disk from source code
Ali Maredia [Mon, 15 Feb 2016 04:19:30 +0000 (23:19 -0500)]
cmake: Building ceph-disk from source code

Signed-off-by: Ali Maredia <amaredia@redhat.com>