]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agolibrbd: added missing locks for snap rollback and rename 18909/head
Jason Dillaman [Tue, 14 Nov 2017 17:07:36 +0000 (12:07 -0500)]
librbd: added missing locks for snap rollback and rename

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agolibrbd: possible deadlock with synchronous maintenance operations
Jason Dillaman [Mon, 13 Nov 2017 18:28:06 +0000 (13:28 -0500)]
librbd: possible deadlock with synchronous maintenance operations

Fixes: http://tracker.ceph.com/issues/22120
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18882 from ceph/wip-cv-simple-testing
Andrew Schoen [Mon, 13 Nov 2017 17:26:08 +0000 (11:26 -0600)]
Merge pull request #18882 from ceph/wip-cv-simple-testing

ceph-volume add functional tests for simple, rearrange lvm tests

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #18617 from tchaikov/wip-mon-cleanup
Kefu Chai [Mon, 13 Nov 2017 14:27:28 +0000 (22:27 +0800)]
Merge pull request #18617 from tchaikov/wip-mon-cleanup

mon: remove unused waiting_for_commit

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18879 from liewegas/wip-zstd
Kefu Chai [Mon, 13 Nov 2017 08:09:36 +0000 (16:09 +0800)]
Merge pull request #18879 from liewegas/wip-zstd

compressor/zstd: improvements

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18837 from tchaikov/wip-warn-on-old-libstdcxx
Kefu Chai [Mon, 13 Nov 2017 04:36:40 +0000 (12:36 +0800)]
Merge pull request #18837 from tchaikov/wip-warn-on-old-libstdcxx

cmake: warn if libstdc++ older than 5.1.0 is used

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agocmake: warn if libstdc++ older than 5.1.0 is used 18837/head
Kefu Chai [Thu, 9 Nov 2017 06:35:00 +0000 (14:35 +0800)]
cmake: warn if libstdc++ older than 5.1.0 is used

__GLIBCPP__ is used before 3.4.0, and gcc 4.8.0 and up is required to
build c++11 source, hence it's safe to check __GLIBCXX__. for the
versioning of libstdc++, see
https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html#abi.versioning,
for the magic number of 20150422ul see
https://gcc.gnu.org/develop.html#timeline.
for the reason why we want to have this warning, see
https://github.com/ceph/ceph/pull/18755#issuecomment-342736554 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18815 from Liuchang0812/wip-kv-store-crc
Kefu Chai [Mon, 13 Nov 2017 04:30:14 +0000 (12:30 +0800)]
Merge pull request #18815 from Liuchang0812/wip-kv-store-crc

tool: misc cleanup of ceph-kvstore-tool

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18828 from majianpeng/fix-21932
Kefu Chai [Mon, 13 Nov 2017 04:26:44 +0000 (12:26 +0800)]
Merge pull request #18828 from majianpeng/fix-21932

os/bluestore: enlarege aligned_size avoid too many vector(> IOV_MAX)

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18854 from ifed01/wip-ifed-release-alloc-cleanup3
Kefu Chai [Mon, 13 Nov 2017 04:25:51 +0000 (12:25 +0800)]
Merge pull request #18854 from ifed01/wip-ifed-release-alloc-cleanup3

os/bluestore: avoid excessive ops in _txc_release_alloc

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #18822 from jcsp/wip-22082
Kefu Chai [Mon, 13 Nov 2017 04:24:54 +0000 (12:24 +0800)]
Merge pull request #18822 from jcsp/wip-22082

mon: clean up cluster logging on mon events

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agocompressor/zstd: use compress_generic from compression, cleanup 18879/head
Sage Weil [Mon, 13 Nov 2017 02:00:16 +0000 (20:00 -0600)]
compressor/zstd: use compress_generic from compression, cleanup

This is based on Yann Collet's changes (but somewhat adapted).

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18826 from liewegas/wip-22090
Sage Weil [Mon, 13 Nov 2017 01:50:14 +0000 (19:50 -0600)]
Merge pull request #18826 from liewegas/wip-22090

