Commit Graph

76792 Commits

Author SHA1 Message Date
Sage Weil
1f8f58becf 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>
2017-08-08 16:04:42 -04:00
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
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
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
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
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
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
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
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
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
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
Sage Weil
bdaf63e295 Merge pull request #16881 from liewegas/wip-kraken-x
qa/suites/upgrade/kraken-x: fixes
2017-08-07 20:38:21 -05:00
Sage Weil
bf29142b08 qa/suites/upgrade/kraken-x/stress-split*: whitelist
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-07 21:36:58 -04:00
Sage Weil
2234a0ed11 qa/suites/upgrade/kraken-x/parallel: whitelist
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-07 21:36:58 -04:00
Matt Benjamin
94883e0459 Merge pull request #16823 from adamemerson/wip-use-after-free
rgw: Fix use after free in IAM policy parser
2017-08-07 19:42:30 -04:00
Jason Dillaman
6e71c3a324 Merge pull request #16866 from amitkumar50/cov-librbd
librbd: initialization of state member variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-07 19:37:25 -04:00
Jason Dillaman
52e8f3bee3 Merge pull request #16867 from amitkumar50/cov-librbd-1
librbd: Initializing member variables

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-07 19:35:41 -04:00
Adam C. Emerson
5353d95268 rgw: Fix the last policy use-after-free
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-08-07 17:48:37 -04:00
Adam C. Emerson
97d026dde6 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>
2017-08-07 17:48:37 -04:00
Adam C. Emerson
8377ba6525 rgw: Fix use after free in IAM policy parser
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-08-07 17:48:37 -04:00
Jason Dillaman
cfc3d46036 librbd: default localize parent reads to false
Fixes: http://tracker.ceph.com/issues/20941
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-07 17:44:30 -04:00
Gregory Farnum
5fbd8dcbbb Merge pull request #16848 from amitkumar50/cov-messages-5
messages: Initialization of uninitialized members various classes

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-07 14:37:09 -07:00
Patrick Donnelly
6b10568732
Merge PR #16876 into master
* refs/remotes/upstream/pull/16876/head:
	doc: add new fs auth command to release notes

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-07 12:53:54 -07:00
Sage Weil
973772c11d Merge pull request #16871 from liewegas/wip-20920
mon: fix commands advertised during mon cluster upgrade

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-07 14:48:58 -05:00
Patrick Donnelly
f2051c0d4f
doc: add new fs auth command to release notes
Introduced by #16761.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-07 12:47:08 -07:00
Nathan Cutler
2361c09268 doc: update releases.rst
Add links to v12.1.2, v12.1.1 and v11.2.1. Also fix v12.1.1 heading in
release-notes.rst.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-08-07 21:22:54 +02:00
Nathan Cutler
359c2c62df doc: release-notes.rst: add Kraken v11.2.1
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-08-07 21:12:20 +02:00
Sage Weil
3e7d157871 qa/suites/upgrade/jewel-x/parallel: fix POOL_APP_NOT_ENABLED disable
This code runs on the mgr.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-07 15:12:10 -04:00
Sage Weil
7c37c86bb2 mon/MonCommands: mark 'pg force_create_pg' deprecated
It's deprecated.

Also, this avoids a dup when we have an upgrading mon cluster
and it's also in PGMonitorCommands.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-07 15:12:10 -04:00
Sage Weil
2d9045a9a5 mon: include PGMonitor commands with mixed-version mons
While we have a mixed version cluster, we have to advertise our
PGMonitor commands to our peons or else commands like 'pg dump'
won't work.

Once the mon feature flag is set, we can drop that because each
mon will include the mgr commands (either those stored in paxos
or the statically compiled ones until that point).

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-07 15:12:10 -04:00