]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoMerge pull request #16829 from ivancich/wip-dup-ops-cleanup-1
Yuri Weinstein [Wed, 9 Aug 2017 23:37:04 +0000 (16:37 -0700)]
Merge pull request #16829 from ivancich/wip-dup-ops-cleanup-1

osd: clean up dup index logic; maintain index flag logic in fewer places

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #16887 from xiexingguo/wip-mon-count
Yuri Weinstein [Wed, 9 Aug 2017 23:34:55 +0000 (16:34 -0700)]
Merge pull request #16887 from xiexingguo/wip-mon-count

mon: fix wrong mon-num counting  logic of 'ceph features' command

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16892 from xiexingguo/wip-clean-pg-temp
Yuri Weinstein [Wed, 9 Aug 2017 23:34:38 +0000 (16:34 -0700)]
Merge pull request #16892 from xiexingguo/wip-clean-pg-temp

mon/OSDMonitor: fix 'osd pg temp' unable to cleanup pg-temp

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16897 from amitkumar50/cov-MDentryLink-1
Gregory Farnum [Wed, 9 Aug 2017 22:37:18 +0000 (15:37 -0700)]
Merge pull request #16897 from amitkumar50/cov-MDentryLink-1

messages: Initialization of is_primary

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16919 from ceph/wip-volume-tests
Alfredo Deza [Wed, 9 Aug 2017 22:09:39 +0000 (18:09 -0400)]
Merge pull request #16919 from ceph/wip-volume-tests

ceph-volume: adds functional CI testing

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm activate should check if the device is mounted to prevent errors... 16919/head
Alfredo Deza [Wed, 9 Aug 2017 19:24:15 +0000 (15:24 -0400)]
ceph-volume: lvm activate should check if the device is mounted to prevent errors from mount

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume util add a helper to check if a device is mounted
Alfredo Deza [Wed, 9 Aug 2017 19:10:18 +0000 (15:10 -0400)]
ceph-volume util add a helper to check if a device is mounted

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #16834 from mdw-at-linuxbox/policy
Matt Benjamin [Wed, 9 Aug 2017 18:24:01 +0000 (14:24 -0400)]
Merge pull request #16834 from mdw-at-linuxbox/policy

radosgw: usage: fix bytes_sent bug.

7 years agoMerge pull request #16828 from liewegas/wip-18209
Sage Weil [Wed, 9 Aug 2017 17:46:17 +0000 (12:46 -0500)]
Merge pull request #16828 from liewegas/wip-18209

common/LogClient: assign seq and queue atomically

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16920 from liewegas/wip-osd-crush-ls
Sage Weil [Wed, 9 Aug 2017 17:45:54 +0000 (12:45 -0500)]
Merge pull request #16920 from liewegas/wip-osd-crush-ls

mon/OSDMonitor: implement 'osd crush ls <node>'

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #16923 from liewegas/wip-20738
Sage Weil [Wed, 9 Aug 2017 17:45:29 +0000 (12:45 -0500)]
Merge pull request #16923 from liewegas/wip-20738

qa/suites/rados/objectstore: logs

7 years agoMerge pull request #16737 from dillaman/wip-rbd-config
Mykola Golub [Wed, 9 Aug 2017 16:41:42 +0000 (19:41 +0300)]
Merge pull request #16737 from dillaman/wip-rbd-config

rbd: switched from legacy to new-style configuration options

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #16796 from rzarzynski/wip-rgw-20897
Yuri Weinstein [Wed, 9 Aug 2017 15:57:47 +0000 (08:57 -0700)]
Merge pull request #16796 from rzarzynski/wip-rgw-20897

rgw: honor the tenant part of rgw_bucket during comparisons.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #16874 from rzarzynski/wip-rgw-drop-init_anon_user
Yuri Weinstein [Wed, 9 Aug 2017 15:57:18 +0000 (08:57 -0700)]
Merge pull request #16874 from rzarzynski/wip-rgw-drop-init_anon_user