qa/suite/rados: fix balancer vs firefly tunables failures

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18805 from liewegas/wip-22039
Sage Weil [Sun, 12 Nov 2017 22:50:30 +0000 (16:50 -0600)]
Merge pull request #18805 from liewegas/wip-22039

os/bluestore: fix SharedBlob unregistration

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
7 years agoMerge pull request #18878 from liewegas/wip-perf-health
Sage Weil [Sun, 12 Nov 2017 22:50:08 +0000 (16:50 -0600)]
Merge pull request #18878 from liewegas/wip-perf-health

qa/suites/rados/perf: whitelist health warnings

7 years agoMerge pull request #18884 from liewegas/wip-internal-safe-to-start-threads
Sage Weil [Sun, 12 Nov 2017 22:49:13 +0000 (16:49 -0600)]
Merge pull request #18884 from liewegas/wip-internal-safe-to-start-threads

common/config: make internal_safe_to_start_threads internal

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agocompressor/zstd: fix build options
Sage Weil [Sun, 12 Nov 2017 15:54:13 +0000 (09:54 -0600)]
compressor/zstd: fix build options

Among other things, pass -O3, so that it goes faster.

Huge thank you to Yann Collet for identifying this as a build issue!

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18825 from dillaman/wip-release-notes-rbd-caps
Mykola Golub [Sun, 12 Nov 2017 15:22:48 +0000 (17:22 +0200)]
Merge pull request #18825 from dillaman/wip-release-notes-rbd-caps

doc/release-notes: clarify that you need to keep your existing OSD caps

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
7 years agocommon/config: make internal_safe_to_start_threads internal 18884/head
Sage Weil [Fri, 10 Nov 2017 23:25:25 +0000 (17:25 -0600)]
common/config: make internal_safe_to_start_threads internal

There is no reason for this to be exposed like a normal config option
(even a legacy one) since it is an internal safety flag.

We do keep the clear_() helper there for the unit test.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18404 from cbodley/wip-vstart-mrgw
Casey Bodley [Fri, 10 Nov 2017 19:20:26 +0000 (14:20 -0500)]
Merge pull request #18404 from cbodley/wip-vstart-mrgw

rgw: mrgw.sh uses instance name 'client.rgw'

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoceph-volume tests.functional update lvm/tox.ini paths after moving it 18882/head
Alfredo Deza [Fri, 10 Nov 2017 18:18:07 +0000 (13:18 -0500)]
ceph-volume tests.functional update lvm/tox.ini paths after moving it

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional move top level tox.ini to lvm/tox.ini
Alfredo Deza [Fri, 10 Nov 2017 18:14:55 +0000 (13:14 -0500)]
ceph-volume tests.functional move top level tox.ini to lvm/tox.ini

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional move xenial to lvm/xenial
Alfredo Deza [Fri, 10 Nov 2017 18:12:51 +0000 (13:12 -0500)]
ceph-volume tests.functional move xenial to lvm/xenial

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional lvm move xenial/bluestore to xenial/bluestore/create
Alfredo Deza [Fri, 10 Nov 2017 18:11:58 +0000 (13:11 -0500)]
ceph-volume tests.functional lvm move xenial/bluestore to xenial/bluestore/create

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional lvm move xenial/create to xenial/filestore/create
Alfredo Deza [Fri, 10 Nov 2017 18:09:48 +0000 (13:09 -0500)]
ceph-volume tests.functional lvm move xenial/create to xenial/filestore/create

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional move centos7 to lvm/centos7
Alfredo Deza [Fri, 10 Nov 2017 18:02:05 +0000 (13:02 -0500)]
ceph-volume tests.functional move centos7 to lvm/centos7

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional lvm move bluestore to bluestore/create
Alfredo Deza [Fri, 10 Nov 2017 17:58:27 +0000 (12:58 -0500)]
ceph-volume tests.functional lvm move bluestore to bluestore/create

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional lvm move create to filestore/create
Alfredo Deza [Fri, 10 Nov 2017 17:54:01 +0000 (12:54 -0500)]
ceph-volume tests.functional lvm move create to filestore/create

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional simple xenial bluestore scenario
Alfredo Deza [Fri, 10 Nov 2017 17:42:19 +0000 (12:42 -0500)]
ceph-volume tests.functional simple xenial bluestore scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional simple xenial filestore scenario
Alfredo Deza [Fri, 10 Nov 2017 17:40:18 +0000 (12:40 -0500)]
ceph-volume tests.functional simple xenial filestore scenario

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional simple tox.ini update for xenial scnearios
Alfredo Deza [Fri, 10 Nov 2017 17:30:05 +0000 (12:30 -0500)]
ceph-volume tests.functional simple tox.ini update for xenial scnearios

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional simple tox.ini addition for bluestore
Alfredo Deza [Fri, 10 Nov 2017 14:12:09 +0000 (09:12 -0500)]
ceph-volume tests.functional simple tox.ini addition for bluestore

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add initial files for simple bluestore activate
Alfredo Deza [Fri, 10 Nov 2017 14:11:39 +0000 (09:11 -0500)]
ceph-volume tests.functional add initial files for simple bluestore activate

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional add initial files for simple filestore activate
Alfredo Deza [Thu, 9 Nov 2017 21:55:30 +0000 (16:55 -0500)]
ceph-volume tests.functional add initial files for simple filestore activate

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agocompressor/zstd: improvements
Stefan Priebe [Sun, 5 Nov 2017 18:51:32 +0000 (19:51 +0100)]
compressor/zstd: improvements

