Commit Graph

80340 Commits

Author SHA1 Message Date
Alfredo Deza
bad2f62b34 ceph-volume systemd.systemctl masking needs to use systemctl mask, not disable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 12:02:15 -05:00
Alfredo Deza
6b2fc4c0ba ceph-volume simple.scan if mounted device cannot be detected, raise an error
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 12:02:14 -05:00
Alfredo Deza
230faf04a1 ceph-volume simple.activate remove str formatting from logging
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 12:02:14 -05:00
Alfredo Deza
b5acf4d720 ceph-volume util.arg_validators always convert the path to an absolute path
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 12:02:14 -05:00
Alfredo Deza
376dad7415 ceph-volume util.arg_validators require superuser privs to check paths
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:43 -05:00
Alfredo Deza
6bc1e9ee0b ceph-volume simple.scan skip directories to scan
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:43 -05:00
Alfredo Deza
cde0d51756 ceph-volume tests.devices.simple add activate CLI unit tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:43 -05:00
Alfredo Deza
dcc7c72196 ceph-volume tests.devices add help menu unit test
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:43 -05:00
Alfredo Deza
7071eeaeb5 doc/ceph-volume systemd describe the interaction with 'simple' activation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:43 -05:00
Alfredo Deza
f9ee51f9fe doc/ceph-volume index initial description of simple
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:42 -05:00
Alfredo Deza
f872cd29b9 doc/ceph-volume lvm add back a system.rst with just the lvm portion of it
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:42 -05:00
Alfredo Deza
cf4e32a0dc doc/ceph-volume make systemd.rst generic enough to be related to other sub-commands
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:42 -05:00
Alfredo Deza
0672dd608d doc/ceph-volume move lvm/systemd.rst to top level, making it generic
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:42 -05:00
Alfredo Deza
80c796bd1c doc/ceph-volume simple.activate initial take on documenting activation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:42 -05:00
Alfredo Deza
53420a4756 doc/ceph-volume lvm update systemd anchor to reflect lvm parent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:42 -05:00
Alfredo Deza
7fc0e7ebca doc/ceph-volume lvm.activate update systemd anchor to reflect lvm parent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:42 -05:00
Alfredo Deza
01a8b7e6a4 doc/ceph-volume lvm.systemd update anchor to reflect lvm parent
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:42 -05:00
Alfredo Deza
b30a3eaf17 doc/ceph-volume document the scan functionality
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-09 06:47:41 -05:00
Alfredo Deza
d7f85c64e4 doc/ceph-volume update the index to include the simple sub command and files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 14:17:20 -05:00
Alfredo Deza
0e2620234e ceph-volume tests.simple add tests for trigger parsing from systemd
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:15:28 -05:00
Alfredo Deza
90ebc4e1ff ceph-volume tests.simple create etc_path scan tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
647bfe0883 ceph-volume tests.simple add checks for get_contents in scan
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
827aa57557 ceph-volume tests.util add binary verification tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
23da344571 ceph-volume tests create a fixture for temporary files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
3da23fa4ca ceph-volume systemd.systemctl helpers to mask ceph-disk
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
027a09b3ea ceph-volume devices include simple at the module import level
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
94579c77ff ceph-volume main add simple to the sub-commands
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:04:00 -05:00
Alfredo Deza
a826fdf4a2 ceph-volume util add an OSDPath argument validator
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
7bf8676045 ceph-volume simple.system add a helper to check if a file is a binary or not
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
6394cdd419 ceph-volume util.system add a context manager for temporary mounting/unmounting
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
0e54b9be62 ceph-volume simple.scan initial take on directory/device scanning
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
cbc0c0f775 ceph-volume simple.trigger enable systemd triggering for simple setups
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
5a97374605 ceph-volume simple.activate initial take on activation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
285e5bdd28 ceph-volume simple add __init__ for the module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Alfredo Deza
f050502425 ceph-volume simple create the initial, main module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-11-06 11:03:59 -05:00
Jason Dillaman
baa65c255a
Merge pull request #16238 from trociny/wip-copy-deep
librbd: generalized deep copy function

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-11-06 08:35:06 -05:00
Mykola Golub
3a09801ceb qa/suites/rbd: enable fsx deep_copy test case
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-06 10:29:45 +02:00
Mykola Golub
428461a62a test/librbd: tweak fsx to optionally use deep-copy instead of clone
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-06 10:29:45 +02:00
Mykola Golub
97db2b2a4c librbd: add deep_copy function to API
Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-06 10:29:44 +02:00
Mykola Golub
73f50a1310 rbd-mirror: use generalized deep copy for image sync
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-11-06 10:29:44 +02:00
Mykola Golub
5a1a217112 librbd: generalized deep copy function
(based on rbd-mirror image sync)

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-11-06 10:29:44 +02:00
Mykola Golub
a84b0a415a librbd: export ImageOptions print operator
(so it could be used for logging image options)

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-11-06 10:26:37 +02:00
Mykola Golub
ca25c56178 test/librbd: set rand seed for all tests
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-11-06 10:26:37 +02:00
Xie Xingguo
7e5a8a762d
Merge pull request #18635 from majianpeng/bluestore-omap-flush
os/bluestore: remove unused parameters.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-11-06 15:38:09 +08:00
Jianpeng Ma
a140996c42 os/bluestore: remove unused paramerter.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-11-06 19:05:27 +08:00
Kefu Chai
596942ef06
Merge pull request #18541 from trociny/wip-mstart-bashizm
mstart.sh: remove bashizm in /bin/sh script

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-06 12:15:41 +08:00
Kefu Chai
f265ed6b1c
Merge pull request #18729 from iliul/fix-vstart-typo
vstart.sh: fix a typo

Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-11-05 12:37:25 +08:00
Kefu Chai
2d06baeae7
Merge pull request #18693 from XinzeChi/wip-dup-async-read-stat
osd/PrimaryLogPG: fix dup stat for async read

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-11-05 12:33:19 +08:00
iliul
c4327eb3bb vstart.sh: fix a spelling mistake
Signed-off-by: iliul <liul124@chinaunicom.cn>
2017-11-04 12:17:58 +00:00
Kefu Chai
fb7ad32f28
Merge pull request #18724 from iliul/add-missing-blank-line
doc: add missing blank line

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-11-04 19:27:41 +08:00