rgw: drop the unused function init_anon_user()

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #16938 from javacruft/32bit-compat-fixes
Jason Dillaman [Wed, 9 Aug 2017 15:41:36 +0000 (11:41 -0400)]
Merge pull request #16938 from javacruft/32bit-compat-fixes

tools: Align use of uint64_t in service_daemon::AttributeType

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16840 from mychoxin/yuanxin_writing_mistake
Jos Collin [Wed, 9 Aug 2017 15:26:07 +0000 (15:26 +0000)]
Merge pull request #16840 from mychoxin/yuanxin_writing_mistake

os/ObjectStore.h: fix mistake in comment TRANSACTION ISOLATION

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #16947 from liewegas/wip-jewel-x
Sage Weil [Wed, 9 Aug 2017 14:56:15 +0000 (09:56 -0500)]
Merge pull request #16947 from liewegas/wip-jewel-x

qa/suites/upgarde/jewel-x/point-to-point-x: disable app warnings

7 years agoMerge pull request #16917 from trociny/wip-qa-admin-sock
Jason Dillaman [Wed, 9 Aug 2017 14:06:41 +0000 (10:06 -0400)]
Merge pull request #16917 from trociny/wip-qa-admin-sock

qa/workunits/rbd: use command line option to specify watcher asok

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorbd: switched from legacy to new-style configuration options 16737/head
Jason Dillaman [Tue, 1 Aug 2017 19:03:57 +0000 (15:03 -0400)]
rbd: switched from legacy to new-style configuration options

Fixes: http://tracker.ceph.com/issues/20737
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/suites/upgarde/jewel-x/point-to-point-x: disable app warnings 16947/head
Sage Weil [Wed, 9 Aug 2017 13:18:54 +0000 (09:18 -0400)]
qa/suites/upgarde/jewel-x/point-to-point-x: disable app warnings

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16889 from oritwas/wip-rgw-20177
Orit Wasserman [Wed, 9 Aug 2017 12:51:52 +0000 (15:51 +0300)]
Merge pull request #16889 from oritwas/wip-rgw-20177

rgw: Use namespace for lc_pool and roles_pool

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
7 years agoceph-volume: lvm activate should not ignore exit status codes
Alfredo Deza [Wed, 9 Aug 2017 12:20:33 +0000 (08:20 -0400)]
ceph-volume: lvm activate should not ignore exit status codes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoos/ObjectStore: correct mistake in writing 16840/head
mychoxin [Sat, 5 Aug 2017 13:30:09 +0000 (21:30 +0800)]
os/ObjectStore: correct mistake in writing

Signed-off-by: mychoxin <mychoxin@gmail.com>
7 years agoAlign use of uint64_t in service_daemon::AttributeType 16938/head
James Page [Wed, 9 Aug 2017 09:04:37 +0000 (10:04 +0100)]
Align use of uint64_t in service_daemon::AttributeType

size_t on a 32-bit architecture is a 32 bit unsigned int which
created ambiguity when casting to bool, uint64_t or std::string
(which are boost::variants for service_daemon::AttributeType).

Align to use of uint64_t to resolve compilation failures in
all 32-bit architectures.

Signed-off-by: James Page <james.page@ubuntu.com>
7 years agoqa/workunits/rbd: use command line option to specify watcher asok 16917/head
Mykola Golub [Tue, 8 Aug 2017 18:50:47 +0000 (20:50 +0200)]
qa/workunits/rbd: use command line option to specify watcher asok

The previous method to get the watcher admin socket was fragile
and had started to fail after the recent changes to vstart ceph.conf.

Fixes: http://tracker.ceph.com/issues/20954
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge pull request #16927 from optimistyzy/89_ext
Haomai Wang [Wed, 9 Aug 2017 05:38:08 +0000 (13:38 +0800)]
Merge pull request #16927 from optimistyzy/89_ext