- static linking #define to get the advanced stuff
- hint src size to compressor
- no flush needed before end
- check for error

It's about twice as 25% faster now for 16KB chunks.

Note that a quick test to use resetCStream and reusing the same stream
did not appear to have any effect.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18821 from prallabh/wip-22084
Yuri Weinstein [Fri, 10 Nov 2017 16:04:31 +0000 (08:04 -0800)]
Merge pull request #18821 from prallabh/wip-22084

rgw: Fix swift object expiry not deleting objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18846 from yaozongyou/fix-lifecycle-bug
Yuri Weinstein [Fri, 10 Nov 2017 16:04:11 +0000 (08:04 -0800)]
Merge pull request #18846 from yaozongyou/fix-lifecycle-bug

rgw: check going_down() when lifecycle processing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoqa/suites/rados/perf: whitelist health warnings 18878/head
Sage Weil [Fri, 10 Nov 2017 15:00:39 +0000 (09:00 -0600)]
qa/suites/rados/perf: whitelist health warnings

We may see these as cluster stabilizes.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocommon/buffers: add function parameter to limit buffers size. 18828/head
Jianpeng Ma [Fri, 10 Nov 2017 14:47:41 +0000 (22:47 +0800)]
common/buffers: add function parameter to limit buffers size.

Fixes: http://tracker.ceph.com/issues/21932
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
7 years agoMerge pull request #18877 from Jeegn-Chen/wip-issue-22103
Haomai Wang [Fri, 10 Nov 2017 14:43:13 +0000 (08:43 -0600)]
Merge pull request #18877 from Jeegn-Chen/wip-issue-22103

rados: make ceph_perf_msgr_client work for multiple jobs

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoqa/suites/rados: stop testing firefly tunables 18826/head
Sage Weil [Wed, 8 Nov 2017 23:37:29 +0000 (17:37 -0600)]
qa/suites/rados: stop testing firefly tunables

We can't mix the balancer compat-set testing with firefly tunables because
it requires that all buckets be straw2.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/balancer: fail a bit more gracefully if we can't create a compat weight-set
Sage Weil [Wed, 8 Nov 2017 23:35:35 +0000 (17:35 -0600)]
mgr/balancer: fail a bit more gracefully if we can't create a compat weight-set

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agorados: make ceph_perf_msgr_client work for multiple jobs 18877/head
Jeegn Chen [Fri, 10 Nov 2017 12:59:01 +0000 (20:59 +0800)]
rados: make ceph_perf_msgr_client work for multiple jobs

Move the invocation of msgr->start() before a client initiates a connection.
So the nonce is probably initialized and the server side is able to differenciate
the connections from different Messengers from the same client.

