]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoMerge remote-tracking branch 'gh/jewel'
Sage Weil [Fri, 25 Mar 2016 19:49:23 +0000 (15:49 -0400)]
Merge remote-tracking branch 'gh/jewel'

9 years agoMerge pull request #8310 from tchaikov/wip-fix-rbdmap-manpage
Kefu Chai [Fri, 25 Mar 2016 17:23:41 +0000 (01:23 +0800)]
Merge pull request #8310 from tchaikov/wip-fix-rbdmap-manpage

makefile: fix rbdmap manpage

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agocmake: conditionally install man pages 8310/head
Kefu Chai [Fri, 25 Mar 2016 15:46:25 +0000 (23:46 +0800)]
cmake: conditionally install man pages

this matches its counterpart in automake
* install fuse related man pages only if HAVE_LIBFUSE
* install rbd related man pages only if WITH_RBD

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoautotools: add rbdmap to dist_man_MANS
Kefu Chai [Fri, 25 Mar 2016 15:38:48 +0000 (23:38 +0800)]
autotools: add rbdmap to dist_man_MANS

this fixes the rpm/deb build failure
was introduced by 20c8650

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8038 from badone/wip-crushtool-crash
Sage Weil [Fri, 25 Mar 2016 15:22:43 +0000 (11:22 -0400)]
Merge pull request #8038 from badone/wip-crushtool-crash

crushtool: Don't crash when called on a file that isn't a crushmap

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8309 from tchaikov/wip-15240
Kefu Chai [Fri, 25 Mar 2016 15:21:31 +0000 (23:21 +0800)]
Merge pull request #8309 from tchaikov/wip-15240

test/system/rados_list_parallel: print oid if rados_write fails

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoxxHash: fix submodule commit
Sage Weil [Fri, 25 Mar 2016 15:10:06 +0000 (11:10 -0400)]
xxHash: fix submodule commit

This was inadvertantly rewinded in b9a14312edd6a4edb0f4783ab08ad97e0e9ba03f

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8211 from liewegas/wip-jewel
Sage Weil [Fri, 25 Mar 2016 13:55:30 +0000 (09:55 -0400)]
Merge pull request #8211 from liewegas/wip-jewel

doc: draft notes for jewel

9 years agoMerge pull request #8044 from dzafman/wip-8885
Sage Weil [Fri, 25 Mar 2016 13:53:56 +0000 (09:53 -0400)]
Merge pull request #8044 from dzafman/wip-8885

osd: fix dump_ops_in_flight races

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8156 from liewegas/wip-pg-query
Sage Weil [Fri, 25 Mar 2016 13:52:35 +0000 (09:52 -0400)]
Merge pull request #8156 from liewegas/wip-pg-query

osd/PG: indicate in pg query output whether ignore_history_les would help

Revewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8177 from majianpeng/signal-handle
Sage Weil [Fri, 25 Mar 2016 13:52:21 +0000 (09:52 -0400)]
Merge pull request #8177 from majianpeng/signal-handle

global/signal_handler: print thread name in signal handler

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotest/system/rados_list_parallel: print oid if rados_write fails 8309/head
Kefu Chai [Fri, 25 Mar 2016 13:43:24 +0000 (21:43 +0800)]
test/system/rados_list_parallel: print oid if rados_write fails

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agodoc/release-notes: rgw typo 8211/head
Sage Weil [Fri, 25 Mar 2016 13:41:12 +0000 (09:41 -0400)]
doc/release-notes: rgw typo

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8294 from theanalyst/rgw/bucket-quota-check
Orit Wasserman [Fri, 25 Mar 2016 12:50:44 +0000 (13:50 +0100)]
Merge pull request #8294 from theanalyst/rgw/bucket-quota-check

rgw:Use count fn in RGWUserBuckets for quota check

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge remote-tracking branch 'origin/wip-15065'
Greg Farnum [Fri, 25 Mar 2016 00:55:56 +0000 (17:55 -0700)]
Merge remote-tracking branch 'origin/wip-15065'

