]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agorados: Add noreturn attribute to silence uninitialized warning 19348/head
Adam C. Emerson [Tue, 5 Dec 2017 19:29:48 +0000 (14:29 -0500)]
rados: Add noreturn attribute to silence uninitialized warning

Marking the `usage_exit` function as noreturn lets the compiler know
that execution won't continue beyond the statement where it's called,
so the path that would lead to the variables being used uninitialized
doesn't count.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agoMerge pull request #19101 from ifed01/wip-ifed-extending-fio
Igor Fedotov [Tue, 5 Dec 2017 13:41:19 +0000 (14:41 +0100)]
Merge pull request #19101 from ifed01/wip-ifed-extending-fio

test/fio: extend fio objectstore plugin to better simulate OSD behavior

7 years agoMerge pull request #18863 from tchaikov/wip-devtoolset-7
Kefu Chai [Tue, 5 Dec 2017 13:27:42 +0000 (21:27 +0800)]
Merge pull request #18863 from tchaikov/wip-devtoolset-7

build/ops: use devtoolset-7 on centos/rhel-7

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18812 from tchaikov/wip-pybind-rados-service-api
Kefu Chai [Tue, 5 Dec 2017 12:33:58 +0000 (20:33 +0800)]
Merge pull request #18812 from tchaikov/wip-pybind-rados-service-api

pybind/rados: add rados_service_*()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty
Kefu Chai [Tue, 5 Dec 2017 12:31:58 +0000 (20:31 +0800)]
Merge pull request #19307 from tchaikov/wip-drop-ubuntu-trusty

qa,doc: drop support of ubuntu trusty

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoinstall-deps.sh: use gcc-7 on trusty 18863/head
Kefu Chai [Sun, 12 Nov 2017 05:07:35 +0000 (13:07 +0800)]
install-deps.sh: use gcc-7 on trusty

* always install gcc-7 on trusty
* point g++ to g++-7 if not yet

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph.spec: use devtoolset-7-gcc-c++ on centos/rhel
Kefu Chai [Fri, 10 Nov 2017 12:05:49 +0000 (20:05 +0800)]
ceph.spec: use devtoolset-7-gcc-c++ on centos/rhel

for better performance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps.sh: always use yum-config-manager for consistency
Kefu Chai [Fri, 10 Nov 2017 12:03:25 +0000 (20:03 +0800)]
install-deps.sh: always use yum-config-manager for consistency

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoinstall-deps.sh: install devtoolset-7 for centos/rhel
Kefu Chai [Fri, 10 Nov 2017 01:32:13 +0000 (09:32 +0800)]
install-deps.sh: install devtoolset-7 for centos/rhel

ready them for gcc7 and libstdc++-7 for better performance.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19324 from neha-ojha/wip-fix-collectl
Josh Durgin [Tue, 5 Dec 2017 01:33:43 +0000 (17:33 -0800)]
Merge pull request #19324 from neha-ojha/wip-fix-collectl

qa: install collectl with cbt task

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #19325 from ceph/wip-ceph-disk-man-fix
Alfredo Deza [Tue, 5 Dec 2017 00:43:36 +0000 (19:43 -0500)]
Merge pull request #19325 from ceph/wip-ceph-disk-man-fix

doc/man remove deprecation of ceph-disk man page title

Reviewed-by: Brad Hubbard
7 years agodoc/man remove deprecation of ceph-disk man page title 19325/head
Alfredo Deza [Mon, 4 Dec 2017 22:01:33 +0000 (17:01 -0500)]
doc/man remove deprecation of ceph-disk man page title

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoqa: install collectl with cbt task 19324/head
Neha Ojha [Mon, 4 Dec 2017 21:50:33 +0000 (13:50 -0800)]
qa: install collectl with cbt task

Signed-off-by: Neha Ojha <nojha@redhat.com>
7 years agoMerge pull request #19241 from ceph/wip-doc-deprecate-cdisk
Andrew Schoen [Mon, 4 Dec 2017 16:37:46 +0000 (10:37 -0600)]
Merge pull request #19241 from ceph/wip-doc-deprecate-cdisk

