]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoMerge pull request #19438 from cbodley/wip-qa-rgw-multisite-trim
Yuri Weinstein [Mon, 18 Dec 2017 16:46:03 +0000 (08:46 -0800)]
Merge pull request #19438 from cbodley/wip-qa-rgw-multisite-trim

qa/rgw: disable log trim in multisite suite

7 years agoMerge pull request #19548 from tchaikov/mimic-gcc-7
Sage Weil [Sat, 16 Dec 2017 16:52:14 +0000 (10:52 -0600)]
Merge pull request #19548 from tchaikov/mimic-gcc-7

build mimic-dev1 with gcc 7

7 years agoMerge pull request #19542 from tchaikov/mimic-22093
Kefu Chai [Sat, 16 Dec 2017 04:27:00 +0000 (12:27 +0800)]
Merge pull request #19542 from tchaikov/mimic-22093

qa: decrease the msg_inject_socket_failures from 1/500 to 1/1000

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agocmake: link libcommon with libstdc++ statically if WITH_STATIC_LIBSTDCXX 19548/head
Kefu Chai [Thu, 14 Dec 2017 07:07:30 +0000 (15:07 +0800)]
cmake: link libcommon with libstdc++ statically if WITH_STATIC_LIBSTDCXX

this matches the linkage of libceph-common, because valgrind reports
Leak_StillReachable if daemons are linked against libceph-common, will
link daemons against common instead, and let common link libstdc++
statically, if WITH_STATIC_LIBSTDCXX=ON.

this change also reverts e6695bb6

Fixes: http://tracker.ceph.com/issues/22438
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit df9a59894291fe81e727babb631fb0e23cd1bbb0)

7 years agocmake: link global-static against common
Kefu Chai [Thu, 14 Dec 2017 10:52:42 +0000 (18:52 +0800)]
cmake: link global-static against common

* as global-static references symbols offered by common.
* and remove DPDK_LIBRARIES from global, as it is libcommon which
  is using DPDK.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit a2cad3bb1cad57cab5f0acc11310613077866a87)

7 years agocmake: link executables against ceph-common
Kefu Chai [Sat, 9 Dec 2017 12:33:24 +0000 (20:33 +0800)]
cmake: link executables against ceph-common

so they can have access to libstdc++ if it is linked statically.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit e6695bb63ace3c5ccb3398915e5af73decb4d9e7)

7 years agocmake: add WITH_STATIC_LIBSTDCXX option
Kefu Chai [Sat, 9 Dec 2017 11:27:03 +0000 (19:27 +0800)]
cmake: add WITH_STATIC_LIBSTDCXX option

to link libceph-common with libstdc++ if it is enabled.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 4c2216de6a08f048374292a567dbabd083d64e87)

7 years agoinstall-deps.sh: use tee for writing a file
Kefu Chai [Thu, 14 Dec 2017 11:06:51 +0000 (19:06 +0800)]
install-deps.sh: use tee for writing a file

because the stdout redirect is performed by current shell not `$SUDO
cat`, so $SUDO does not help here. use `$SUDO tee` instead, which is
able to read the stdin and write to the given file just as expected.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 0beb846e57b94786e84c35927fe5ef3a67857fa3)

7 years agoinstall-deps.sh: avoid re-installing g++-7
Kefu Chai [Wed, 13 Dec 2017 06:22:39 +0000 (14:22 +0800)]
install-deps.sh: avoid re-installing g++-7

* add ubuntu-toolchain-r mirrors in case the ppa.launchpad.net is not
  accessible
* add ppa repo manually, it's faster than installing
  `software-properties-common` and then launch `add-apt-repository`
* hardwire $old to the gcc version shipped by the distro, simpler this
  way.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit b69e3efe64159417b2c80894ba5c249eb470d80a)

7 years agoinstall-deps.sh: use GCC-7 on xenial also
Kefu Chai [Sat, 9 Dec 2017 11:29:58 +0000 (19:29 +0800)]
install-deps.sh: use GCC-7 on xenial also

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 8a0935988fb845d0b88d97470b08e93a8709a03d)

7 years agoinstall-deps.sh: install new gcc as the default the right way
Kefu Chai [Sat, 9 Dec 2017 09:35:28 +0000 (17:35 +0800)]
install-deps.sh: install new gcc as the default the right way

* should install software-properties-common beforehand, otherwise
  the `add-apt-repository` command will not be available.
* the update-alternative commandline were copied from ceph-build,
  should remove the escape characters.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 3882deae8c94802cfd49153ad2cf33f0a3dba60d)

7 years agoinstall-deps.sh: enable testing repo on centos on aarch64
Kefu Chai [Fri, 8 Dec 2017 10:07:37 +0000 (18:07 +0800)]
install-deps.sh: enable testing repo on centos on aarch64

the DTS-6 is only available in the testing repo

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 4cedada14e12e677a180cfa1fce6442ecc763204)