bluestore/NVMeDevice: update NVMeDevice code due to SPDK upgrade

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
7 years agobluestore,NVMeDevice: update NVMeDevice code due to SPDK upgrade 16927/head
Ziye Yang [Wed, 9 Aug 2017 03:50:45 +0000 (11:50 +0800)]
bluestore,NVMeDevice: update NVMeDevice code due to SPDK upgrade

Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
7 years agoMerge pull request #16900 from liewegas/wip-20925-b
Sage Weil [Wed, 9 Aug 2017 02:33:55 +0000 (21:33 -0500)]
Merge pull request #16900 from liewegas/wip-20925-b

os/bluestore: Revert "os/bluestore: allow multiple DeferredBatches in flight at once"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #16902 from liewegas/wip-health-deprecation
Sage Weil [Wed, 9 Aug 2017 02:29:01 +0000 (21:29 -0500)]
Merge pull request #16902 from liewegas/wip-health-deprecation

mon: add mon_health_preluminous_compat_warning

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #16916 from jcsp/wip-scrub-logging
Sage Weil [Wed, 9 Aug 2017 02:27:52 +0000 (21:27 -0500)]
Merge pull request #16916 from jcsp/wip-scrub-logging

mon, osd: turn down non-error scrub message severity

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoTest bytes_sent bugs. 16834/head
Marcus Watts [Sat, 5 Aug 2017 00:01:32 +0000 (20:01 -0400)]
Test bytes_sent bugs.

Rearrange logic to make it easier to measure accumulation.
Instrument the boto request/response loop to count bytes in and out.
Accumulate byte counts in usage like structure.
Compare actual usage reported by ceph against local usage measured.
Report and assert if there are any short-comings.
Remove zone placement rule that was newly added at end: tests should be rerunable.

Nit: the logic to wait for "delete_obj" is not quite right.

Fixes: http://tracker.ceph.com/issues/19870
Signed-off-by: Marcus Watts <mwatts@redhat.com>
7 years agoFix bytes_sent bugs.
Marcus Watts [Sun, 18 Jun 2017 22:18:39 +0000 (18:18 -0400)]
Fix bytes_sent bugs.

log bytes sent/received.
add cct to bufferingfilter
add cct to RGWRestfulIO
AccountingFilter - save cct for debugging output
implement AccountingFilter::complete_request() - account for bytes reported here.
BufferingFilter<T>::complete_request() - ignore counts from send_content_length() complete_header();

Code quality note:
this patch makes "cct" available for a lot of newly added debug
statements.  The debug statements are mostly not very useful (and should
go away in the future) - *But* the "cct" logic should be redone and
incorporated into some base class (such RestfulClient) so that it is
possible to easily add in debug statements such as these in the future.

Fixes: http://tracker.ceph.com/issues/19870
Signed-off-by: Marcus Watts <mwatts@redhat.com>
7 years agoqa/suites/rados/objectstore: logs 16923/head
Sage Weil [Mon, 7 Aug 2017 16:10:03 +0000 (12:10 -0400)]
qa/suites/rados/objectstore: logs

Hunting http://tracker.ceph.com/issues/20738

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16755 from ivancich/wip-pull-new-dmclock
Gregory Farnum [Tue, 8 Aug 2017 21:27:28 +0000 (14:27 -0700)]
Merge pull request #16755 from ivancich/wip-pull-new-dmclock

osd: bring in dmclock library changes

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #16546 from asomers/openstack_shebang2
Sage Weil [Tue, 8 Aug 2017 20:55:38 +0000 (15:55 -0500)]
Merge pull request #16546 from asomers/openstack_shebang2

qa: Fix shebangs on openstack scripts

Reviewed-by: Amik Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #15579 from ovh/bp-parallel-rbd-lsl
Jason Dillaman [Tue, 8 Aug 2017 20:54:22 +0000 (16:54 -0400)]
Merge pull request #15579 from ovh/bp-parallel-rbd-lsl