Fixes: http://tracker.ceph.com/issues/22103
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
7 years agoMerge pull request #18876 from smithfarm/wip-rn-typos
Abhishek L [Fri, 10 Nov 2017 12:34:20 +0000 (13:34 +0100)]
Merge pull request #18876 from smithfarm/wip-rn-typos

doc: release notes: fix grammar/style nits

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
7 years agodoc: release notes: fix grammar/style nits 18876/head
Nathan Cutler [Fri, 10 Nov 2017 10:49:14 +0000 (11:49 +0100)]
doc: release notes: fix grammar/style nits

Signed-off-by: Nathan Cutler <ncutler@suse.com>
7 years agomon: clean up cluster logging on mon events 18822/head
John Spray [Wed, 8 Nov 2017 16:54:44 +0000 (11:54 -0500)]
mon: clean up cluster logging on mon events

These changes come from observing the output
when killing a mon and watching the survivors
form a new quorum.

Fixes: http://tracker.ceph.com/issues/22082
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #18862 from Jeegn-Chen/wip-issue-22100
Haomai Wang [Fri, 10 Nov 2017 03:47:28 +0000 (21:47 -0600)]
Merge pull request #18862 from Jeegn-Chen/wip-issue-22100

rados: Copy payload in ceph_perf_msgr_client

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agorados: Copy payload in ceph_perf_msgr_client 18862/head
Jeegn Chen [Fri, 10 Nov 2017 02:14:50 +0000 (10:14 +0800)]
rados: Copy payload in ceph_perf_msgr_client

Copy payload in ceph_perf_msgr_client so that payload can keep unchanged

Fixes: http://tracker.ceph.com/issues/22100
Signed-off-by: Jeegn Chen <jeegnchen@gmail.com>
7 years agoMerge pull request #18707 from liewegas/wip-filestore-rocksdb-compression
Sage Weil [Fri, 10 Nov 2017 02:08:04 +0000 (20:08 -0600)]
Merge pull request #18707 from liewegas/wip-filestore-rocksdb-compression

os/filestore: disable rocksdb compression

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
7 years agoceph-volume tests.functional create a specific test.yml for simple activate
Alfredo Deza [Thu, 9 Nov 2017 21:07:53 +0000 (16:07 -0500)]
ceph-volume tests.functional create a specific test.yml for simple activate

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.functional create a separate tox.ini environ for
Alfredo Deza [Thu, 9 Nov 2017 20:40:51 +0000 (15:40 -0500)]
ceph-volume tests.functional create a separate tox.ini environ for
`simple`

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #18823 from ceph/wip-bz1498200
Andrew Schoen [Thu, 9 Nov 2017 18:01:12 +0000 (12:01 -0600)]
Merge pull request #18823 from ceph/wip-bz1498200

ceph-volume: support GPT and other deployed OSDs

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoos/bluestore: fix SharedBlob unregistration 18805/head
Sage Weil [Wed, 8 Nov 2017 04:05:10 +0000 (22:05 -0600)]
os/bluestore: fix SharedBlob unregistration

We use the SharedBlobSet remove() in three cases:

- from SharedBlob::put(), we try to remove ourselves from the set, but
  have to deal with a racing lookup, so the removal is conditional on
  nref still being 0.
- from split_cache(), we move the SharedBlob to another collection
- from make_blob_unshared(), we remove the entry when we clear the sbid.

The problem is that the condtiional remove() (for the first case) was being
used for all three cases, and in the second two cases nref is always != 0,
so it doesn't actually happen.  This can lead to a crash during cache
shutdown.

Fix by making two variants: remove() that is unconditional, and
try_remove() that is conditional.

Set the sb->coll pointer after because remove() asserts the parent matches
where we are unregistering.

Fixes: http://tracker.ceph.com/issues/22039
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #18817 from ZVampirEM77/wip-em-zone-cleanup
Yuri Weinstein [Thu, 9 Nov 2017 17:36:26 +0000 (09:36 -0800)]
Merge pull request #18817 from ZVampirEM77/wip-em-zone-cleanup

rgw cleanup: some unnecessary function called and repeated assignment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18683 from tchaikov/wip-erasure-cleanup
Sage Weil [Thu, 9 Nov 2017 17:10:27 +0000 (11:10 -0600)]
Merge pull request #18683 from tchaikov/wip-erasure-cleanup

