Commit Graph

76618 Commits

Author SHA1 Message Date
Patrick Donnelly
8b4c41b2b4
Merge PR #16751 into master
* refs/remotes/upstream/pull/16751/head:
	mds: Added NULL check before dereference

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-04 20:26:05 -07:00
Patrick Donnelly
e8a2d61396
Merge PR #16750 into master
* refs/remotes/upstream/pull/16750/head:
	client: Added NULL check before dereference

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-04 20:26:03 -07:00
Patrick Donnelly
caaf11fb0f
Merge PR #16725 into master
* refs/remotes/upstream/pull/16725/head:
	mds: Removing unused variables from StrayManager

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-04 20:26:01 -07:00
Patrick Donnelly
acd815d297
Merge PR #16671 into master
* refs/remotes/upstream/pull/16671/head:
	Client: Add function "get_default_data_pool_name" for java client

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-08-04 20:25:59 -07:00
Patrick Donnelly
3ebecb3f65
Merge PR #16570 into master
* refs/remotes/upstream/pull/16570/head:
	mds: clean up obsolete declarations/headers

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-08-04 20:25:56 -07:00
Patrick Donnelly
b327451d0d
Merge PR #16761 into master
* refs/remotes/upstream/pull/16761/head:
	doc/cephfs: Document ceph auth fs
	mon/AuthMonitor: Add special syntax for cephfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-04 13:33:51 -07:00
Gregory Farnum
d45fbf136d Merge pull request #16811 from amitkumar50/cov-717296
messages: Initializing uninitialized members MMonGetVersion

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-04 13:31:06 -07:00
Sage Weil
62e51661e6 Merge branch 'wip-qa-rbd-health' of git://github.com/dillaman/ceph
# Conflicts:
#	qa/tasks/ceph.py
2017-08-04 15:07:22 -04:00
Gregory Farnum
7f341205b8 Merge pull request #16815 from amitkumar50/cov-717299
messages: Initializing uninitialized members MMonProbe

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-04 12:04:38 -07:00
Gregory Farnum
95e481f9e5 Merge pull request #16817 from amitkumar50/cov-messages-branch
messages: Initializing uninitialized members module messages

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-04 12:04:16 -07:00
Gregory Farnum
adc3d8361a Merge pull request #16816 from amitkumar50/cov-717300
messages: Initializing uninitialized members MOSDAlive

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-04 12:01:49 -07:00
Gregory Farnum
435932e772 Merge pull request #16814 from amitkumar50/cov-717298
messages: Initializing uninitialized members MMonPaxos

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-04 12:00:56 -07:00
Gregory Farnum
a72e75cf69 Merge pull request #16813 from amitkumar50/cov-717297
messages: Initializing uninitialized members MMonGetVersionReply

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-04 12:00:13 -07:00
Gregory Farnum
62a2e420bf Merge pull request #16803 from dmick/master
common/buffer: off-by-one error in max iov length blocking

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-04 11:58:41 -07:00
Josh Durgin
a09e29ec2e Merge pull request #16675 from Jeegn-Chen/skip-err-entries
osd/PGLog: skip ERROR entires in _merge_object_divergent_entries

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-08-04 11:47:38 -07:00
Josh Durgin
91ad2e6423 Merge pull request #16744 from joscollin/wip-osd-warning
osd: silence warning from -Wint-in-bool-context

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-04 11:45:42 -07:00
Sage Weil
ffd171fd46 Merge pull request #16820 from liewegas/wip-more-whitelist
qa/suites/rados: a bit more whitelisting

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-08-04 13:44:08 -05:00
Sage Weil
6a39c5a229 Merge pull request #16614 from neha-ojha/recovery_sleep_hybrid
osd: Check whether journal is rotational or not

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-04 13:23:38 -05:00
Sage Weil
8b7700782e Merge pull request #16809 from jdurgin/wip-20904
osd/PG: fix lost unfound + delete when there are no missing objects

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-04 13:20:32 -05:00
Sage Weil
bd119910f5 Merge pull request #16812 from xiexingguo/wip-class-startup
osd/OSD: tolerate any 'set-device-class' error on OSD startup

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-04 13:13:23 -05:00
Neha Ojha
139cc382ab osd: use recovery sleep hdd for ssd store and hdd journal case
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-08-04 11:07:19 -07:00
Sage Weil
24c8d7e5d8 Merge pull request #16827 from liewegas/wip-more-more-more
qa/suites/rados/basic/tasks/rados_python: POOL_APP_NOT_ENABLED
2017-08-04 12:39:47 -05:00
Sage Weil
82cf3046de qa/suites/rados/basic/tasks/rados_python: POOL_APP_NOT_ENABLED
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-04 13:39:13 -04:00
amitkuma
a05bf91bde messages: Initializing uninitialized members module messages
Fixes coverity Issue:

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

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

2. uninit_member: Non-static class member client_inc is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member osdmap_epoch is not initialized in this constructor nor in any functions that it calls.
6. uninit_member: Non-static class member flags is not initialized in this constructor nor in any functions that it calls.
8. uninit_member: Non-static class member retry_attempt is not initialized in this constructor nor in any functions that it calls.
CID 717303 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
10. uninit_member: Non-static class member features is not initialized in this constructor nor in any functions that it calls.