rbd: parallelize "rbd ls -l"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agocommon/LogClient: make last_log non-atomic 16828/head
Sage Weil [Fri, 4 Aug 2017 21:18:17 +0000 (17:18 -0400)]
common/LogClient: make last_log non-atomic

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocommon/LogClient: fix indentation
Sage Weil [Fri, 4 Aug 2017 17:59:38 +0000 (13:59 -0400)]
common/LogClient: fix indentation

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agocommon/LogClient: assign seq and queue atomically
Sage Weil [Fri, 4 Aug 2017 17:58:17 +0000 (13:58 -0400)]
common/LogClient: assign seq and queue atomically

The _get_mon_log_message() assumes that log_last and log_queue
are in sync, but it was previously possible to increment log_last
setting e.seq in do_log(), and only later queue it.  If a racing
thread ran get_mon_log_message() in the meantime it would fail
an assertion.

Fix by assigning the seq and queueing it atomically.  If the
cluster log is not enabled, use the get_next_seq() helper so that
graylog or syslog messages still have a seq assigned.

Fixes: http://tracker.ceph.com/issues/18209
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomon/OSDMonitor: implement 'osd crush ls <node>' 16920/head
Sage Weil [Tue, 8 Aug 2017 19:56:18 +0000 (15:56 -0400)]
mon/OSDMonitor: implement 'osd crush ls <node>'

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16861 from wido/docs-mgr-zabbix-enable
Abhishek L [Tue, 8 Aug 2017 19:07:35 +0000 (21:07 +0200)]
Merge pull request #16861 from wido/docs-mgr-zabbix-enable

doc: Update mgr doc on how to enable Zabbix module

Reviewed-By: John Spray <jcsp@redhat.com>
7 years agoosd: downgrade (ok) PG scrub messages to debug 16916/head
John Spray [Tue, 8 Aug 2017 18:53:11 +0000 (19:53 +0100)]
osd: downgrade (ok) PG scrub messages to debug

Otherwise someone watching the log at INFO level gets
pelted with potentially millions of log messages
while the system is scrubbing.

Fixes: http://tracker.ceph.com/issues/20947
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomon: downgrade "scrub ok" message to debug.
John Spray [Tue, 8 Aug 2017 18:36:03 +0000 (19:36 +0100)]
mon: downgrade "scrub ok" message to debug.

This hides lines like:
[INF]  scrub ok on 0,1,2: ScrubResult(keys {pgmap_pg=13} crc {pgmap_pg=2458062599})

from the normal cluster log views.

Fixes: http://tracker.ceph.com/issues/20947
Signed-off-by: John Spray <john.spray@redhat.com>
7 years agomessages: Initialization of is_primary 16897/head
amitkuma [Tue, 8 Aug 2017 18:28:06 +0000 (23:58 +0530)]
messages: Initialization of is_primary

Fixes the coverity issue:

** 717269 Uninitialized scalar field
CID 717269 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member is_primary is not initialized
in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
7 years agoMerge pull request #16908 from dillaman/wip-20701
Sage Weil [Tue, 8 Aug 2017 17:48:17 +0000 (12:48 -0500)]
Merge pull request #16908 from dillaman/wip-20701

doc: update rbd-mirroring documentation

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16910 from liewegas/wip-iana
Sage Weil [Tue, 8 Aug 2017 17:46:21 +0000 (12:46 -0500)]
Merge pull request #16910 from liewegas/wip-iana

doc/dev/iana: document our official IANA numbers

7 years agoMerge pull request #16911 from liewegas/wip-lead
Sage Weil [Tue, 8 Aug 2017 17:44:56 +0000 (12:44 -0500)]
Merge pull request #16911 from liewegas/wip-lead

doc/dev/index: update rados lead

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoceph-volume: remove unused config from vagrant_variables.yml files
Andrew Schoen [Tue, 8 Aug 2017 17:43:53 +0000 (12:43 -0500)]
ceph-volume: remove unused config from vagrant_variables.yml files

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #16879 from smithfarm/wip-release-notes-11-2-1
Sage Weil [Tue, 8 Aug 2017 17:41:06 +0000 (12:41 -0500)]
Merge pull request #16879 from smithfarm/wip-release-notes-11-2-1