erasure-code: refactor the interfaces to hide internals from public

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc/ceph-volume include the top level systemd.rst in the toctree 18823/head
Alfredo Deza [Thu, 9 Nov 2017 15:50:43 +0000 (10:50 -0500)]
doc/ceph-volume include the top level systemd.rst in the toctree

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume simple.activate add --file in help docstring as an example
Alfredo Deza [Thu, 9 Nov 2017 11:49:49 +0000 (06:49 -0500)]
ceph-volume simple.activate add --file in help docstring as an example

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume activate has a --file option for json files
Alfredo Deza [Thu, 9 Nov 2017 11:46:59 +0000 (06:46 -0500)]
doc/ceph-volume activate has a --file option for json files

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume simple.activate enable the osd when activating
Alfredo Deza [Wed, 8 Nov 2017 22:23:41 +0000 (17:23 -0500)]
ceph-volume simple.activate enable the osd when activating

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume systemd.systemctl always force symlink when masking ceph-disk
Alfredo Deza [Wed, 8 Nov 2017 20:25:05 +0000 (15:25 -0500)]
ceph-volume systemd.systemctl always force symlink when masking ceph-disk

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume simple.activate use the contents of the JSON file, fallback to CLI args
Alfredo Deza [Wed, 8 Nov 2017 20:21:10 +0000 (15:21 -0500)]
ceph-volume simple.activate use the contents of the JSON file, fallback to CLI args

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume simple.activate only check for missing id and uuid if file is not passed in
Alfredo Deza [Wed, 8 Nov 2017 19:50:16 +0000 (14:50 -0500)]
ceph-volume simple.activate only check for missing id and uuid if file is not passed in

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume simple.activate allow to pass a file to activate
Alfredo Deza [Wed, 8 Nov 2017 19:28:12 +0000 (14:28 -0500)]
ceph-volume simple.activate allow to pass a file to activate

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.util add tests for OSDPath validator
Alfredo Deza [Wed, 8 Nov 2017 17:49:31 +0000 (12:49 -0500)]
ceph-volume tests.util add tests for OSDPath validator

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume systemd.systemctl masking ceph-disk needs to be done by directly symlinki...
Alfredo Deza [Wed, 8 Nov 2017 16:56:36 +0000 (11:56 -0500)]
ceph-volume systemd.systemctl masking ceph-disk needs to be done by directly symlinking to dev/null

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume systemd.systemctl masking needs to use systemctl mask, not disable
Alfredo Deza [Wed, 8 Nov 2017 14:47:12 +0000 (09:47 -0500)]
ceph-volume systemd.systemctl masking needs to use systemctl mask, not disable

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume simple.scan if mounted device cannot be detected, raise an error
Alfredo Deza [Wed, 8 Nov 2017 14:46:20 +0000 (09:46 -0500)]
ceph-volume simple.scan if mounted device cannot be detected, raise an error

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume simple.activate remove str formatting from logging
Alfredo Deza [Wed, 8 Nov 2017 14:17:52 +0000 (09:17 -0500)]
ceph-volume simple.activate remove str formatting from logging

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util.arg_validators always convert the path to an absolute path
Alfredo Deza [Wed, 8 Nov 2017 14:11:41 +0000 (09:11 -0500)]
ceph-volume util.arg_validators always convert the path to an absolute path

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agorgw: Fix swift object expiry not deleting objects 18821/head
Pavan Rallabhandi [Wed, 8 Nov 2017 16:05:54 +0000 (21:35 +0530)]
rgw: Fix swift object expiry not deleting objects

In cls_timeindex_list() though `to_index` has expired for a timespan, the marker is set for a subsequent index during the time boundary check.
This marker is further returned to RGWObjectExpirer::process_single_shard(), where this out_marker is trimmed from the respective shard,
resulting in a lost removal hint and a leaked object.