doc: update references to use ceph-volume

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19321 from ceph/wip-rm22305
Andrew Schoen [Mon, 4 Dec 2017 15:48:36 +0000 (09:48 -0600)]
Merge pull request #19321 from ceph/wip-rm22305

ceph-volume should be able to handle multiple LVM (VG/LV) tags

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19319 from ceph/wip-rm22297
Andrew Schoen [Mon, 4 Dec 2017 15:25:15 +0000 (09:25 -0600)]
Merge pull request #19319 from ceph/wip-rm22297

ceph-volume  handle inline comments in the ceph.conf file

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests.api ensure that we can handle non-ceph tags in lvs 19321/head
Alfredo Deza [Mon, 4 Dec 2017 14:56:00 +0000 (09:56 -0500)]
ceph-volume tests.api ensure that we can handle non-ceph tags in lvs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19316 from trociny/wip-blkdev-fixup
Sage Weil [Mon, 4 Dec 2017 14:55:53 +0000 (08:55 -0600)]
Merge pull request #19316 from trociny/wip-blkdev-fixup

common/blkdev: fix build in FreeBSD environment

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoceph-volume api.lvm only consider 'ceph.' tags in logical volumes
Alfredo Deza [Mon, 4 Dec 2017 14:54:35 +0000 (09:54 -0500)]
ceph-volume api.lvm only consider 'ceph.' tags in logical volumes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/install use ceph-volume in manual deployment steps 19241/head
Alfredo Deza [Wed, 29 Nov 2017 16:13:47 +0000 (11:13 -0500)]
doc/install use ceph-volume in manual deployment steps

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update user-management to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:57:53 +0000 (09:57 -0500)]
doc/rados update user-management to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update bluestore-migration to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:57:29 +0000 (09:57 -0500)]
doc/rados update bluestore-migration to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update add-or-rm-osds to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:57:09 +0000 (09:57 -0500)]
doc/rados update add-or-rm-osds to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update bluestore config to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:56:15 +0000 (09:56 -0500)]
doc/rados update bluestore config to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados update auth config examples to use ceph-volume
Alfredo Deza [Wed, 29 Nov 2017 14:55:59 +0000 (09:55 -0500)]
doc/rados update auth config examples to use ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man add deprecation notices to ceph-disk man page
Alfredo Deza [Wed, 29 Nov 2017 14:44:13 +0000 (09:44 -0500)]
doc/man add deprecation notices to ceph-disk man page

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19275 from qrGitHub/wip-rgw-correct-comment
Casey Bodley [Mon, 4 Dec 2017 14:07:47 +0000 (09:07 -0500)]
Merge pull request #19275 from qrGitHub/wip-rgw-correct-comment

rgw: correct comment in function parse_credentials

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoceph-volume configuration allow inlined comments for # and ; 19319/head
Alfredo Deza [Mon, 4 Dec 2017 13:22:23 +0000 (08:22 -0500)]
ceph-volume configuration allow inlined comments for # and ;

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests verify that INI comments can be inlined
Alfredo Deza [Mon, 4 Dec 2017 13:21:29 +0000 (08:21 -0500)]
ceph-volume tests verify that INI comments can be inlined

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19314 from ifed01/wip-ifed-affiliation
Abhishek L [Mon, 4 Dec 2017 11:07:53 +0000 (12:07 +0100)]
Merge pull request #19314 from ifed01/wip-ifed-affiliation

.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
7 years agocommon/blkdev: fix build in FreeBSD environment 19316/head
Mykola Golub [Mon, 4 Dec 2017 10:10:35 +0000 (10:10 +0000)]
common/blkdev: fix build in FreeBSD environment

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
7 years ago.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor 19314/head
Igor Fedotov [Mon, 4 Dec 2017 09:14:15 +0000 (12:14 +0300)]
.githubmap, .mailmap, .organizationmap, .peoplemap: update Igor
Fedotov's affiliation

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agodoc: update docs to remove references of ubuntu 14.04 19307/head
Kefu Chai [Mon, 4 Dec 2017 06:00:37 +0000 (14:00 +0800)]
doc: update docs to remove references of ubuntu 14.04

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotest/docker-test: drop support for ubuntu 14.04 and centos 6
Kefu Chai [Mon, 4 Dec 2017 05:05:49 +0000 (13:05 +0800)]
test/docker-test: drop support for ubuntu 14.04 and centos 6