doc: release-notes.rst: add Kraken v11.2.1 and update releases.rst

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoMerge pull request #16894 from liupan1111/wip-remove-friendly
Sage Weil [Tue, 8 Aug 2017 17:40:15 +0000 (12:40 -0500)]
Merge pull request #16894 from liupan1111/wip-remove-friendly

bluestore: drop unused friend class in SharedDriverQueueData

Reviewed-by: Haomai Wang <haomai@xsky.com>
7 years agoMerge pull request #16907 from theanalyst/doc/rgw/s3-api-tagging
Abhishek L [Tue, 8 Aug 2017 17:38:48 +0000 (19:38 +0200)]
Merge pull request #16907 from theanalyst/doc/rgw/s3-api-tagging

doc: rgw mention about tagging & bucket policies in s3api

Reviewed-By: Adam Emerson <aemerson@redhat.com>
Reviewed-By: Matt Benjamin <mbenjami@redhat.com>
7 years agodoc/dev/index: update rados lead 16911/head
Sage Weil [Tue, 8 Aug 2017 17:37:42 +0000 (13:37 -0400)]
doc/dev/index: update rados lead

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agodoc/dev/iana: document our official IANA numbers 16910/head
Sage Weil [Tue, 8 Aug 2017 17:36:32 +0000 (13:36 -0400)]
doc/dev/iana: document our official IANA numbers

PEN 50495
port 3300

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoceph-volume: adds CEPH_VOLUME_DEBUG=1 to functional tests
Andrew Schoen [Tue, 8 Aug 2017 17:24:41 +0000 (12:24 -0500)]
ceph-volume: adds CEPH_VOLUME_DEBUG=1 to functional tests

This will show us tracebacks if ceph-volume fails

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume: add placeholders for prepare_activate testing in tox.ini
Andrew Schoen [Tue, 8 Aug 2017 17:05:40 +0000 (12:05 -0500)]
ceph-volume: add placeholders for prepare_activate testing in tox.ini

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agodoc/release-notes: indicate that rbd-mirror should use unique IDs 16908/head
Jason Dillaman [Tue, 8 Aug 2017 16:46:56 +0000 (12:46 -0400)]
doc/release-notes: indicate that rbd-mirror should use unique IDs

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16782 from wjwithagen/wip-wjw-FreeBSD-Release
Abhishek L [Tue, 8 Aug 2017 16:46:16 +0000 (18:46 +0200)]
Merge pull request #16782 from wjwithagen/wip-wjw-FreeBSD-Release

PendingReleaseNotes:Announce FreeBSD availability

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Jason Dillaman <jdillaman@redhat.com>
7 years agoceph-volume: adds the xenial distro factor
Andrew Schoen [Tue, 8 Aug 2017 16:44:22 +0000 (11:44 -0500)]
ceph-volume: adds the xenial distro factor

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #16734 from theanalyst/rgw-lc-awsv4
Yuri Weinstein [Tue, 8 Aug 2017 16:43:57 +0000 (09:43 -0700)]
Merge pull request #16734 from theanalyst/rgw-lc-awsv4

rgw_lc: support for AWSv4 authentication

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agodoc: updated rbd-mirror daemon instructions
Jason Dillaman [Tue, 8 Aug 2017 16:43:32 +0000 (12:43 -0400)]
doc: updated rbd-mirror daemon instructions

Fixes: http://tracker.ceph.com/issues/20701
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16821 from theanalyst/rgw-lc-log-drop-oldlc
Yuri Weinstein [Tue, 8 Aug 2017 16:42:11 +0000 (09:42 -0700)]
Merge pull request #16821 from theanalyst/rgw-lc-log-drop-oldlc

rgw_op: Drop the Old LifecycleConfiguration from logs

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
7 years agoceph-volume: create a centos7 factor for functional testing
Andrew Schoen [Tue, 8 Aug 2017 16:41:15 +0000 (11:41 -0500)]
ceph-volume: create a centos7 factor for functional testing