Fixes: http://tracker.ceph.com/issues/22084
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
7 years agoos/bluestore: avoid excessive ops in _txc_release_alloc 18854/head
linux [Thu, 9 Nov 2017 14:55:08 +0000 (15:55 +0100)]
os/bluestore: avoid excessive ops in _txc_release_alloc

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #18781 from iliul/correct-error-messages
Casey Bodley [Thu, 9 Nov 2017 14:48:26 +0000 (09:48 -0500)]
Merge pull request #18781 from iliul/correct-error-messages

rgw/rgw_op.cc: Fix error message in rgw_user_get_all_buckets_stats

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18796 from ivancich/wip-fix-fmt-warnings
Casey Bodley [Thu, 9 Nov 2017 14:43:33 +0000 (09:43 -0500)]
Merge pull request #18796 from ivancich/wip-fix-fmt-warnings

rgw: address warnings due to incorrect format code

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #17659 from majianpeng/osd-wait-ratherthan-waitinterval
Kefu Chai [Thu, 9 Nov 2017 14:18:47 +0000 (22:18 +0800)]
Merge pull request #17659 from majianpeng/osd-wait-ratherthan-waitinterval

osd/OSD: Using Wait rather than WaitInterval to wait queue.is_empty().

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18759 from tchaikov/wip-mon-log-last
Kefu Chai [Thu, 9 Nov 2017 14:17:31 +0000 (22:17 +0800)]
Merge pull request #18759 from tchaikov/wip-mon-log-last

mon/LogMonitor: "log last" should return up to n entries

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #18779 from tchaikov/wip-osd-remove-unused-objects_read_async
Kefu Chai [Thu, 9 Nov 2017 14:16:51 +0000 (22:16 +0800)]
Merge pull request #18779 from tchaikov/wip-osd-remove-unused-objects_read_async

osd: remove unused ReplicatedBackend::objects_read_async()

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Xinze Chi <xinze@xsky.com>
7 years agoMerge pull request #18809 from tchaikov/wip-21904
Kefu Chai [Thu, 9 Nov 2017 14:15:06 +0000 (22:15 +0800)]
Merge pull request #18809 from tchaikov/wip-21904

mgr/zabbix: ignore osd with 0 kb capacity

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Wido den Hollander <wido@42on.com>
7 years agorgw/rgw_op.cc: Fix error message in rgw_user_get_all_buckets_stats 18781/head
iliul [Tue, 7 Nov 2017 07:17:26 +0000 (15:17 +0800)]
rgw/rgw_op.cc: Fix error message in rgw_user_get_all_buckets_stats

Signed-off-by: iliul <liul.stone@gmail.com>
7 years agorgw: check going_down() when lifecycle processing 18846/head
Yao Zongyou [Thu, 9 Nov 2017 12:40:15 +0000 (20:40 +0800)]
rgw: check going_down() when lifecycle processing