* we cannot build on centos 6. and we are dropping the support for ubuntu
  14.04 also.
* add ubuntu 17.04: this release is not a LTS release, and added merely for
  demostration purpose.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/suites/hadoop: switch from trusty to ubuntu latest
Kefu Chai [Mon, 4 Dec 2017 04:51:10 +0000 (12:51 +0800)]
qa/suites/hadoop: switch from trusty to ubuntu latest

use the ubuntu_face.yaml facet for the distro used for testing. since we
are dropping the support for trusty.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/suites/fs: use ubuntu_latest for multiclient tasks
Kefu Chai [Mon, 4 Dec 2017 04:46:09 +0000 (12:46 +0800)]
qa/suites/fs: use ubuntu_latest for multiclient tasks

instead of using ubuntu 14.04, since we want to drop the support of this
release.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/suites/fs: use ubuntu_latest for libcephfs_java
Kefu Chai [Mon, 4 Dec 2017 04:39:50 +0000 (12:39 +0800)]
qa/suites/fs: use ubuntu_latest for libcephfs_java

* instead of using ubuntu 14.04, use ubuntu_latest.since we want
  to drop the support of this release.
* refactor this test to use the facet of ubuntu_latest.yaml.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/tasks: remove test_buildpackages
Kefu Chai [Mon, 4 Dec 2017 03:43:37 +0000 (11:43 +0800)]
qa/tasks: remove test_buildpackages

the buildpackages feature is not part of ceph. and its test was moved to
teuthology in 5a43f8d5. let's remove the leftovers from ceph/ceph. BTW,
we have not run this test suite since then. and its dependency cannot be
fulfilled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19196 from shun-s/wip-cephdisk-fix-major-error
Kefu Chai [Sun, 3 Dec 2017 02:34:02 +0000 (10:34 +0800)]
Merge pull request #19196 from shun-s/wip-cephdisk-fix-major-error

ceph-disk: fix signed integer is greater than maximum when call major

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19296 from shinobu-x/strange_double_space
Sage Weil [Sat, 2 Dec 2017 17:44:15 +0000 (11:44 -0600)]
Merge pull request #19296 from shinobu-x/strange_double_space

osd: Remove double space

7 years agoosd: Remove double space 19296/head
Shinobu Kinjo [Sat, 2 Dec 2017 16:57:39 +0000 (11:57 -0500)]
osd: Remove double space

Should not break anything but just strange...

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
7 years agoMerge pull request #19161 from xiexingguo/wip-pg-log
Kefu Chai [Sat, 2 Dec 2017 14:36:19 +0000 (22:36 +0800)]
Merge pull request #19161 from xiexingguo/wip-pg-log

osd/PGLog: get rid of ineffective container operations

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoosd/PGLog: get rid of ineffective container operations 19161/head
xie xingguo [Fri, 24 Nov 2017 02:10:27 +0000 (10:10 +0800)]
osd/PGLog: get rid of ineffective container operations

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #19242 from liewegas/wip-21147
Kefu Chai [Sat, 2 Dec 2017 06:14:29 +0000 (14:14 +0800)]
Merge pull request #19242 from liewegas/wip-21147

qa/suites/rados/thrash: extend mgr beacon grace when many msgr failures injected

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19185 from liewegas/wip-trim-mgrmap
Kefu Chai [Sat, 2 Dec 2017 06:13:44 +0000 (14:13 +0800)]
Merge pull request #19185 from liewegas/wip-trim-mgrmap

mon/MgrMonitor: limit mgrmap history

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19285 from ceph/wip-rm22299
Andrew Schoen [Fri, 1 Dec 2017 21:40:00 +0000 (15:40 -0600)]
Merge pull request #19285 from ceph/wip-rm22299