We want to run these tests on multiple distros so this change sets the
foundation for that.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agodoc: re-ordered rbd table of contents
Jason Dillaman [Tue, 8 Aug 2017 15:53:42 +0000 (11:53 -0400)]
doc: re-ordered rbd table of contents

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16854 from yaozongyou/fix-rgw-not-responding
Yuri Weinstein [Tue, 8 Aug 2017 16:40:31 +0000 (09:40 -0700)]
Merge pull request #16854 from yaozongyou/fix-rgw-not-responding

rgw: fix not responding when receiving SIGHUP signal.

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
7 years agodoc: rgw mention about tagging & bucket policies in s3api 16907/head
Abhishek Lekshmanan [Tue, 8 Aug 2017 16:39:46 +0000 (18:39 +0200)]
doc: rgw mention about tagging & bucket policies in s3api

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge PR #16378 into master
Patrick Donnelly [Tue, 8 Aug 2017 16:33:52 +0000 (09:33 -0700)]
Merge PR #16378 into master

* refs/remotes/upstream/pull/16378/head:
doc: remove accidental additions to release notes
qa/cephfs: Fix race in test_volume_client
qa/cephfs: Test filtered df
PendingReleaseNotes: add note about df filtering
client: Support new, filtered MStatfs
objecter: Support new, filtered MStatfs
mon/PGMap stats: Support new, filtered MStatfs
messages: Add optional data pool to MStatfs

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agodoc: remove accidental additions to release notes 16378/head
Patrick Donnelly [Tue, 8 Aug 2017 16:28:57 +0000 (09:28 -0700)]
doc: remove accidental additions to release notes

Presumably this was caused by a bad rebase.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agorgw: honor the tenant part of rgw_bucket during comparisons. 16796/head
Radoslaw Zarzynski [Thu, 3 Aug 2017 16:40:44 +0000 (12:40 -0400)]
rgw: honor the tenant part of rgw_bucket during comparisons.

Fixes: http://tracker.ceph.com/issues/20897
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoceph-volume: setup nodes for testinfra testing
Andrew Schoen [Tue, 8 Aug 2017 15:16:12 +0000 (10:16 -0500)]
ceph-volume: setup nodes for testinfra testing

This uses the playbook that exists in ceph-ansible to prepare the nodes for
testing by installing net-tools.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoceph-volume: vagrantfile runs storagectl once
Alfredo Deza [Tue, 8 Aug 2017 15:07:02 +0000 (11:07 -0400)]
ceph-volume: vagrantfile runs storagectl once

It assumes that if there is a disk left it has already run. This avoids
issues when reloading/restarting machines with vagrant.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tox define vagrant cwd
Alfredo Deza [Mon, 7 Aug 2017 20:34:22 +0000 (16:34 -0400)]
ceph-volume: tox define vagrant cwd

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: adds a functional testing scenario for lvm create
Andrew Schoen [Fri, 4 Aug 2017 15:40:39 +0000 (10:40 -0500)]
ceph-volume: adds a functional testing scenario for lvm create

This setups up the basic test harness and adds a test for the create
subcommand. The test uses ceph-ansible to deploy a cluster using
``ceph-volume lvm create``, tests the cluster state using the
ceph-ansible test suite, reboots the nodes and then tests again.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #16877 from dillaman/wip-20918
Mykola Golub [Tue, 8 Aug 2017 14:36:01 +0000 (17:36 +0300)]
Merge pull request #16877 from dillaman/wip-20918

test/librbd: fix race condition with OSD map refresh

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agomon: add mon_health_preluminous_compat_warning 16902/head
Sage Weil [Tue, 8 Aug 2017 14:28:10 +0000 (10:28 -0400)]
mon: add mon_health_preluminous_compat_warning

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoPendingReleaseNotes:Announce FreeBSD availability 16782/head
Willem Jan Withagen [Thu, 3 Aug 2017 10:39:47 +0000 (12:39 +0200)]
PendingReleaseNotes:Announce FreeBSD availability

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoRevert "os/bluestore: allow multiple DeferredBatches in flight at once" 16900/head
Sage Weil [Tue, 8 Aug 2017 13:23:31 +0000 (09:23 -0400)]
Revert "os/bluestore: allow multiple DeferredBatches in flight at once"