Support new standby_for_fscid option, letting us assign daemons to FS clusters.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge branch 'wip-mfsmap-features' of git://github.com/jcsp/ceph
Greg Farnum [Fri, 25 Mar 2016 00:50:43 +0000 (17:50 -0700)]
Merge branch 'wip-mfsmap-features' of git://github.com/jcsp/ceph

Clean up some code in the new multi-fs handling. Make its output
more precise and add some debug/repair config options.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Conflicts:
src/mds/FSMap.cc

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #7952 from ukernel/wip-14360
Gregory Farnum [Fri, 25 Mar 2016 00:49:22 +0000 (17:49 -0700)]
Merge pull request #7952 from ukernel/wip-14360

mds: allow client to request caps when opening file

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #8180 from ukernel/jewel-15167
Gregory Farnum [Fri, 25 Mar 2016 00:44:53 +0000 (17:44 -0700)]
Merge pull request #8180 from ukernel/jewel-15167

Be more careful about directory fragmentation and scrubbing

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #8115 from ukernel/jewel-cephfs-data-scan-misc
Gregory Farnum [Fri, 25 Mar 2016 00:41:38 +0000 (17:41 -0700)]
Merge pull request #8115 from ukernel/jewel-cephfs-data-scan-misc

Minor fixes around data scan in some scenarios

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #8297 from dillaman/wip-cls-rbd-mirror-image-list
Josh Durgin [Thu, 24 Mar 2016 16:28:16 +0000 (09:28 -0700)]
Merge pull request #8297 from dillaman/wip-cls-rbd-mirror-image-list

cls_rbd: mirror_image_list should return global image id

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8253 from wido/issue-15119
Orit Wasserman [Thu, 24 Mar 2016 16:26:25 +0000 (17:26 +0100)]
Merge pull request #8253 from wido/issue-15119

rgw: Do not send a Content-Type on a '304 Not Modified' response

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #8224 from SUSE/wip-15212
Josh Durgin [Thu, 24 Mar 2016 16:19:48 +0000 (09:19 -0700)]
Merge pull request #8224 from SUSE/wip-15212

rbdmap: add manpage

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agocls_rbd: mirror_image_list should return global image id 8297/head
Jason Dillaman [Thu, 24 Mar 2016 12:46:54 +0000 (08:46 -0400)]
cls_rbd: mirror_image_list should return global image id

The global image id is needed to crosslink images when an image is
replicated between multiple clusters.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorgw:Use count fn in RGWUserBuckets for quota check 8294/head
Abhishek Lekshmanan [Thu, 24 Mar 2016 11:01:51 +0000 (12:01 +0100)]
rgw:Use count fn in RGWUserBuckets for quota check

We already have a count function from RGWUserBuckets class which gives
the total size of the map, use that instead of getting the map and doing
a count.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years ago10.1.0 v10.1.0
Jenkins Build Slave User [Thu, 24 Mar 2016 10:53:48 +0000 (10:53 +0000)]
10.1.0

9 years agoMerge pull request #8285 from dmick/jewel
Alfredo Deza [Thu, 24 Mar 2016 10:45:16 +0000 (06:45 -0400)]
Merge pull request #8285 from dmick/jewel

debian/control: try installing virtualenv first, if it exists

Reviewed-by: Alfredo Deza <adeza@redhat.com>
9 years agoMerge pull request #8251 from majianpeng/vstart
Kefu Chai [Thu, 24 Mar 2016 03:16:43 +0000 (11:16 +0800)]
Merge pull request #8251 from majianpeng/vstart

vstart: make -k with optional mon_num.

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agovstart: make -k with optional mon_num. 8251/head
Jianpeng Ma [Thu, 24 Mar 2016 09:36:42 +0000 (17:36 +0800)]
vstart: make -k with optional mon_num.