Fixes: http://tracker.ceph.com/issues/22099
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
7 years agoceph-volume util.arg_validators require superuser privs to check paths
Alfredo Deza [Wed, 8 Nov 2017 14:10:47 +0000 (09:10 -0500)]
ceph-volume util.arg_validators require superuser privs to check paths

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume simple.scan skip directories to scan
Alfredo Deza [Wed, 8 Nov 2017 14:09:06 +0000 (09:09 -0500)]
ceph-volume simple.scan skip directories to scan

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.devices.simple add activate CLI unit tests
Alfredo Deza [Tue, 7 Nov 2017 20:08:13 +0000 (15:08 -0500)]
ceph-volume tests.devices.simple add activate CLI unit tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.devices add help menu unit test
Alfredo Deza [Tue, 7 Nov 2017 20:07:44 +0000 (15:07 -0500)]
ceph-volume tests.devices add help menu unit test

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume systemd describe the interaction with 'simple' activation
Alfredo Deza [Tue, 7 Nov 2017 18:42:45 +0000 (13:42 -0500)]
doc/ceph-volume systemd describe the interaction with 'simple' activation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume index initial description of simple
Alfredo Deza [Tue, 7 Nov 2017 18:42:11 +0000 (13:42 -0500)]
doc/ceph-volume index initial description of simple

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume lvm add back a system.rst with just the lvm portion of it
Alfredo Deza [Tue, 7 Nov 2017 18:41:12 +0000 (13:41 -0500)]
doc/ceph-volume lvm add back a system.rst with just the lvm portion of it

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume make systemd.rst generic enough to be related to other sub-commands
Alfredo Deza [Tue, 7 Nov 2017 18:40:44 +0000 (13:40 -0500)]
doc/ceph-volume make systemd.rst generic enough to be related to other sub-commands

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume move lvm/systemd.rst to top level, making it generic
Alfredo Deza [Tue, 7 Nov 2017 18:39:52 +0000 (13:39 -0500)]
doc/ceph-volume move lvm/systemd.rst to top level, making it generic

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume simple.activate initial take on documenting activation
Alfredo Deza [Tue, 7 Nov 2017 16:52:17 +0000 (11:52 -0500)]
doc/ceph-volume simple.activate initial take on documenting activation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume lvm update systemd anchor to reflect lvm parent
Alfredo Deza [Tue, 7 Nov 2017 13:35:57 +0000 (08:35 -0500)]
doc/ceph-volume lvm update systemd anchor to reflect lvm parent

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume lvm.activate update systemd anchor to reflect lvm parent
Alfredo Deza [Tue, 7 Nov 2017 13:35:43 +0000 (08:35 -0500)]
doc/ceph-volume lvm.activate update systemd anchor to reflect lvm parent

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume lvm.systemd update anchor to reflect lvm parent
Alfredo Deza [Tue, 7 Nov 2017 12:56:35 +0000 (07:56 -0500)]
doc/ceph-volume lvm.systemd update anchor to reflect lvm parent

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/ceph-volume document the scan functionality
Alfredo Deza [Mon, 6 Nov 2017 20:53:39 +0000 (15:53 -0500)]
doc/ceph-volume document the scan functionality

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agotool: use coarse_mono_clock in ceph-kvstore-tool 18815/head
Chang Liu [Wed, 8 Nov 2017 08:13:34 +0000 (16:13 +0800)]
tool: use coarse_mono_clock in ceph-kvstore-tool

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
7 years agotool: ceph-kvstore-tool's store-crc command did not save result to the file as expected
Chang Liu [Wed, 8 Nov 2017 07:14:54 +0000 (15:14 +0800)]
tool: ceph-kvstore-tool's store-crc command did not save result to the file as expected

"store-crc <path>" command did not save result to <path>, it didn't use <path>
argument and alwayls passed a NULL to "st.traverse" function. now we will create file
<path>, pass a *ofstream to "st.traverse" function.

Fiexes: http://tracker.ceph.com/issues/22092

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
7 years agodoc/release-notes: clarify that you need to keep your existing OSD caps 18825/head
Jason Dillaman [Wed, 8 Nov 2017 23:22:26 +0000 (18:22 -0500)]
doc/release-notes: clarify that you need to keep your existing OSD caps

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agomon: monmap log on active should be debug
John Spray [Wed, 8 Nov 2017 16:53:45 +0000 (11:53 -0500)]
mon: monmap log on active should be debug

This isn't even a change to the map, just something
that got echoed every time a new mon was the leader.

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #18793 from idryomov/wip-qa-cram-path
Jason Dillaman [Wed, 8 Nov 2017 16:00:41 +0000 (11:00 -0500)]
Merge pull request #18793 from idryomov/wip-qa-cram-path

qa/tasks/cram: include /usr/sbin in the PATH for all commands

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18556 from joke-lee/validate_cors_rule_header_in_cors_option_request
Yuri Weinstein [Wed, 8 Nov 2017 16:00:33 +0000 (08:00 -0800)]
Merge pull request #18556 from joke-lee/validate_cors_rule_header_in_cors_option_request

rgw: add cors header rule check in cors option request

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18795 from idryomov/wip-krbd-enable-generic-050-448
Jason Dillaman [Wed, 8 Nov 2017 16:00:03 +0000 (11:00 -0500)]
Merge pull request #18795 from idryomov/wip-krbd-enable-generic-050-448

qa/suites/krbd: enable generic/050 and generic/448

Reviewed-by: Jason Dillaman <dillaman@redhat.com>