This reverts commit ca32d575eb2673737198a63643d5d1923151eba3.

If we have multiple batches in flight then we have to worry about writes
to the same blocks reordering.

Also, 3c6a6c46d5808d6c42ed4dcfb441bad64366686b is sufficient to avoid the
stall/deadlock in http://tracker.ceph.com/issues/20295.

# Conflicts:
# src/os/bluestore/BlueStore.cc

Fixes: http://tracker.ceph.com/issues/20925
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16882 from dillaman/wip-20941
Mykola Golub [Tue, 8 Aug 2017 12:44:55 +0000 (15:44 +0300)]
Merge pull request #16882 from dillaman/wip-20941

librbd: default localize parent reads to false

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge pull request #15339 from trociny/wip-rbd-ggate
Jason Dillaman [Tue, 8 Aug 2017 11:37:18 +0000 (07:37 -0400)]
Merge pull request #15339 from trociny/wip-rbd-ggate

rbd-ggate: tool to map images on FreeBSD via GEOM Gate

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agobluestore/NVMEDevice: remove unused friendly class declaration. 16894/head
Pan Liu [Tue, 8 Aug 2017 11:23:04 +0000 (19:23 +0800)]
bluestore/NVMEDevice: remove unused friendly class declaration.

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
7 years agoMerge pull request #16846 from amitkumar50/cov-messages-4
Jos Collin [Tue, 8 Aug 2017 11:19:33 +0000 (11:19 +0000)]
Merge pull request #16846 from amitkumar50/cov-messages-4

messages: Initialize member variables

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #16793 from amitkumar50/cov-717286
Jos Collin [Tue, 8 Aug 2017 11:15:54 +0000 (11:15 +0000)]
Merge pull request #16793 from amitkumar50/cov-717286

messages: initialize variable tid in MMDSFindIno

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agoMerge pull request #16890 from Songweibin/wip-librados-Wreorder
Jos Collin [Tue, 8 Aug 2017 10:43:51 +0000 (10:43 +0000)]
Merge pull request #16890 from Songweibin/wip-librados-Wreorder

libradosstriper: silence warning from -Wreorder

Reviewed-by: Jos Collin <jcollin@redhat.com>
7 years agomon/OSDMonitor: fix 'osd pg temp' unable to cleanup pg-temp 16892/head
xie xingguo [Tue, 8 Aug 2017 09:19:14 +0000 (17:19 +0800)]
mon/OSDMonitor: fix 'osd pg temp' unable to cleanup pg-temp

This is not very elegant way but should work..

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agorgw: use namespace for roles pool 16889/head
Orit Wasserman [Tue, 8 Aug 2017 08:24:06 +0000 (11:24 +0300)]
rgw:  use namespace for roles pool

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
7 years agotest: add wrapper to run rbd-ggate test on FreeBSD 15339/head
Mykola Golub [Sun, 6 Aug 2017 14:27:22 +0000 (16:27 +0200)]
test: add wrapper to run rbd-ggate test on FreeBSD

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
7 years agorbd-ggate: tool to map images on FreeBSD via GEOM Gate
Mykola Golub [Sun, 14 May 2017 09:00:24 +0000 (09:00 +0000)]
rbd-ggate: tool to map images on FreeBSD via GEOM Gate

rbd-ggate spawns a process responsible for the creation of ggate
device and forwarding I/O requests between the GEOM Gate kernel
subsystem and RADOS.

On FreeBSD it provides functionality similar to rbd-nbd on Linux.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
7 years agolibradosstriper: silence warning from -Wreorder 16890/head
songweibin [Tue, 8 Aug 2017 08:35:22 +0000 (16:35 +0800)]
libradosstriper: silence warning from -Wreorder