Default mon_num=3, if we change this and using -k to create a new
cluster. It don't work. So we must record the old mon_num.
The same for osd_num/mds_num/rgw_num.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
9 years agoMerge pull request #8288 from dmick/wip-default-virtualenv-path
Josh Durgin [Thu, 24 Mar 2016 02:34:55 +0000 (19:34 -0700)]
Merge pull request #8288 from dmick/wip-default-virtualenv-path

Makefile-env.am: set a default for CEPH_BUILD_VIRTUALENV

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMakefile-env.am: set a default for CEPH_BUILD_VIRTUALENV 8288/head
Dan Mick [Thu, 24 Mar 2016 01:13:21 +0000 (18:13 -0700)]
Makefile-env.am: set a default for CEPH_BUILD_VIRTUALENV

We need to shorten the virtualenv path for non-Jenkins builds
too; gitbuilders were also overflowing the interpreter path limit

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #8235 from trociny/wip-rbd-mirror-asok
Jason Dillaman [Thu, 24 Mar 2016 00:47:01 +0000 (20:47 -0400)]
Merge pull request #8235 from trociny/wip-rbd-mirror-asok

rbd-mirror: asok commands to get status and flush on Mirror and Replayer level

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agodebian/control: try installing virtualenv first, if it exists 8285/head
Dan Mick [Wed, 23 Mar 2016 22:47:10 +0000 (15:47 -0700)]
debian/control: try installing virtualenv first, if it exists

Debian Jessie (at least) now has the virtualenv command in
package 'virtualenv', which depends on python3-virtualenv, and
that's how you get the virtualenv command there.  Earlier
Debian-based releases still use python-virtualenv.  Jessie's
virtualenv command still creates a python2 venv by default.

This will require a followup fix for install-deps.sh
to handle the | correctly, because currently it sends
the string to apt-get, which treats it as a regular expression
alternation of the two package names, so will try to install both.

The problem occurs when packages are installed without Recommended
packages (because jessie's virtualenv package currently Recommends
python-virtualenv); this is the case under pbuilder, and also using
'mk-build-deps --install', and I suspect under other automated
package-building tools.

Note that Build-Requires processing is not specified to
perform the searches in left-to-right order, so even this is
a tenuous workaround.  We probably need distro-specific
debian/ directories.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #8280 from rjfd/wip-15238
Jason Dillaman [Thu, 24 Mar 2016 00:34:17 +0000 (20:34 -0400)]
Merge pull request #8280 from rjfd/wip-15238

rbd-mirror: switch fsid over to mirror uuid

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7976 from ukernel/jewel-15008
Gregory Farnum [Thu, 24 Mar 2016 00:08:49 +0000 (17:08 -0700)]
Merge pull request #7976 from ukernel/jewel-15008

Jewel 15008

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #7902 from jcsp/wip-pycephfs-flock
Gregory Farnum [Thu, 24 Mar 2016 00:06:15 +0000 (17:06 -0700)]
Merge pull request #7902 from jcsp/wip-pycephfs-flock

pybind: add flock to libcephfs python bindings

Reviewed-by: Yan, Zheng <zyan@redhat.com>
9 years agoMerge pull request #7901 from jcsp/wip-pycephfs-fixes
Gregory Farnum [Thu, 24 Mar 2016 00:05:22 +0000 (17:05 -0700)]
Merge pull request #7901 from jcsp/wip-pycephfs-fixes

libcephfs: fix python tests and fix getcwd on missing dir

Reviewed-by: Yan, Zheng <zyan@redhat.com>
9 years agoMerge pull request #8271 from vumrao/wip-vumrao-15244
Yehuda Sadeh [Wed, 23 Mar 2016 22:33:47 +0000 (15:33 -0700)]
Merge pull request #8271 from vumrao/wip-vumrao-15244

doc: rgw_region_root_pool option should be in [global]

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8184 from theanalyst/fix/rgw-admin-zone-msg
Yehuda Sadeh [Wed, 23 Mar 2016 22:29:18 +0000 (15:29 -0700)]
Merge pull request #8184 from theanalyst/fix/rgw-admin-zone-msg