7 years agoinstall-deps.sh: use DTS on centos if GCC is too old
Kefu Chai [Fri, 8 Dec 2017 08:34:59 +0000 (16:34 +0800)]
install-deps.sh: use DTS on centos if GCC is too old

please note, run-make-check.sh sources install-deps.sh here to import
the $PATH and other environmental variables, which could be changed by
the the DTS "enable" script.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 3f8647a7e80b20079bec97d5be12372909083bb4)

7 years agoinstall-deps.sh: install centos-release-scl-rh on aarch64
Kefu Chai [Tue, 5 Dec 2017 15:22:17 +0000 (23:22 +0800)]
install-deps.sh: install centos-release-scl-rh on aarch64

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 84660c977cc7511290a3c5497468052b3eaccf43)

7 years agoinstall-deps.sh: use gcc-7 on trusty
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>
(cherry picked from commit 24d0f935dc661804a5b1fd619120026950f727d2)

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>
(cherry picked from commit eccc961c728153c928baa4478e9c8d5a1139a834)

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>
(cherry picked from commit f9aa49cee15cd571a8dc2efcd46a54b0a1f68f89)

7 years agocmake: disable FAIL_ON_WARNINGS for rocksdb
Kefu Chai [Sat, 9 Dec 2017 12:18:39 +0000 (20:18 +0800)]
cmake: disable FAIL_ON_WARNINGS for rocksdb

otherwise -Werror=implicit-fallthrough will fail the build with GCC-7

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 6559a850512ddefef384d2733823ac2cb8027e3a)

7 years agoqa: decrease the msg_inject_socket_failures from 1/500 to 1/1000 19542/head
Kefu Chai [Fri, 15 Dec 2017 06:21:39 +0000 (14:21 +0800)]
qa: decrease the msg_inject_socket_failures from 1/500 to 1/1000

Fixes: http://tracker.ceph.com/issues/22093
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #19462 into mimic-dev1
Patrick Donnelly [Wed, 13 Dec 2017 23:30:13 +0000 (15:30 -0800)]
Merge PR #19462 into mimic-dev1

* refs/pull/19462/head:
memstore: write fsid to fsid not fs_fsid

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomemstore: write fsid to fsid not fs_fsid 19462/head
Patrick Donnelly [Wed, 13 Dec 2017 03:58:01 +0000 (19:58 -0800)]
memstore: write fsid to fsid not fs_fsid

Fixes: http://tracker.ceph.com/issues/20736
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoqa/rgw: disable log trim in multisite suite 19438/head
Casey Bodley [Mon, 11 Dec 2017 21:14:05 +0000 (16:14 -0500)]
qa/rgw: disable log trim in multisite suite

the multisite tests run manual trim operations with radosgw-admin, which
can race with internal log trimming to produce tests failures

Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/suites/rados: add missing openstack volumes
Sage Weil [Sat, 9 Dec 2017 16:20:19 +0000 (10:20 -0600)]
qa/suites/rados: add missing openstack volumes

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19368 from dzafman/wip-22086
David Zafman [Sat, 9 Dec 2017 03:37:45 +0000 (19:37 -0800)]
Merge pull request #19368 from dzafman/wip-22086

ceph-objectstore-tool: Add option "dump-import" to examine an export

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agotest: ceph_objectstore_tool.py: Perform dump-import 19368/head
David Zafman [Sat, 9 Dec 2017 02:48:21 +0000 (18:48 -0800)]
test: ceph_objectstore_tool.py: Perform dump-import

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #19356 from tchaikov/wip-18589-mimic-dev1
Sage Weil [Fri, 8 Dec 2017 03:19:26 +0000 (21:19 -0600)]
Merge pull request #19356 from tchaikov/wip-18589-mimic-dev1

debian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoceph-volume test logging ignored ceph.conf file
Alfredo Deza [Tue, 5 Dec 2017 18:59:22 +0000 (13:59 -0500)]
ceph-volume test logging ignored ceph.conf file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume main warn on inability to load ceph.conf, don't raise
Alfredo Deza [Tue, 5 Dec 2017 18:58:53 +0000 (13:58 -0500)]
ceph-volume main warn on inability to load ceph.conf, don't raise

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.api ensure that we can handle non-ceph tags in lvs
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 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 agoceph-volume configuration allow inlined comments for # and ;
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 agoceph-volume lvm.create rollback osd creation when prepare or activate fails
Alfredo Deza [Tue, 5 Dec 2017 20:31:55 +0000 (15:31 -0500)]
ceph-volume lvm.create rollback osd creation when prepare or activate fails

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

7 years agoceph-volume lvm.create fallback to bluestore when objectstore is not specified
Alfredo Deza [Tue, 5 Dec 2017 15:22:05 +0000 (10:22 -0500)]
ceph-volume lvm.create fallback to bluestore when objectstore is not specified

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