ceph-volume Format correctly when vg/lv cannot be used

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #19259 from ceph/wip-rm22280
Andrew Schoen [Fri, 1 Dec 2017 21:32:37 +0000 (15:32 -0600)]
Merge pull request #19259 from ceph/wip-rm22280

ceph-volume: handle leading whitespace/tabs in ceph.conf

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume tests verify proper formatting of RuntimeError on vg/lv error 19285/head
Alfredo Deza [Fri, 1 Dec 2017 18:53:39 +0000 (13:53 -0500)]
ceph-volume tests verify proper formatting of RuntimeError on vg/lv error

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.prepare correctly format argument for vg/lv error
Alfredo Deza [Fri, 1 Dec 2017 18:53:06 +0000 (13:53 -0500)]
ceph-volume lvm.prepare correctly format argument for vg/lv error

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #19264 from theanalyst/doc/releases/12.2.2
Abhishek L [Fri, 1 Dec 2017 17:06:46 +0000 (18:06 +0100)]
Merge pull request #19264 from theanalyst/doc/releases/12.2.2

doc: add 12.2.2 release notes

Reviewed-By: Sage Weil <sage@redhat.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #19284 from theanalyst/changelog/12.2.2
Sage Weil [Fri, 1 Dec 2017 16:30:33 +0000 (10:30 -0600)]
Merge pull request #19284 from theanalyst/changelog/12.2.2

doc: add changelog for v12.2.2

7 years agodoc: add changelog for v12.2.2 19284/head
Abhishek Lekshmanan [Fri, 1 Dec 2017 16:28:10 +0000 (17:28 +0100)]
doc: add changelog for v12.2.2

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #19278 from badone/wip-librgw_file_marker-unused-function-warnings
Matt Benjamin [Fri, 1 Dec 2017 16:23:09 +0000 (11:23 -0500)]
Merge pull request #19278 from badone/wip-librgw_file_marker-unused-function-warnings

rgw_file: Silence unused-function warnings

7 years agoMerge pull request #19281 from qrGitHub/wip-rgw-typo-anynoymous
Jos Collin [Fri, 1 Dec 2017 14:44:21 +0000 (20:14 +0530)]
Merge pull request #19281 from qrGitHub/wip-rgw-typo-anynoymous

rgw: fix typo anynoymous to anonymous

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agodoc: add 12.2.2 release notes 19264/head
Abhishek Lekshmanan [Thu, 30 Nov 2017 18:29:23 +0000 (19:29 +0100)]
doc: add 12.2.2 release notes

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agorgw: correct typo anynoymous to anonymous 19281/head
Bingyin Zhang [Fri, 1 Dec 2017 10:56:05 +0000 (18:56 +0800)]
rgw: correct typo anynoymous to anonymous

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agorgw_file: Silence unused-function warnings 19278/head
Brad Hubbard [Fri, 1 Dec 2017 08:41:02 +0000 (18:41 +1000)]
rgw_file: Silence unused-function warnings

Comment out unused insertion operators.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
7 years agorgw: correct comment in function parse_credentials 19275/head
Bingyin Zhang [Fri, 1 Dec 2017 07:14:08 +0000 (15:14 +0800)]
rgw: correct comment in function parse_credentials

Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
7 years agoMerge pull request #19233 from tchaikov/wip-no-mon-health-to-clog-when-upgrading
Kefu Chai [Fri, 1 Dec 2017 03:42:52 +0000 (11:42 +0800)]
Merge pull request #19233 from tchaikov/wip-no-mon-health-to-clog-when-upgrading

qa: disable mon-health-to-clog in upgrade test

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19225 from tchaikov/wip-more-whitelist
Kefu Chai [Fri, 1 Dec 2017 02:39:18 +0000 (10:39 +0800)]
Merge pull request #19225 from tchaikov/wip-more-whitelist

qa/suites/rados/singleton: more whitelist

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19202 from tchaikov/wip-check-pthread-ext
Kefu Chai [Fri, 1 Dec 2017 02:36:21 +0000 (10:36 +0800)]
Merge pull request #19202 from tchaikov/wip-check-pthread-ext