rgw: add zone delete to rgw-admin help

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8264 from cbodley/wip-rgw-admin-errors
Yehuda Sadeh [Wed, 23 Mar 2016 22:28:17 +0000 (15:28 -0700)]
Merge pull request #8264 from cbodley/wip-rgw-admin-errors

radosgw-admin: 'period commit' supplies user-readable error messages

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8190 from yehudasa/wip-rgw-sync-fixes-4
Yehuda Sadeh [Wed, 23 Mar 2016 22:23:16 +0000 (15:23 -0700)]
Merge pull request #8190 from yehudasa/wip-rgw-sync-fixes-4

Wip rgw sync fixes 4

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agorbd: rbd-mirroring: Replayer registers in remote journal with mirror_uuid 8280/head
Ricardo Dias [Wed, 23 Mar 2016 17:06:46 +0000 (17:06 +0000)]
rbd: rbd-mirroring: Replayer registers in remote journal with mirror_uuid

Signed-off-by: Ricardo Dias <rdias@suse.com>
Fixes: #15238
9 years agoMerge pull request #8282 from dillaman/wip-15250
Josh Durgin [Wed, 23 Mar 2016 21:14:30 +0000 (14:14 -0700)]
Merge pull request #8282 from dillaman/wip-15250

rbd: allow librados to prune the command-line for config overrides

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7907 from dachary/wip-subman-facts
Sage Weil [Wed, 23 Mar 2016 21:05:47 +0000 (17:05 -0400)]
Merge pull request #7907 from dachary/wip-subman-facts

script: subscription-manager support

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agoMerge pull request #8022 from roidayan/fix_compile_against_latest_accelio
Casey Bodley [Wed, 23 Mar 2016 20:32:55 +0000 (16:32 -0400)]
Merge pull request #8022 from roidayan/fix_compile_against_latest_accelio

xio: fix compilation against latest accelio

9 years agorbd: allow librados to prune the command-line for config overrides 8282/head
Jason Dillaman [Wed, 23 Mar 2016 19:34:17 +0000 (15:34 -0400)]
rbd: allow librados to prune the command-line for config overrides

Fixes: #15250
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8279 from dachary/wip-virtualenv-jessie
Alfredo Deza [Wed, 23 Mar 2016 19:17:20 +0000 (15:17 -0400)]
Merge pull request #8279 from dachary/wip-virtualenv-jessie

build/ops: in jessie virtualenv is in package virtualenv

Reviewed-by: Alfredo Deza <adeza@redhat.com>
9 years agobuild/ops: in jessie virtualenv is in package virtualenv 8279/head
Loic Dachary [Wed, 23 Mar 2016 16:56:37 +0000 (17:56 +0100)]
build/ops: in jessie virtualenv is in package virtualenv

The python scripts are not yet compatible with python3, yet it is the
default on jessie. Force the creation of the virtualenv to use python2.7
instead. The wheelhouse is already explicitly populated for both python3
and python2.7 by install-deps.sh, regardless of the default interpreter.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agotest/rgw: use bucket for data checkpoint instead of data 8190/head
Yehuda Sadeh [Mon, 21 Mar 2016 23:52:14 +0000 (16:52 -0700)]
test/rgw: use bucket for data checkpoint instead of data

data checkpoint is not accurate, as data log might not show repeating changes.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: data sync, update and flush high marker
Yehuda Sadeh [Mon, 21 Mar 2016 23:50:32 +0000 (16:50 -0700)]
rgw: data sync, update and flush high marker

We need to update the high marker even if we skip entries, and eventually
flush it. This is needed so that our position in the bucket index log that
we follow is reflected correctly.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: update data log even if canceling index operation
Yehuda Sadeh [Mon, 21 Mar 2016 23:49:20 +0000 (16:49 -0700)]
rgw: update data log even if canceling index operation

