Commit Graph

76874 Commits

Author SHA1 Message Date
Abhishek L
d83e1dd79e 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>
2017-08-08 21:07:35 +02:00
John Spray
0443fdb022 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>
2017-08-08 19:57:10 +01:00
John Spray
f394ca0bad 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>
2017-08-08 19:57:06 +01:00
amitkuma
5012db477c 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
2017-08-08 23:58:06 +05:30
Sage Weil
a47831fb19 Merge pull request #16908 from dillaman/wip-20701
doc: update rbd-mirroring documentation

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-08 12:48:17 -05:00
Sage Weil
dab64cb7c5 Merge pull request #16910 from liewegas/wip-iana
doc/dev/iana: document our official IANA numbers
2017-08-08 12:46:21 -05:00
Sage Weil
b4473f8f4e Merge pull request #16911 from liewegas/wip-lead
doc/dev/index: update rados lead

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-08-08 12:44:56 -05:00
Andrew Schoen
855ce63069 ceph-volume: remove unused config from vagrant_variables.yml files
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-08 12:43:53 -05:00
Sage Weil
5e39bb5ed1 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>
2017-08-08 12:41:06 -05:00
Sage Weil
b5b61dde38 Merge pull request #16894 from liupan1111/wip-remove-friendly
bluestore: drop unused friend class in SharedDriverQueueData

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-08 12:40:15 -05:00
Abhishek L
8388d442eb 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>
2017-08-08 19:38:48 +02:00
Sage Weil
f19214687f doc/dev/index: update rados lead
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 13:37:42 -04:00
Sage Weil
dd84361c1e doc/dev/iana: document our official IANA numbers
PEN 50495
port 3300

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 13:36:39 -04:00
Andrew Schoen
5a90f4c577 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>
2017-08-08 12:24:41 -05:00
Andrew Schoen
852a94734f ceph-volume: add placeholders for prepare_activate testing in tox.ini
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-08 12:05:40 -05:00
Jason Dillaman
3ecc35350a doc/release-notes: indicate that rbd-mirror should use unique IDs
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 12:46:56 -04:00
Abhishek L
5a00b3905d 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>
2017-08-08 18:46:16 +02:00
Andrew Schoen
1b4275417d ceph-volume: adds the xenial distro factor
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2017-08-08 11:44:22 -05:00
Yuri Weinstein
1d7d287561 Merge pull request #16734 from theanalyst/rgw-lc-awsv4
rgw_lc: support for AWSv4 authentication

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-08-08 09:43:57 -07:00
Jason Dillaman
b7ba3f68c3 doc: updated rbd-mirror daemon instructions
Fixes: http://tracker.ceph.com/issues/20701
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 12:43:32 -04:00
Yuri Weinstein
93521be2f7 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>
2017-08-08 09:42:11 -07:00
Andrew Schoen
c8e3be6fae 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>
2017-08-08 11:41:15 -05:00
Jason Dillaman
34ff1ddca1 doc: re-ordered rbd table of contents
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-08 12:40:50 -04:00
Yuri Weinstein
88c1d6b472 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>
2017-08-08 09:40:31 -07:00
Abhishek Lekshmanan
a4c5ceaa6a doc: rgw mention about tagging & bucket policies in s3api
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-08 18:39:46 +02:00
Patrick Donnelly
eabe662614
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>
2017-08-08 09:33:52 -07:00
Patrick Donnelly
41849fdcd1
doc: remove accidental additions to release notes
Presumably this was caused by a bad rebase.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-08 09:28:57 -07:00
Sage Weil
9da7e63c64 qa/tasks/ceph.py: tolerate flush pg stats exception
If the OSD doesn't see IO, it won't flush more pg/osd stats when the
luminous flag is not yet set (legacy pgmonitor mode).

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 12:08:31 -04:00
Pan Liu
06507d0fd8 os/bluestore: move size and block_size to the base class BlockDevice.
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
2017-08-08 23:53:41 +08:00
Radoslaw Zarzynski
89c0eb7e67 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>
2017-08-08 11:30:56 -04:00
Andrew Schoen
97b216fdd1 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>
2017-08-08 10:18:45 -05:00
Alfredo Deza
476d1f50b8 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>
2017-08-08 10:18:45 -05:00
Alfredo Deza
89ccbd8ab4 ceph-volume: tox define vagrant cwd
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-08 10:18:35 -05:00
Andrew Schoen
750d9f4125 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>
2017-08-08 10:18:34 -05:00
Mykola Golub
43d8e23971 Merge pull request #16877 from dillaman/wip-20918
test/librbd: fix race condition with OSD map refresh

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-08-08 17:36:01 +03:00
Sage Weil
7c22b46e90 mon: add mon_health_preluminous_compat_warning
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-08 10:28:10 -04:00
Willem Jan Withagen
fcc2e134b9 PendingReleaseNotes:Announce FreeBSD availability
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-08-08 16:26:21 +02:00
Sage Weil
917858516a Revert "os/bluestore: allow multiple DeferredBatches in flight at once"
This reverts commit ca32d575eb.

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

Also, 3c6a6c46d5 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>
2017-08-08 09:23:31 -04:00
Mykola Golub
50d7320f6d Merge pull request #16882 from dillaman/wip-20941
librbd: default localize parent reads to false

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-08-08 15:44:55 +03:00
Jason Dillaman
96cde17f29 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>
2017-08-08 07:37:18 -04:00
Pan Liu
ddecd66298 bluestore/NVMEDevice: remove unused friendly class declaration.
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
2017-08-08 19:23:04 +08:00
Jos Collin
7b6a14c873 Merge pull request #16846 from amitkumar50/cov-messages-4
messages: Initialize member variables

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-08 11:19:33 +00:00
Jos Collin
dd7d656e55 Merge pull request #16793 from amitkumar50/cov-717286
messages: initialize variable tid in MMDSFindIno

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-08 11:15:54 +00:00
Jos Collin
79986f77b9 Merge pull request #16890 from Songweibin/wip-librados-Wreorder
libradosstriper: silence warning from -Wreorder

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-08-08 10:43:51 +00:00
Haomai Wang
a39421365b msg/async/rdma: fix multi cephcontext confllicting
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-08-08 17:34:05 +08:00
xie xingguo
71cef3cb74 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>
2017-08-08 17:33:35 +08:00
Orit Wasserman
4c378ffbbd rgw: use namespace for roles pool
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-08-08 12:25:01 +03:00
Mykola Golub
698c0ff17d test: add wrapper to run rbd-ggate test on FreeBSD
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-08-08 11:00:30 +02:00
Mykola Golub
b4dbfcc879 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>
2017-08-08 11:00:30 +02:00
songweibin
38f909c9cd libradosstriper: silence warning from -Wreorder
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-08-08 16:35:22 +08:00