cmake,common/RWLock: check for libpthread extensions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19160 from shinobu-x/bluestore_tool_remove_redundant_code
Kefu Chai [Fri, 1 Dec 2017 02:35:27 +0000 (10:35 +0800)]
Merge pull request #19160 from shinobu-x/bluestore_tool_remove_redundant_code

os/bluestore/bluestore_tool: Move redundant code into one method

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
7 years agoMerge pull request #19100 from tchaikov/wip-log-reuse-streambuf
Kefu Chai [Fri, 1 Dec 2017 02:34:54 +0000 (10:34 +0800)]
Merge pull request #19100 from tchaikov/wip-log-reuse-streambuf

common/log: Speed improvement for log

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18124 from amitkumar50/cleanup-Min-Max
Kefu Chai [Fri, 1 Dec 2017 02:32:52 +0000 (10:32 +0800)]
Merge pull request #18124 from amitkumar50/cleanup-Min-Max

cleanup: Replacing MIN,MAX with std::min,std::max

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18991 from dmick/wip-ceph-disk-fsid
Kefu Chai [Fri, 1 Dec 2017 01:57:26 +0000 (09:57 +0800)]
Merge pull request #18991 from dmick/wip-ceph-disk-fsid

ceph_disk: allow "no fsid" on activate

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19262 from ceph/wip-fix-distro-master
Yuri Weinstein [Thu, 30 Nov 2017 20:58:22 +0000 (12:58 -0800)]
Merge pull request #19262 from ceph/wip-fix-distro-master

tests - Replaced requests for "centos 7.3" to centos_latest

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19164 from hrchu/adminopsBindings
Casey Bodley [Thu, 30 Nov 2017 20:16:11 +0000 (15:16 -0500)]
Merge pull request #19164 from hrchu/adminopsBindings

doc: rgw adminops binding libraries

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agodoc: add 12.2.2 to releases table
Abhishek Lekshmanan [Thu, 30 Nov 2017 18:32:13 +0000 (19:32 +0100)]
doc: add 12.2.2 to releases table

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agodoc: cleanup PendingReleaseNotes
Abhishek Lekshmanan [Thu, 30 Nov 2017 18:27:45 +0000 (19:27 +0100)]
doc: cleanup PendingReleaseNotes

drop sections already in previous releases, keeping only Mimic sections
and a new section header for items going post 12.2.2

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoqa: disable mon-health-to-clog in upgrade test 19233/head
Kefu Chai [Wed, 29 Nov 2017 05:37:24 +0000 (13:37 +0800)]
qa: disable mon-health-to-clog in upgrade test

otherwise the cluster will complain that the quorum size is smaller than
that of monmap.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agotests - Replaced requests for "centos 7.3" to centos_latest 19262/head
Yuri Weinstein [Thu, 30 Nov 2017 15:52:11 +0000 (07:52 -0800)]
tests - Replaced requests for "centos 7.3" to centos_latest

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #19247 from shinobu-x/rados_op_crush-map-edits_straw2
Sage Weil [Thu, 30 Nov 2017 14:17:25 +0000 (08:17 -0600)]
Merge pull request #19247 from shinobu-x/rados_op_crush-map-edits_straw2

doc/rados: Add explanation of straw2

7 years agotest/fio: add single pool mode to share collections among multiple jobs 19101/head
Igor Fedotov [Thu, 30 Nov 2017 13:59:26 +0000 (16:59 +0300)]
test/fio: add single pool mode to share collections among multiple jobs