Need to update the data log anyway, so that it reflects that there were
changes in the bucket index log.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: break out of run_sync() if going down
Yehuda Sadeh [Mon, 21 Mar 2016 23:48:01 +0000 (16:48 -0700)]
rgw: break out of run_sync() if going down

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix bucket_instance_meta_info mtime json decoding
Yehuda Sadeh [Fri, 18 Mar 2016 22:49:20 +0000 (15:49 -0700)]
rgw: fix bucket_instance_meta_info mtime json decoding

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8277 from SUSE/wip-15246
Sage Weil [Wed, 23 Mar 2016 16:55:38 +0000 (12:55 -0400)]
Merge pull request #8277 from SUSE/wip-15246

rpm: prefer UID/GID 167 when creating ceph user/group

Reviewed-by: David Disseldorp ddiss@suse.de
Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agoMerge pull request #8222 from SUSE/wip-14984
Sage Weil [Wed, 23 Mar 2016 16:33:39 +0000 (12:33 -0400)]
Merge pull request #8222 from SUSE/wip-14984

systemd: set up environment in rbdmap unit file

Reviewed-by: Boris Ranto <branto@redhat.com>
9 years agoxio: fix compilation against latest accelio 8022/head
Roi Dayan [Sun, 14 Feb 2016 09:45:22 +0000 (11:45 +0200)]
xio: fix compilation against latest accelio

Do not use C struct initilization style to avoid eclipse errors.
We also don't use c++ struct initalize as members are not specified
and it just happens that in latest accelio version one of the fields
has changed in the middle of the struct.

Signed-off-by: Roi Dayan <roid@mellanox.com>
9 years agoMerge pull request #8268 from yehudasa/wip-15243
Yehuda Sadeh [Wed, 23 Mar 2016 16:26:00 +0000 (09:26 -0700)]
Merge pull request #8268 from yehudasa/wip-15243

rgw: convert plain object to versioned (with null version) when removing

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #8148 from roidayan/xio-add_prefix_to_xio_logs
Casey Bodley [Wed, 23 Mar 2016 16:21:52 +0000 (12:21 -0400)]
Merge pull request #8148 from roidayan/xio-add_prefix_to_xio_logs

xio: add prefix to xio msgr logs

9 years agoMerge pull request #8227 from roidayan/xio-call_xio_init_first
Casey Bodley [Wed, 23 Mar 2016 16:21:09 +0000 (12:21 -0400)]
Merge pull request #8227 from roidayan/xio-call_xio_init_first

xio: xio_init needs to be called before any other xio function

9 years agoMerge pull request #8207 from theanalyst/doc/mstart
Sage Weil [Wed, 23 Mar 2016 16:17:53 +0000 (12:17 -0400)]
Merge pull request #8207 from theanalyst/doc/mstart

doc: very basic doc on mstart

9 years agoMerge pull request #8237 from oritwas/wip-rgw-fix-mrun
Casey Bodley [Wed, 23 Mar 2016 15:35:23 +0000 (11:35 -0400)]
Merge pull request #8237 from oritwas/wip-rgw-fix-mrun

cmake: fix mrun to handle cmake build structure

9 years agorgw: convert plain object to versioned (with null version) when removing 8268/head
Yehuda Sadeh [Wed, 23 Mar 2016 01:14:57 +0000 (18:14 -0700)]
rgw: convert plain object to versioned (with null version) when removing

Fixes #15243

When removing a plain null versioned object (was created prior to bucket versioning
enabled), need to convert the bucket index representation to a versioned one. This
is needed so that all the versioning mechanics play together.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoradosgw-admin: add explanation for EACCESS on 'realm pull' 8264/head
Casey Bodley [Wed, 23 Mar 2016 15:11:48 +0000 (11:11 -0400)]
radosgw-admin: add explanation for EACCESS on 'realm pull'