Signed-off-by: songweibin <song.weibin@zte.com.cn>
7 years agorgw: initialize lc pool as namespace
Orit Wasserman [Tue, 8 Aug 2017 08:22:42 +0000 (11:22 +0300)]
rgw: initialize lc pool as namespace

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Fixes: http://tracker.ceph.com/issues/20177
7 years agomon: hex feature bits of 'ceph features' 16887/head
xie xingguo [Tue, 8 Aug 2017 07:14:55 +0000 (15:14 +0800)]
mon: hex feature bits of 'ceph features'

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agomon: fix inaccurate mon-num counting of 'ceph features' command
xie xingguo [Mon, 7 Aug 2017 11:41:35 +0000 (19:41 +0800)]
mon: fix inaccurate mon-num counting of 'ceph features' command

Monitors need to talk to each other, which causes the inaccurate
mon-num counting logic of 'ceph features' command.
E.g.:
(1) By specifying 2 monitors, you get 4 from 'ceph features':
    "mon": {
        "group": {
            "features": 2305244844532236283,
            "release": "luminous",
            "num": 4
        }
    },
(2) By specifying 3 monitors, you get 9 from 'ceph features':
   "mon": {
        "group": {
            "features": 2305244844532236283,
            "release": "luminous",
            "num": 9
        }
    },

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
7 years agoMerge pull request #16881 from liewegas/wip-kraken-x
Sage Weil [Tue, 8 Aug 2017 01:38:21 +0000 (20:38 -0500)]
Merge pull request #16881 from liewegas/wip-kraken-x

qa/suites/upgrade/kraken-x: fixes

7 years agoqa/suites/upgrade/kraken-x/stress-split*: whitelist 16881/head
Sage Weil [Mon, 7 Aug 2017 20:02:33 +0000 (16:02 -0400)]
qa/suites/upgrade/kraken-x/stress-split*: whitelist

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/upgrade/kraken-x/parallel: whitelist
Sage Weil [Mon, 7 Aug 2017 19:57:55 +0000 (15:57 -0400)]
qa/suites/upgrade/kraken-x/parallel: whitelist

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #16823 from adamemerson/wip-use-after-free
Matt Benjamin [Mon, 7 Aug 2017 23:42:30 +0000 (19:42 -0400)]
Merge pull request #16823 from adamemerson/wip-use-after-free

rgw: Fix use after free in IAM policy parser

7 years agoMerge pull request #16866 from amitkumar50/cov-librbd
Jason Dillaman [Mon, 7 Aug 2017 23:37:25 +0000 (19:37 -0400)]
Merge pull request #16866 from amitkumar50/cov-librbd

librbd: initialization of state member variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #16867 from amitkumar50/cov-librbd-1
Jason Dillaman [Mon, 7 Aug 2017 23:35:41 +0000 (19:35 -0400)]
Merge pull request #16867 from amitkumar50/cov-librbd-1

librbd: Initializing member variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agorgw: Fix the last policy use-after-free 16823/head
Adam C. Emerson [Mon, 7 Aug 2017 21:46:38 +0000 (17:46 -0400)]
rgw: Fix the last policy use-after-free

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agorgw: Fix another use after free
Adam C. Emerson [Mon, 7 Aug 2017 21:27:53 +0000 (17:27 -0400)]
rgw: Fix another use after free

This one was caused by iterator invalidation in set operations. In
this case just replace the set entirely with a bitfield.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agorgw: Fix use after free in IAM policy parser
Adam C. Emerson [Mon, 24 Jul 2017 20:10:11 +0000 (16:10 -0400)]
rgw: Fix use after free in IAM policy parser

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
7 years agolibrbd: default localize parent reads to false 16882/head
Jason Dillaman [Mon, 7 Aug 2017 21:44:30 +0000 (17:44 -0400)]
librbd: default localize parent reads to false

Fixes: http://tracker.ceph.com/issues/20941
Signed-off-by: Jason Dillaman <dillaman@redhat.com>