Signed-off-by: Igor Fedotov ifedotov@suse.com
7 years agoceph-volume test leading whitespace is handled in configurations 19259/head
Alfredo Deza [Thu, 30 Nov 2017 13:58:37 +0000 (08:58 -0500)]
ceph-volume test leading whitespace is handled in configurations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume trim tabbed/whitespaced configuration files when loading them
Alfredo Deza [Thu, 30 Nov 2017 13:58:04 +0000 (08:58 -0500)]
ceph-volume trim tabbed/whitespaced configuration files when loading them

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agotest/fio: add options to insert attributes/omaps into write transaction.
Igor Fedotov [Mon, 20 Nov 2017 18:59:04 +0000 (21:59 +0300)]
test/fio: add options to insert attributes/omaps into write transaction.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #19254 from tchaikov/wip-ceph-disk-mock-get-fsid
Kefu Chai [Thu, 30 Nov 2017 13:27:15 +0000 (21:27 +0800)]
Merge pull request #19254 from tchaikov/wip-ceph-disk-mock-get-fsid

ceph-disk: mock get fsid

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-disk: silence deprecate warnings while testing 19254/head
Kefu Chai [Thu, 30 Nov 2017 11:32:05 +0000 (19:32 +0800)]
ceph-disk: silence deprecate warnings while testing

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-disk/tests: mock get_fsid
Kefu Chai [Thu, 30 Nov 2017 11:31:09 +0000 (19:31 +0800)]
ceph-disk/tests: mock get_fsid

should offer a valid fsid for the ceph-disk under testing.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agopybind/rados: add rados_service_*() 18812/head
Kefu Chai [Wed, 8 Nov 2017 10:05:36 +0000 (18:05 +0800)]
pybind/rados: add rados_service_*()

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #18995 into master
Patrick Donnelly [Thu, 30 Nov 2017 06:11:22 +0000 (22:11 -0800)]
Merge PR #18995 into master

* refs/pull/18995/head:
client: emplace Cap in Inode caps map

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19009 into master
Patrick Donnelly [Thu, 30 Nov 2017 06:11:17 +0000 (22:11 -0800)]
Merge PR #19009 into master

* refs/pull/19009/head:
client: Switch to new style config options and some cleanup

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19069 into master
Patrick Donnelly [Thu, 30 Nov 2017 06:11:12 +0000 (22:11 -0800)]
Merge PR #19069 into master

* refs/pull/19069/head:
qa/tasks/ceph_fuse: fix ceph-fuse mount failed

Reviewed-by: Yunfei Guan <yunfei.guan@xtaotech.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agogithubmap: update contributors
Patrick Donnelly [Thu, 30 Nov 2017 06:11:12 +0000 (22:11 -0800)]
githubmap: update contributors

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #19078 into master
Patrick Donnelly [Thu, 30 Nov 2017 06:09:09 +0000 (22:09 -0800)]
Merge PR #19078 into master

* refs/pull/19078/head:
pybind: return error message when ceph_mds_command() returns error
mds: Fix error message when mds not active

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19095 into master
Patrick Donnelly [Thu, 30 Nov 2017 06:09:04 +0000 (22:09 -0800)]
Merge PR #19095 into master

* refs/pull/19095/head:
test: pass correct buffer length to ceph_getdents

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19181 into master
Patrick Donnelly [Thu, 30 Nov 2017 06:08:59 +0000 (22:08 -0800)]
Merge PR #19181 into master

* refs/pull/19181/head:
client: give full error message on failed remount
client: use PATH_MAX for mount path size

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #19207 into master
Patrick Donnelly [Thu, 30 Nov 2017 06:08:48 +0000 (22:08 -0800)]
Merge PR #19207 into master

* refs/pull/19207/head:
mds: handle client reconnect gather race

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoceph-disk: fix signed integer is greater than maximum when call major 19196/head
Song Shun [Tue, 28 Nov 2017 03:28:43 +0000 (11:28 +0800)]
ceph-disk: fix signed integer is greater than maximum when call major
  fix signed integer is greater than maximum when call os.major
  using python 2.7.5 in Centos 7

Signed-off-by: Song Shun <song.shun3@zte.com.cn>
7 years agodoc/rados: Add explanation of straw2 19247/head
Shinobu Kinjo [Thu, 30 Nov 2017 01:37:25 +0000 (10:37 +0900)]
doc/rados: Add explanation of straw2

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
7 years agoMerge pull request #15482 from myoungwon/wip-chunked-manifest
Sage Weil [Thu, 30 Nov 2017 03:13:43 +0000 (21:13 -0600)]
Merge pull request #15482 from myoungwon/wip-chunked-manifest