References #15200

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw: 'period commit' supplies user-readable error messages
Casey Bodley [Mon, 21 Mar 2016 18:51:58 +0000 (14:51 -0400)]
rgw: 'period commit' supplies user-readable error messages

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoradosgw-admin: parse error messages from failed requests
Casey Bodley [Fri, 18 Mar 2016 20:56:24 +0000 (16:56 -0400)]
radosgw-admin: parse error messages from failed requests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agopackaging: rbdmap manpage 8224/head
Nathan Cutler [Sat, 19 Mar 2016 20:59:47 +0000 (21:59 +0100)]
packaging: rbdmap manpage

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #8273 from wjin/fix
Kefu Chai [Wed, 23 Mar 2016 13:43:11 +0000 (21:43 +0800)]
Merge pull request #8273 from wjin/fix

osd: fix log info

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoRPM: prefer UID/GID 167 when creating ceph user/group 8277/head
Nathan Cutler [Wed, 23 Mar 2016 12:46:25 +0000 (13:46 +0100)]
RPM: prefer UID/GID 167 when creating ceph user/group

This change affects openSUSE/SLE only.

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #8260 from liewegas/wip-ec-test
Kefu Chai [Wed, 23 Mar 2016 13:22:44 +0000 (21:22 +0800)]
Merge pull request #8260 from liewegas/wip-ec-test

test/test-erasure-code.sh: disable pg_temp priming

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #8276 from dachary/wip-virtualenv-jewel
Alfredo Deza [Wed, 23 Mar 2016 12:50:25 +0000 (08:50 -0400)]
Merge pull request #8276 from dachary/wip-virtualenv-jewel

python: avoid long paths (part 2)

Reviewed-by: Alfredo Deza <adeza@redhat.com>
9 years agopython: avoid long paths (part 2) 8276/head
Loic Dachary [Wed, 23 Mar 2016 12:14:17 +0000 (13:14 +0100)]
python: avoid long paths (part 2)

make CEPH_BUILD_VIRTUALENV=/tmp TESTS=ceph-detect-init/run-tox.sh check

sets the CEPH_DETECT_INIT_VIRTUALENV environment variable

CEPH_BUILD_VIRTUALENV=/tmp make TESTS=ceph-detect-init/run-tox.sh check

does not because Makefile-env.am overrides it.

Do not set CEPH_BUILD_VIRTUALENV in Makefile-env.am so the variable from
the environment can be used. Require that CEPH_BUILD_VIRTUALENV has a
trailing slash so that the default is just an empty variable.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agodoc: rgw_region_root_pool option should be in [global] 8271/head
Vikhyat Umrao [Wed, 23 Mar 2016 06:19:43 +0000 (11:49 +0530)]
doc: rgw_region_root_pool option should be in [global]
     add new option rgw_zonegroup_root_pool from Jewel.

Fixes: #15244
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
9 years agoosd: fix log info 8273/head
Wei Jin [Wed, 23 Mar 2016 08:12:38 +0000 (16:12 +0800)]
osd: fix log info

Signed-off-by: Wei Jin <wjin.cn@gmail.com>
9 years agoMerge pull request #8250 from dachary/wip-virtualenv-jewel
Alfredo Deza [Tue, 22 Mar 2016 21:51:38 +0000 (17:51 -0400)]
Merge pull request #8250 from dachary/wip-virtualenv-jewel

python: avoid long paths

Reviewed-by: Alfredo Deza <adeza@redhat.com>
9 years agoMerge pull request #8267 from athanatos/wip-14309
Sage Weil [Tue, 22 Mar 2016 21:27:43 +0000 (17:27 -0400)]
Merge pull request #8267 from athanatos/wip-14309

osd: bail out of _committed_osd_maps if we are shutting down

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agopython: avoid long paths 8250/head
Loic Dachary [Mon, 21 Mar 2016 21:54:41 +0000 (22:54 +0100)]
python: avoid long paths

As a temporary measure because it overflows when jenkins tries to build
in a deep path. Run make with:

make CEPH_BUILD_VIRTUALENV=/tmp

and it will use these directories instead of the default.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoMerge pull request #8266 from athanatos/wip-test-exit-value
Samuel Just [Tue, 22 Mar 2016 18:24:53 +0000 (11:24 -0700)]
Merge pull request #8266 from athanatos/wip-test-exit-value

Test exit values on test.sh, fix tier.cc

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agotest/librados/tier.cc: Fix Whiteout tests to force promotion 8266/head
Samuel Just [Thu, 17 Mar 2016 18:56:04 +0000 (11:56 -0700)]
test/librados/tier.cc: Fix Whiteout tests to force promotion

Otherwise, there may not actually be whiteouts created.

Fixes: 15177
Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoqa/workunits/rados/test.sh: check subprocess return values
Samuel Just [Thu, 17 Mar 2016 18:51:56 +0000 (11:51 -0700)]
qa/workunits/rados/test.sh: check subprocess return values

Fixes: #15165
Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8263 from tchaikov/wip-15031
Sage Weil [Tue, 22 Mar 2016 17:10:12 +0000 (13:10 -0400)]
Merge pull request #8263 from tchaikov/wip-15031

msg/async: avoid log spam on throttle

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge branch 'wip-release-notes' of git://github.com/dachary/ceph into wip-jewel
Sage Weil [Tue, 22 Mar 2016 16:24:56 +0000 (12:24 -0400)]
Merge branch 'wip-release-notes' of git://github.com/dachary/ceph into wip-jewel

Conflicts:
doc/release-notes.rst

9 years agotest/test-erasure-code.sh: disable pg temp priming 8260/head
Sage Weil [Tue, 22 Mar 2016 15:47:03 +0000 (11:47 -0400)]
test/test-erasure-code.sh: disable pg temp priming

If we prime pg_temp, there is a race where this test expects an out OSD
to not be in the acting set but it will be there initially.

Fixes: #15211
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomsg/async: avoid log spam on throttle 8263/head
Kefu Chai [Tue, 22 Mar 2016 15:30:14 +0000 (23:30 +0800)]
msg/async: avoid log spam on throttle

increase the log level from 1 to 10, the log is printed when message
throttler kicks in.

Fixes: #15031
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8252 from xiexingguo/xxg-wip-15164
Kefu Chai [Tue, 22 Mar 2016 14:35:00 +0000 (22:35 +0800)]
Merge pull request #8252 from xiexingguo/xxg-wip-15164

doc: fix wrong type of hyphen

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8239 from jcsp/wip-15223
Sage Weil [Tue, 22 Mar 2016 14:32:28 +0000 (10:32 -0400)]
Merge pull request #8239 from jcsp/wip-15223

mon: fix mixed-version MDSMonitor

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agomds: enable standby_for_fscid without rank 8257/head
John Spray [Tue, 22 Mar 2016 11:54:24 +0000 (11:54 +0000)]
mds: enable standby_for_fscid without rank

...so that an MDS can specify that it wants
to act within a particular filesystem without
having to be bound to a particular rank.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomds: add mds_standby_for_fscid config
John Spray [Tue, 22 Mar 2016 11:21:30 +0000 (11:21 +0000)]
mds: add mds_standby_for_fscid config

...and pass it through into MMDSBeacon.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomessages: add MMDSBeacon::standby_for_fscid
John Spray [Tue, 22 Mar 2016 11:11:28 +0000 (11:11 +0000)]
messages: add MMDSBeacon::standby_for_fscid

For the MDS daemon to tell the mon which filesystem
it wants to a be a standby for, when it is expressing
a standby_for_rank.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomds: s/standby_for_ns/standby_for_fscid/
John Spray [Tue, 22 Mar 2016 11:05:02 +0000 (11:05 +0000)]
mds: s/standby_for_ns/standby_for_fscid/

