Alfredo Deza
|
27c4865737
|
ceph-volume: lvm.prepare: print help and return before parsing args if no args
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
dad18970cb
|
ceph-volume: lvm: print help and return before parsing args if no args
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
6a45e248ae
|
ceph-volume: tets: use the new validation in conf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
86b6589551
|
ceph-volume: tests: add tests for lvm devices and API
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
352dc37924
|
ceph-volume: configuration: introduce lazy validation in configuration
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
d575bc1011
|
ceph-volume: tests: add tests for the system utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
29df8d389e
|
ceph-volume: util: remove ceph_user option, it is the default
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
01080dae12
|
ceph-volume: util: use the chown argument for mkdir_p
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
8928475fdc
|
ceph-volume: systemd: ensure osd_id is digit-like
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
302806a591
|
ceph-volume: tests: add systemd tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
3b625d9893
|
ceph-volume: tests: add tests for main/cli handling
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
5105b58fa3
|
ceph-volume: tests: add tests for decorators
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
d61dac1bc9
|
ceph-volume: tests: add configuration tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
09aa3cf295
|
ceph-volume: main: changes to sys.argv handling for better testing
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
082db7811d
|
ceph-volume: tests: add terminal tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
83e4c0665f
|
ceph-volume: main: if no args are passed mention the --help usage, print some information
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
b8ee4efec3
|
ceph-volume: lvm: use argparse, report help as early as possible
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
49dadb3fbc
|
ceph-volume: terminal: add CLI dispatching helpers
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
bf612baf9c
|
ceph-volume: main: use argparse, add global flags, improve main help
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:58 -04:00 |
|
Alfredo Deza
|
f190ba35a8
|
ceph-volume: lvm.prepare: initial pass at a working prepare
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
9544bab038
|
ceph-volume: lvm.activate: register the osd with the mon as part of activation
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
df0929a976
|
ceph-volume: lvm.api: fix issue with tags not being set always
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
11dba663f3
|
ceph-volume: util.system: allow recursive and single-level chown
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
6416fae6ca
|
ceph-volume: util: create the module with prepare, activate, and system utilities
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
e988e22e89
|
ceph-volume: terminal: add colored stderr/stdout
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
6a57c08009
|
ceph-volume: main: add log path inferring into main for --help reporting
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
0b0bdaef7f
|
ceph-volume: log: remove log file inferring logic to main
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
7dbe246162
|
ceph-volume: configuration: allow splitting by other chars for getting a list
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
c38cac1438
|
ceph-volume: init: define a few conf attributes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
bf584a14a8
|
ceph-volume: process: do not block logging on subprocess prompts
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
58c85cbe62
|
ceph-volume: main: store ceph conf and load it in the conf module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
580ec02687
|
ceph-volume: configuration: create a module to load/parse ceph configs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
357b499582
|
ceph-volume: log: use new config module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
44f5dffc36
|
ceph-volume: init: define the configuration modules
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
d677611786
|
ceph-volume: exceptions: add configuration errors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
bfe5f9b879
|
ceph-volume: lvm.activate: udpdate the help to normalize representations
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
f10a4254e6
|
ceph-volume: exceptions: add error for multiple volume groups
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
16ee6f7369
|
ceph-volume: lvm.activate: add object store type support for the flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
129a351285
|
ceph-volume: lvm.api: support volume groups with same API as lvs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
7b788a1523
|
ceph-volume: lvm.prepare: initial take on the module with flags
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
f67968f211
|
ceph-volume: lvm.api return None when .get() doesn't match anything
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
c2467f8b00
|
ceph-volume: lvm activate checks other non-lv journals and symlinks accordingly
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
05d8fe14ee
|
ceph-volume: lvm create the functional activate module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
1e5db4fcdb
|
ceph-volume: lvm create an api module with better interfaces/helpers
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
d382d041bf
|
ceph-volume: systemd: create a systemctl module
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
fefadc8add
|
ceph-volume: systemd: move to directory
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
6513240242
|
ceph-volume: systemd: create an actual directory module to add more related modules in
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
0902242d8a
|
ceph-volume: process: add a 'call' function helper, similar to subprocess.call
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
294187b23d
|
ceph-volume: main: remove extra new lines when generating help
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|
Alfredo Deza
|
85ab5a1644
|
ceph-volume: exceptions: create a MultipleLV error
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
2017-08-04 10:25:57 -04:00 |
|