osd,librados: add manifest, operations for chunked object

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoceph_disk: allow "no fsid" on activate 18991/head
Dan Mick [Wed, 29 Nov 2017 23:29:17 +0000 (15:29 -0800)]
ceph_disk: allow "no fsid" on activate

The intent was to allow "no fsid" configurations when only one
conf file named 'ceph.conf' was present, but the code has a bug
in that ceph-osd --show-config-value will return a default all-0
uuid.  Treat 'all-0' as we were treating 'None'.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agoMerge pull request #18974 from liewegas/wip-22145
Sage Weil [Wed, 29 Nov 2017 18:48:37 +0000 (12:48 -0600)]
Merge pull request #18974 from liewegas/wip-22145

osd/PG: restart recovery if NotRecovering and unfound found

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoosd/PG: restart recovery if NotRecovering and unfound found 18974/head
Sage Weil [Thu, 16 Nov 2017 20:26:27 +0000 (14:26 -0600)]
osd/PG: restart recovery if NotRecovering and unfound found

If we are in recovery_unfound state waiting for unfound objects, and we
find them, we need to restart the recovery reservation process so that we
can recover.  Do this by queueing DoRecover() event instead of calling
queue_recovery() (which won't do anything since we're not in
recoverying|backfilling pg states).

Make the parent Active state ignore DoRecovery so that if we are already
in some phase of recovery/backfill the event gets ignored.  It is already
handled by the other important substates that care, like Clean (for
repair's benefit).

I'm not sure why states like Activating are paying attention tot his vevent...

Fixes: http://tracker.ceph.com/issues/22145
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18954 from adamemerson/wip-hole-in-the-bucket-dear-liza
Adam C. Emerson [Wed, 29 Nov 2017 18:17:12 +0000 (13:17 -0500)]
Merge pull request #18954 from adamemerson/wip-hole-in-the-bucket-dear-liza

rgw: Add try_refresh_bucket_info function
rgw: Add retry_raced_bucket_write
rgw: Handle stale bucket info in RGWPutMetadataBucket
rgw: Handle stale bucket info in RGWSetBucketVersioning
rgw: Handle stale bucket info in RGWSetBucketWebsite
rgw: Handle stale bucket info in RGWDeleteBucketWebsite
rgw: Handle stale bucket info in RGWPutBucketPolicy
rgw: Handle stale bucket info in RGWDeleteBucketPolicy
rgw: Expire entries in bucket info cache

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agoMerge pull request #19215 from joscollin/wip-mount-fuse-ceph-typo
Jos Collin [Wed, 29 Nov 2017 17:18:07 +0000 (22:48 +0530)]
Merge pull request #19215 from joscollin/wip-mount-fuse-ceph-typo

doc: Fix typo in mount.fuse.ceph

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19209 from joscollin/wip-githubman-ktdreyer
Jos Collin [Wed, 29 Nov 2017 17:15:23 +0000 (22:45 +0530)]
Merge pull request #19209 from joscollin/wip-githubman-ktdreyer

githubmap: Add ktdreyer

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19208 from tchaikov/wip-spdk-17.10
Kefu Chai [Wed, 29 Nov 2017 16:39:18 +0000 (00:39 +0800)]
Merge pull request #19208 from tchaikov/wip-spdk-17.10

 spdk: update SPDK to v17.10

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoqa/suites/rados/thrash: extend mgr beacon grace when many msgr failures injected 19242/head
Sage Weil [Wed, 29 Nov 2017 16:29:52 +0000 (10:29 -0600)]
qa/suites/rados/thrash: extend mgr beacon grace when many msgr failures injected

Fixes: http://tracker.ceph.com/issues/21147
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19238 from tchaikov/wip-22266
Josh Durgin [Wed, 29 Nov 2017 16:19:40 +0000 (08:19 -0800)]
Merge pull request #19238 from tchaikov/wip-22266

tools/ceph_monstore_tool: rebuild initial mgrmap also

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: John Spray <jspray@redhat.com>