Name dates from earlier version of multi-fs
where I was referring to filesystem IDs
as namespace IDs.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agovstart: support creating multiple cephfs filesystems
John Spray [Wed, 16 Mar 2016 12:52:58 +0000 (12:52 +0000)]
vstart: support creating multiple cephfs filesystems

This is handy if you want to quickly create a cluster
with lots of filesystems, for playing with e.g. what
the ceph status output looks like when multiple filesystems
are in play.

This changes the default filesystem/pool names to be
e.g. cephfs_data_a instead of just `cephfs_data`, but anything
who relied on those names in a vstart environment houldn't have
been (this won't affect teuthology tests, of course, where we
still have a few annoying hardcoded pool names).

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomon: s/mdsmap/fsmap/ in "ceph status"
John Spray [Wed, 16 Mar 2016 12:52:11 +0000 (12:52 +0000)]
mon: s/mdsmap/fsmap/ in "ceph status"

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomds: plain text prints for FSMap/Filesystem
John Spray [Wed, 16 Mar 2016 12:51:23 +0000 (12:51 +0000)]
mds: plain text prints for FSMap/Filesystem

These were just dumping JSON as a placeholder.

Not strictly necessary to have the extra non-machine-readable
variants of these outputs, but some users will probably appreciate
it, so why not.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomon: config setting to skip FSMap::sanity
John Spray [Wed, 16 Mar 2016 12:49:51 +0000 (12:49 +0000)]
mon: config setting to skip FSMap::sanity

Only for use in extremis, where we have encountered
a bug that generates an invalid FSMap, but the way
to resolve it might be to proceed anyway and stay
up long enough to use commands to fix it.

Fixes: #15063
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomds: pass features through to MDSMap::encode
John Spray [Tue, 15 Mar 2016 13:27:21 +0000 (13:27 +0000)]
mds: pass features through to MDSMap::encode

...from Filesystem.  This will prepare us for if
MDSMap gets any more feature-sensitive encoding
in the future.

Fixes: #15062
Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomds: fix mds_info_t::dump
John Spray [Mon, 14 Mar 2016 23:45:50 +0000 (23:45 +0000)]
mds: fix mds_info_t::dump

This broke with 4ad8f7254 ('features' gets
output as an item in the 'export_targets' list),
which wasn't the fsmap branch, but fix it while
I'm tidying.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomds: fix whitespace in is_cluster_available
John Spray [Mon, 14 Mar 2016 23:40:54 +0000 (23:40 +0000)]
mds: fix whitespace in is_cluster_available

This got mangled somehow.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomds/FSMap: pass by ref in update_compat
John Spray [Mon, 14 Mar 2016 12:45:30 +0000 (12:45 +0000)]
mds/FSMap: pass by ref in update_compat

Coverity: CID 1355578:  Performance inefficiencies  (PASS_BY_VALUE)

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agotools: update naming s/handle_mds_map/handle_fs_map/
John Spray [Sat, 12 Mar 2016 18:17:50 +0000 (18:17 +0000)]
tools: update naming s/handle_mds_map/handle_fs_map/

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomon: name cleanup s/mdsmap_bl/fsmap_bl/
John Spray [Sat, 12 Mar 2016 17:50:15 +0000 (17:50 +0000)]
mon: name cleanup s/mdsmap_bl/fsmap_bl/

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agomessages: support features in MFSMap
John Spray [Wed, 9 Mar 2016 12:13:21 +0000 (12:13 +0000)]
messages: support features in MFSMap

Not used for anything currently, but let's make
this class pass through the features to FSMap's
encode method for the benefit of the future
generations.

Signed-off-by: John Spray <john.spray@redhat.com>
9 years agorelease-notes: draft v10.1.0 release notes (manual edits) 8255/head
Loic Dachary [Tue, 22 Mar 2016 10:47:50 +0000 (11:47 +0100)]
release-notes: draft v10.1.0 release notes (manual edits)

Signed-off-by: Loic Dachary <loic@dachary.org>