]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoceph-dencoder: adding support for cls_rgw_lc_obj_head 18920/head
Yao Zongyou [Tue, 14 Nov 2017 13:42:25 +0000 (21:42 +0800)]
ceph-dencoder: adding support for cls_rgw_lc_obj_head

After adding cls_rgw_lc_obj_head, we can using the following command
to look into lc processing related information:
rados -p default.rgw.log getomapheader lc.0 ./header.bin --namespace=lc
ceph-dencoder type cls_rgw_lc_obj_head import ./header.bin decode dump_json

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.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 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 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 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 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 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 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 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 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>
7 years agoMerge pull request #18706 from cbodley/wip-rgw-policy-emplace
Yuri Weinstein [Wed, 8 Nov 2017 15:59:13 +0000 (07:59 -0800)]
Merge pull request #18706 from cbodley/wip-rgw-policy-emplace

rgw: simplify use of map::emplace in iam

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoMerge pull request #18770 from tchaikov/wip-doc-log-file
John Spray [Wed, 8 Nov 2017 12:42:22 +0000 (12:42 +0000)]
Merge pull request #18770 from tchaikov/wip-doc-log-file

doc: fix desc of option "mon cluster log file"

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agorgw: cleanup repeated assignment to need_zone_update in zone modify command 18817/head
Enming Zhang [Wed, 8 Nov 2017 12:38:18 +0000 (20:38 +0800)]
rgw: cleanup repeated assignment to need_zone_update in zone modify command

Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
7 years agodoc: fix desc of option "mon cluster log file" 18770/head
Kefu Chai [Mon, 6 Nov 2017 16:21:13 +0000 (00:21 +0800)]
doc: fix desc of option "mon cluster log file"

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/zabbix: ignore osd with 0 kb capacity 18809/head
Ilja Slepnev [Tue, 24 Oct 2017 17:27:59 +0000 (20:27 +0300)]
mgr/zabbix: ignore osd with 0 kb capacity

Fixes: http://tracker.ceph.com/issues/21904
Signed-off-by: Ilja Slepnev <islepnev@gmail.com>
7 years agoMerge PR #18807 into master
Patrick Donnelly [Wed, 8 Nov 2017 06:12:55 +0000 (17:12 +1100)]
Merge PR #18807 into master

* refs/pull/18807/head:
ptl-tool: put common use-cases up front in README
ptl-tool: only create tag if new branch
ptl-tool: hint how to skip contributor

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoptl-tool: put common use-cases up front in README 18807/head
Patrick Donnelly [Wed, 8 Nov 2017 06:08:14 +0000 (17:08 +1100)]
ptl-tool: put common use-cases up front in README

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoptl-tool: only create tag if new branch
Patrick Donnelly [Wed, 8 Nov 2017 06:07:25 +0000 (17:07 +1100)]
ptl-tool: only create tag if new branch

It doesn't make sense to create tags for branches that already exist.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoptl-tool: hint how to skip contributor
Patrick Donnelly [Wed, 8 Nov 2017 06:07:03 +0000 (17:07 +1100)]
ptl-tool: hint how to skip contributor

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorgw: address warnings due to incorrect format code 18796/head
J. Eric Ivancich [Tue, 7 Nov 2017 17:55:10 +0000 (12:55 -0500)]
rgw: address warnings due to incorrect format code

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
7 years agoMerge pull request #18709 from ivancich/wip-bktidx-race-bugfix
Matt Benjamin [Tue, 7 Nov 2017 17:10:23 +0000 (12:10 -0500)]
Merge pull request #18709 from ivancich/wip-bktidx-race-bugfix

rgw: fix BZ 1500904, stale bucket index entry remains after obj delete

7 years agoqa/suites/krbd: enable generic/050 and generic/448 18795/head
Ilya Dryomov [Sat, 4 Nov 2017 08:00:09 +0000 (09:00 +0100)]
qa/suites/krbd: enable generic/050 and generic/448

generic/448 has been failing on ext4 and is now fixed upstream.
The fix for generic/050 is in testing, scheduled for 4.15-rc1.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoMerge pull request #18476 from majianpeng/objecter-misc-cleanup
Yuri Weinstein [Tue, 7 Nov 2017 17:02:08 +0000 (09:02 -0800)]
Merge pull request #18476 from majianpeng/objecter-misc-cleanup

osdc/Objecter: misc cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18768 from wumingqiao/wip-WaitActingChange
Yuri Weinstein [Tue, 7 Nov 2017 17:00:38 +0000 (09:00 -0800)]
Merge pull request #18768 from wumingqiao/wip-WaitActingChange

PG: fix name of WaitActingChange

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #18789 from jcsp/wip-doc-config-set
Jason Dillaman [Tue, 7 Nov 2017 13:18:12 +0000 (08:18 -0500)]
Merge pull request #18789 from jcsp/wip-doc-config-set

doc: replace injectargs usage with "config set"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18769 from yaozongyou/wip-dashboard-format-label
John Spray [Tue, 7 Nov 2017 12:27:54 +0000 (12:27 +0000)]
Merge pull request #18769 from yaozongyou/wip-dashboard-format-label