7 years agoceph-volume lvm.prepare fallback to bluestore when objectstore is not specified
Alfredo Deza [Tue, 5 Dec 2017 15:21:20 +0000 (10:21 -0500)]
ceph-volume lvm.prepare fallback to bluestore when objectstore is not specified

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

7 years agoceph-volume lvm.prepare rollback osd when prepare fails and an osd id was generated
Alfredo Deza [Tue, 5 Dec 2017 15:11:03 +0000 (10:11 -0500)]
ceph-volume lvm.prepare rollback osd when prepare fails and an osd id was generated

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

7 years agoceph-volume lvm.common create a rollback_osd utility to cleanup failed osd prepare...
Alfredo Deza [Tue, 5 Dec 2017 15:08:35 +0000 (10:08 -0500)]
ceph-volume lvm.common create a rollback_osd utility to cleanup failed osd prepare/create calls

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

7 years agoMerge pull request #19363 from ceph/wip-rm22282
Alfredo Deza [Thu, 7 Dec 2017 14:38:20 +0000 (09:38 -0500)]
Merge pull request #19363 from ceph/wip-rm22282

ceph-volume: removed the explicit use of sudo

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-objectstore-tool: Add option "dump-import" to examine an export
David Zafman [Wed, 6 Dec 2017 04:57:47 +0000 (20:57 -0800)]
ceph-objectstore-tool: Add option "dump-import" to examine an export

Fixes: http://tracker.ceph.com/issues/22086
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoceph-volume: removed the explicit use of sudo 19363/head
Andrew Schoen [Wed, 6 Dec 2017 16:40:55 +0000 (10:40 -0600)]
ceph-volume: removed the explicit use of sudo

This will allow users to run ceph-volume on systems that do
not have sudo installed.

Fixes: http://tracker.ceph.com/issues/22282
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agodebian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move 19356/head
Kefu Chai [Wed, 6 Dec 2017 02:19:09 +0000 (10:19 +0800)]
debian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move

this is a follow-up of #19328. we need to get this change into 12.2.3.
so better off do the switch somewhere after 12.2.2 which has been
tagged, and before 12.2.3, which is not tagged yet.

please note, this is not targetting master, because i want to make
sure the change number (the <num> in << 12.2.2-<num>) is correct. it
does not hurt if it's not, as long as it is ">> 12.2.2", so the replace
machinery in 12.2.3 works, and it covers the releases where the
ceph-{osdomap,kvstore,monstore}-tool are not move yet. but why don't
make it more right?

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-objectstore-tool: Remove unused map section from log dump
David Zafman [Wed, 6 Dec 2017 05:04:16 +0000 (21:04 -0800)]
ceph-objectstore-tool: Remove unused map section from log dump

Caused by: 44cb6d30640954c66fc03d4ce58b583ffd614951

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoceph-objectstore-tool: Fix output of section type number
David Zafman [Wed, 6 Dec 2017 02:25:19 +0000 (18:25 -0800)]
ceph-objectstore-tool: Fix output of section type number

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoceph-objectstore-tool: Improve ceph-objectstore-tool usage output
David Zafman [Wed, 6 Dec 2017 01:53:01 +0000 (17:53 -0800)]
ceph-objectstore-tool: Improve ceph-objectstore-tool usage output

Remove unused argument test-align

Caused by: 1c8731c31eb53e17d8f363906438963ab5688fe0

Positional arguments are described by usage() because
the parsing code creates descriptions like "--object" for the
object positional argument.

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoqa/suites/rados/upgrade: whitelist MON_DOWN, MGR_DOWN
Sage Weil [Tue, 5 Dec 2017 18:25:54 +0000 (12:25 -0600)]
qa/suites/rados/upgrade: whitelist MON_DOWN, MGR_DOWN

They get restarted.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19328 from liewegas/wip-fix-tools-deb
Sage Weil [Tue, 5 Dec 2017 03:28:21 +0000 (21:28 -0600)]
Merge pull request #19328 from liewegas/wip-fix-tools-deb

debian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodebian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move 19328/head
Sage Weil [Tue, 5 Dec 2017 03:25:16 +0000 (21:25 -0600)]
debian/control: adjust ceph-{osdomap,kvstore,monstore}-tool feature move

The backport didn't make 12.2.2, but it will be in 12.2.3.

Fixes: http://tracker.ceph.com/issues/22319
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/singleton/all/threash-eio: whitelist OBJECT_*
Sage Weil [Tue, 5 Dec 2017 03:16:44 +0000 (21:16 -0600)]
qa/suites/rados/singleton/all/threash-eio: whitelist OBJECT_*

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoPendingReleaseNotes: dummy commit
Sage Weil [Mon, 4 Dec 2017 14:59:26 +0000 (08:59 -0600)]
PendingReleaseNotes: dummy commit

Just need a new to trigger a build on this branch.

Signed-off-by: Sage Weil <sage@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 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 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 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 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>