Commit Graph

76585 Commits

Author SHA1 Message Date
Patrick Donnelly
42cd1c7122
qa: fix read-only whitelist
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-04 20:14:48 -07:00
Patrick Donnelly
8d4f3e3045
mds: MDS_DAMAGED to MDS_DAMAGE
We had both and MDS_DAMAGE looks to be the right/intended one.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-04 13:01:33 -07:00
Patrick Donnelly
81be13b34c
doc: remove duplicate CephFS health check doc
These are documented in doc/cephfs/health-messages.rst.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-04 12:28:38 -07: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
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
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
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
Alfredo Deza
b458646ef1 ceph-volume: systemd: add helpers for the ceph-volume systemd unit
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
64523d8c5b ceph-volume: util prepare should pass -i to consume stdin
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
060d3ac339 ceph-volume: lvm consume the JSON secrets for preparing
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
f1c8c35439 ceph-volume: lvm remove the creation of the osd so early in the prepare process
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
faa8189aa0 ceph-volume: lvm: activate should not use the bootstrap-osd to auth add the keyring
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
db8bbf1c41 ceph-volume: util: use osd new for creating osds
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
80d3e6785c ceph-volume: process: allow stdin to be used
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
19c676ba6b ceph-volume: main: slice args for main and subcommands differently
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
055e16836b ceph-volume: devices.lvm add create module for the sub-command support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
03a603002b ceph-volume: devices.lvm add the create sub-command
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
63cd2582ca ceph-volume: devices.lvm create a common module for sharing parsers
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
d7a6750b79 ceph-volume: devices: update coverage comments
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
1fc23e8111 ceph-volume: tests: add lvm api tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
4c7300ce25 ceph-volume: tests: update coverage comments
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
21c8854e61 ceph-volume: devices.lvm: update print and import for py3 support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
bbaa0d9efe ceph-volume: lvm.main: update imports for py3 support
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
c5a3a7b2e1 ceph-volume: tests: create capture fixture for tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
7067303e19 ceph-volume: devices: update imports to support py3
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00
Alfredo Deza
bab2aeff4a ceph-volume: main: py3 support fixes with print
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-04 10:25:58 -04:00