mgr/dashboard: format tooltip's label as user friendly string

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agodoc: replace injectargs usage with "config set" 18789/head
John Spray [Tue, 7 Nov 2017 11:30:45 +0000 (11:30 +0000)]
doc: replace injectargs usage with "config set"

Cleaner and easier.  Also implicitly documents
the config set command, which hadn't been explicitly
called out in the docs before.

Signed-off-by: John Spray <john.spray@redhat.com>
7 years agoosd: use is_erasure() when appropriate 18779/head
Kefu Chai [Tue, 7 Nov 2017 06:21:36 +0000 (14:21 +0800)]
osd: use is_erasure() when appropriate

sometimes, we are using pool.info.require_rollback() even when what we
mean is "pool.info.is_erasure()", so fix it to improve the readability.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoosd: remove unused ReplicatedBackend::objects_read_async()
Kefu Chai [Tue, 7 Nov 2017 06:14:13 +0000 (14:14 +0800)]
osd: remove unused ReplicatedBackend::objects_read_async()

async read is not used by replica pool at all.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #18689 into master
Patrick Donnelly [Tue, 7 Nov 2017 06:21:04 +0000 (17:21 +1100)]
Merge PR #18689 into master

* refs/pull/18689/head:
cephfs: Do not check auth gid when not specified

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #18386 into master
Patrick Donnelly [Mon, 6 Nov 2017 22:33:13 +0000 (09:33 +1100)]
Merge PR #18386 into master

* refs/pull/18386/head:
ptl-tool: allow setting project/repo for GH req

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18658 from linuxbox2/wip-s3-post-20201
Yuri Weinstein [Mon, 6 Nov 2017 21:06:42 +0000 (13:06 -0800)]
Merge pull request #18658 from linuxbox2/wip-s3-post-20201

RGW: update S3 POST policy handling of Content-Type

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
7 years agodoc/ceph-volume update the index to include the simple sub command and files
Alfredo Deza [Mon, 6 Nov 2017 19:17:20 +0000 (14:17 -0500)]
doc/ceph-volume update the index to include the simple sub command and files

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoqa/tasks/cram: include /usr/sbin in the PATH for all commands 18793/head
Ilya Dryomov [Mon, 6 Nov 2017 19:00:50 +0000 (20:00 +0100)]
qa/tasks/cram: include /usr/sbin in the PATH for all commands

/usr/sbin is not in non-login PATH on centos.  We already do this for
workunits, see commit 0e53f5f38b0c ("workunit: include /usr/sbin in the
PATH for all commands").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
7 years agoceph-volume tests.simple add tests for trigger parsing from systemd
Alfredo Deza [Mon, 6 Nov 2017 16:15:28 +0000 (11:15 -0500)]
ceph-volume tests.simple add tests for trigger parsing from systemd

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.simple create etc_path scan tests
Alfredo Deza [Mon, 6 Nov 2017 15:36:14 +0000 (10:36 -0500)]
ceph-volume tests.simple create etc_path scan tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.simple add checks for get_contents in scan
Alfredo Deza [Mon, 6 Nov 2017 15:06:02 +0000 (10:06 -0500)]
ceph-volume tests.simple add checks for get_contents in scan

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests.util add binary verification tests
Alfredo Deza [Mon, 6 Nov 2017 14:43:58 +0000 (09:43 -0500)]
ceph-volume tests.util add binary verification tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume tests create a fixture for temporary files
Alfredo Deza [Mon, 6 Nov 2017 14:42:53 +0000 (09:42 -0500)]
ceph-volume tests create a fixture for temporary files

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume systemd.systemctl helpers to mask ceph-disk
Alfredo Deza [Fri, 3 Nov 2017 18:36:38 +0000 (14:36 -0400)]
ceph-volume systemd.systemctl helpers to mask ceph-disk

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume devices include simple at the module import level
Alfredo Deza [Fri, 3 Nov 2017 18:36:13 +0000 (14:36 -0400)]
ceph-volume devices include simple at the module import level

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume main add simple to the sub-commands
Alfredo Deza [Fri, 3 Nov 2017 18:35:45 +0000 (14:35 -0400)]
ceph-volume main add simple to the sub-commands

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util add an OSDPath argument validator
Alfredo Deza [Fri, 3 Nov 2017 18:35:03 +0000 (14:35 -0400)]
ceph-volume util add an OSDPath argument validator

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume simple.system add a helper to check if a file is a binary or not
Alfredo Deza [Fri, 3 Nov 2017 18:34:39 +0000 (14:34 -0400)]
ceph-volume simple.system add a helper to check if a file is a binary or not

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util.system add a context manager for temporary mounting/unmounting
Alfredo Deza [Fri, 3 Nov 2017 18:34:06 +0000 (14:34 -0400)]
ceph-volume util.system add a context manager for temporary mounting/unmounting

Signed-off-by: Alfredo Deza <adeza@redhat.com>