2. uninit_member: Non-static class member flags is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member user_version is not initialized in this constructor nor in any functions that it calls.
6. uninit_member: Non-static class member osdmap_epoch is not initialized in this constructor nor in any functions that it calls.
CID 717304 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
8. uninit_member: Non-static class member retry_attempt is not initialized in this constructor nor in any functions that it calls.

2. uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member map_epoch is not initialized in this constructor nor in any functions that it calls.
CID 717305 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
6. uninit_member: Non-static class member query_epoch is not initialized in this constructor nor in any functions that it calls.

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

Signed-off-by: Amit Kumar amitkuma@redhat.com
2017-08-04 22:16:04 +05:30
Jason Dillaman
7350fa65d7 Merge pull request #16724 from amitkumar50/cov-1403249
librbd: Uninitialized variable used handle_refresh()

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-04 12:34:29 -04:00
Jason Dillaman
cb9af1d4a8 Merge pull request #16742 from scienceluo/wip-luo-coverity-fix-branch
test/librbd/fsx: Add break in case OP_WRITESAME and OP_COMPARE_AND_WRITE

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-04 12:32:34 -04:00
Jason Dillaman
7560c58ed0 Merge pull request #16729 from amitkumar50/cov-1402141
rbd: Drop unused member variable reopen in C_OpenComplete

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-08-04 12:30:44 -04:00
Sage Weil
9c7a653fee Merge pull request #16769 from liewegas/wip-20295-b
os/bluestore: allow multiple DeferredBatches in flight at once

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-04 11:04:38 -05:00
Abhishek L
0a5b0021b4 Merge pull request #16787 from liewegas/wip-bluestore-docs
doc/release-notes: fix bluestore links

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-04 17:37:47 +02:00
Douglas Fuller
f249e3d2d5 doc/cephfs: Document ceph auth fs
Change the CephFS auth caps documentation to reflect the new ceph auth
fs command.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2017-08-04 11:10:07 -04:00
Sage Weil
9d95f1a4df Merge pull request #16632 from ceph/wip-volume
ceph-volume: initial take on ceph-volume CLI tool

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-08-04 09:51:27 -05:00
amitkuma
ddb8aacd07 messages: Initializing uninitialized members MOSDAlive
Fixes coverity Issue:

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

Signed-off-by: Amit Kumar amitkuma@redhat.com
2017-08-04 20:20:08 +05:30
amitkuma
afb604ba7c messages: Initializing uninitialized members MMonProbe
Fixes coverity Issue:

** 717299 Uninitialized scalar field
2. uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
  	4. uninit_member: Non-static class member paxos_first_version is not initialized in this constructor nor in any functions that it calls.
   	6. uninit_member: Non-static class member paxos_last_version is not initialized in this constructor nor in any functions that it calls.
   	8. uninit_member: Non-static class member has_ever_joined is not initialized in this constructor nor in any functions that it calls.

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

Signed-off-by: Amit Kumar amitkuma@redhat.com
2017-08-04 20:14:55 +05:30
amitkuma
a201ba7a5b messages: Initializing uninitialized members MMonPaxos
Fixes coverity Issue:

2. uninit_member: Non-static class member epoch is not initialized in this constructor nor in any functions that it calls.
  	4. uninit_member: Non-static class member op is not initialized in this constructor nor in any functions that it calls.
   	6. uninit_member: Non-static class member first_committed is not initialized in this constructor nor in any functions that it calls.
   	8. uninit_member: Non-static class member last_committed is not initialized in this constructor nor in any functions that it calls.
   	10. uninit_member: Non-static class member pn_from is not initialized in this constructor nor in any functions that it calls.
   	12. uninit_member: Non-static class member pn is not initialized in this constructor nor in any functions that it calls.
   	14. uninit_member: Non-static class member uncommitted_pn is not initialized in this constructor nor in any functions that it calls.

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

Signed-off-by: Amit Kumar amitkuma@redhat.com
2017-08-04 20:07:30 +05:30
Alfredo Deza
dde2a8b525 ceph-volume lvm trigger should check for root
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
58d5d8442f ceph-volume lvm prepare should check for root
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
a77dc50787 ceph-volume lvm create should check for root
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
74e977fe93 ceph-volume lvm activate should check for root
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
b189e0167f ceph-volume: decorators should call the wrapped func
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
fb10e6313a ceph-volume: systemd script should handle type-data format as argument
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
9b3eb5c512 ceph-volume: lvm add the actual trigger subcommand handler
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
a244056d91 ceph-volume: lvm: add a trigger sub-command to parent parser
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
945cc7db62 ceph-volume: tests update argument parsing for systemd
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
75899cf143 ceph-volume: tests add an lvm trigger for the systemd argument parsing
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
6d2b551f2a ceph-volume remove activate utilities, not needed with 'osd new'
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
cdbfc7019d ceph-volume lvm.activate remove unused import for activate utils
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
2f187ec7a9 ceph-volume: systemd should retry several times to activate a device
Allows environment variables to tweak the retries and intervals,
defaulting to 30 tries at 5 second intervals.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
11659c1880 ceph-volume: devices chown the journal when activating
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
0cf3a44a50 ceph-volume: systemd script should pass pre-configured log args
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
21ec4cea74 ceph-volume: prevent missing conf values for logging config
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00