]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoceph-volume: tests update argument parsing for systemd
Alfredo Deza [Wed, 2 Aug 2017 17:06:32 +0000 (13:06 -0400)]
ceph-volume: tests update argument parsing for systemd

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests add an lvm trigger for the systemd argument parsing
Alfredo Deza [Wed, 2 Aug 2017 17:06:04 +0000 (13:06 -0400)]
ceph-volume: tests add an lvm trigger for the systemd argument parsing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume remove activate utilities, not needed with 'osd new'
Alfredo Deza [Thu, 27 Jul 2017 17:55:04 +0000 (13:55 -0400)]
ceph-volume remove activate utilities, not needed with 'osd new'

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume lvm.activate remove unused import for activate utils
Alfredo Deza [Thu, 27 Jul 2017 17:53:03 +0000 (13:53 -0400)]
ceph-volume lvm.activate remove unused import for activate utils

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd should retry several times to activate a device
Alfredo Deza [Thu, 27 Jul 2017 11:46:18 +0000 (07:46 -0400)]
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>
7 years agoceph-volume: devices chown the journal when activating
Alfredo Deza [Wed, 26 Jul 2017 20:33:08 +0000 (16:33 -0400)]
ceph-volume: devices chown the journal when activating

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd script should pass pre-configured log args
Alfredo Deza [Wed, 26 Jul 2017 18:51:09 +0000 (14:51 -0400)]
ceph-volume: systemd script should pass pre-configured log args

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: prevent missing conf values for logging config
Alfredo Deza [Wed, 26 Jul 2017 18:50:27 +0000 (14:50 -0400)]
ceph-volume: prevent missing conf values for logging config

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd: add helpers for the ceph-volume systemd unit
Alfredo Deza [Wed, 26 Jul 2017 15:34:39 +0000 (11:34 -0400)]
ceph-volume: systemd: add helpers for the ceph-volume systemd unit

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: util prepare should pass -i to consume stdin
Alfredo Deza [Tue, 25 Jul 2017 19:46:36 +0000 (15:46 -0400)]
ceph-volume: util prepare should pass -i to consume stdin

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm consume the JSON secrets for preparing
Alfredo Deza [Tue, 25 Jul 2017 18:16:10 +0000 (14:16 -0400)]
ceph-volume: lvm consume the JSON secrets for preparing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm remove the creation of the osd so early in the prepare process
Alfredo Deza [Tue, 25 Jul 2017 18:15:38 +0000 (14:15 -0400)]
ceph-volume: lvm remove the creation of the osd so early in the prepare process

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm: activate should not use the bootstrap-osd to auth add the keyring
Alfredo Deza [Tue, 25 Jul 2017 18:15:06 +0000 (14:15 -0400)]
ceph-volume: lvm: activate should not use the bootstrap-osd to auth add the keyring

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: util: use osd new for creating osds
Alfredo Deza [Tue, 25 Jul 2017 18:11:50 +0000 (14:11 -0400)]
ceph-volume: util: use osd new for creating osds

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: process: allow stdin to be used
Alfredo Deza [Tue, 25 Jul 2017 18:09:52 +0000 (14:09 -0400)]
ceph-volume: process: allow stdin to be used

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: slice args for main and subcommands differently
Alfredo Deza [Mon, 24 Jul 2017 21:04:16 +0000 (17:04 -0400)]
ceph-volume: main: slice args for main and subcommands differently

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: devices.lvm add create module for the sub-command support
Alfredo Deza [Mon, 24 Jul 2017 18:18:32 +0000 (14:18 -0400)]
ceph-volume: devices.lvm add create module for the sub-command support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: devices.lvm add the create sub-command
Alfredo Deza [Mon, 24 Jul 2017 18:17:52 +0000 (14:17 -0400)]
ceph-volume: devices.lvm add the create sub-command

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: devices.lvm create a common module for sharing parsers
Alfredo Deza [Mon, 24 Jul 2017 18:04:33 +0000 (14:04 -0400)]
ceph-volume: devices.lvm create a common module for sharing parsers

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: devices: update coverage comments
Alfredo Deza [Mon, 17 Jul 2017 19:59:25 +0000 (15:59 -0400)]
ceph-volume: devices: update coverage comments

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: add lvm api tests
Alfredo Deza [Mon, 17 Jul 2017 19:45:20 +0000 (15:45 -0400)]
ceph-volume: tests: add lvm api tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: update coverage comments
Alfredo Deza [Mon, 17 Jul 2017 19:44:23 +0000 (15:44 -0400)]
ceph-volume: tests: update coverage comments

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: devices.lvm: update print and import for py3 support
Alfredo Deza [Mon, 17 Jul 2017 19:42:09 +0000 (15:42 -0400)]
ceph-volume: devices.lvm: update print and import for py3 support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.main: update imports for py3 support
Alfredo Deza [Mon, 17 Jul 2017 19:41:33 +0000 (15:41 -0400)]
ceph-volume: lvm.main: update imports for py3 support

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: create capture fixture for tests
Alfredo Deza [Mon, 17 Jul 2017 19:41:07 +0000 (15:41 -0400)]
ceph-volume: tests: create capture fixture for tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: devices: update imports to support py3
Alfredo Deza [Mon, 17 Jul 2017 19:40:48 +0000 (15:40 -0400)]
ceph-volume: devices: update imports to support py3

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: py3 support fixes with print
Alfredo Deza [Mon, 17 Jul 2017 19:19:20 +0000 (15:19 -0400)]
ceph-volume: main: py3 support fixes with print

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.api: add parse_tags for VolumeGroup, cleanup json loads
Alfredo Deza [Mon, 17 Jul 2017 19:19:05 +0000 (15:19 -0400)]
ceph-volume: lvm.api: add parse_tags for VolumeGroup, cleanup json loads

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: process: decode non-str streams from subprocess
Alfredo Deza [Mon, 17 Jul 2017 19:16:25 +0000 (15:16 -0400)]
ceph-volume: process: decode non-str streams from subprocess

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.prepare: print help and return before parsing args if no args
Alfredo Deza [Fri, 14 Jul 2017 17:28:30 +0000 (13:28 -0400)]
ceph-volume: lvm.prepare: print help and return before parsing args if no args

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm: print help and return before parsing args if no args
Alfredo Deza [Fri, 14 Jul 2017 17:28:14 +0000 (13:28 -0400)]
ceph-volume: lvm: print help and return before parsing args if no args

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tets: use the new validation in conf
Alfredo Deza [Fri, 14 Jul 2017 17:27:28 +0000 (13:27 -0400)]
ceph-volume: tets: use the new validation in conf

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: add tests for lvm devices and API
Alfredo Deza [Fri, 14 Jul 2017 17:26:52 +0000 (13:26 -0400)]
ceph-volume: tests: add tests for lvm devices and API

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: configuration: introduce lazy validation in configuration
Alfredo Deza [Fri, 14 Jul 2017 17:26:23 +0000 (13:26 -0400)]
ceph-volume: configuration: introduce lazy validation in configuration

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: add tests for the system utility
Alfredo Deza [Thu, 13 Jul 2017 13:49:55 +0000 (09:49 -0400)]
ceph-volume: tests: add tests for the system utility

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: util: remove ceph_user option, it is the default
Alfredo Deza [Thu, 13 Jul 2017 13:49:33 +0000 (09:49 -0400)]
ceph-volume: util: remove ceph_user option, it is the default

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: util: use the chown argument for mkdir_p
Alfredo Deza [Thu, 13 Jul 2017 13:48:44 +0000 (09:48 -0400)]
ceph-volume: util: use the chown argument for mkdir_p

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd: ensure osd_id is digit-like
Alfredo Deza [Wed, 12 Jul 2017 21:31:54 +0000 (17:31 -0400)]
ceph-volume: systemd: ensure osd_id is digit-like

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: add systemd tests
Alfredo Deza [Wed, 12 Jul 2017 21:31:36 +0000 (17:31 -0400)]
ceph-volume: tests: add systemd tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: add tests for main/cli handling
Alfredo Deza [Wed, 12 Jul 2017 20:40:58 +0000 (16:40 -0400)]
ceph-volume: tests: add tests for main/cli handling

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: add tests for decorators
Alfredo Deza [Wed, 12 Jul 2017 20:40:45 +0000 (16:40 -0400)]
ceph-volume: tests: add tests for decorators

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: add configuration tests
Alfredo Deza [Wed, 12 Jul 2017 20:40:33 +0000 (16:40 -0400)]
ceph-volume: tests: add configuration tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: changes to sys.argv handling for better testing
Alfredo Deza [Wed, 12 Jul 2017 20:39:58 +0000 (16:39 -0400)]
ceph-volume: main: changes to sys.argv handling for better testing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: tests: add terminal tests
Alfredo Deza [Wed, 12 Jul 2017 17:43:16 +0000 (13:43 -0400)]
ceph-volume: tests: add terminal tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: if no args are passed mention the --help usage, print some information
Alfredo Deza [Wed, 12 Jul 2017 16:31:39 +0000 (12:31 -0400)]
ceph-volume: main: if no args are passed mention the --help usage, print some information

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm: use argparse, report help as early as possible
Alfredo Deza [Wed, 12 Jul 2017 16:15:42 +0000 (12:15 -0400)]
ceph-volume: lvm: use argparse, report help as early as possible

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: terminal: add CLI dispatching helpers
Alfredo Deza [Wed, 12 Jul 2017 16:13:35 +0000 (12:13 -0400)]
ceph-volume: terminal: add CLI dispatching helpers

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: use argparse, add global flags, improve main help
Alfredo Deza [Wed, 12 Jul 2017 16:13:13 +0000 (12:13 -0400)]
ceph-volume: main: use argparse, add global flags, improve main help

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.prepare: initial pass at a working prepare
Alfredo Deza [Tue, 11 Jul 2017 20:36:16 +0000 (16:36 -0400)]
ceph-volume: lvm.prepare: initial pass at a working prepare

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.activate: register the osd with the mon as part of activation
Alfredo Deza [Tue, 11 Jul 2017 20:35:13 +0000 (16:35 -0400)]
ceph-volume: lvm.activate: register the osd with the mon as part of activation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.api: fix issue with tags not being set always
Alfredo Deza [Tue, 11 Jul 2017 20:31:18 +0000 (16:31 -0400)]
ceph-volume: lvm.api: fix issue with tags not being set always

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: util.system: allow recursive and single-level chown
Alfredo Deza [Tue, 11 Jul 2017 20:30:42 +0000 (16:30 -0400)]
ceph-volume: util.system: allow recursive and single-level chown

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: util: create the module with prepare, activate, and system utilities
Alfredo Deza [Tue, 11 Jul 2017 20:30:14 +0000 (16:30 -0400)]
ceph-volume: util: create the module with prepare, activate, and system utilities

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: terminal: add colored stderr/stdout
Alfredo Deza [Tue, 11 Jul 2017 20:08:25 +0000 (16:08 -0400)]
ceph-volume: terminal: add colored stderr/stdout

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: add log path inferring into main for --help reporting
Alfredo Deza [Tue, 11 Jul 2017 20:03:22 +0000 (16:03 -0400)]
ceph-volume: main: add log path inferring into main for --help reporting

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: log: remove log file inferring logic to main
Alfredo Deza [Tue, 11 Jul 2017 20:03:02 +0000 (16:03 -0400)]
ceph-volume: log: remove log file inferring logic to main

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: configuration: allow splitting by other chars for getting a list
Alfredo Deza [Tue, 11 Jul 2017 20:01:41 +0000 (16:01 -0400)]
ceph-volume: configuration: allow splitting by other chars for getting a list

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: init: define a few conf attributes
Alfredo Deza [Tue, 11 Jul 2017 19:59:50 +0000 (15:59 -0400)]
ceph-volume: init: define a few conf attributes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: process: do not block logging on subprocess prompts
Alfredo Deza [Tue, 11 Jul 2017 14:50:22 +0000 (10:50 -0400)]
ceph-volume: process: do not block logging on subprocess prompts

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: store ceph conf and load it in the conf module
Alfredo Deza [Thu, 6 Jul 2017 19:17:01 +0000 (15:17 -0400)]
ceph-volume: main: store ceph conf and load it in the conf module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: configuration: create a module to load/parse ceph configs
Alfredo Deza [Thu, 6 Jul 2017 19:16:18 +0000 (15:16 -0400)]
ceph-volume: configuration: create a module to load/parse ceph configs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: log: use new config module
Alfredo Deza [Thu, 6 Jul 2017 19:13:35 +0000 (15:13 -0400)]
ceph-volume: log: use new config module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: init: define the configuration modules
Alfredo Deza [Thu, 6 Jul 2017 16:14:26 +0000 (12:14 -0400)]
ceph-volume: init: define the configuration modules

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: exceptions: add configuration errors
Alfredo Deza [Thu, 6 Jul 2017 15:58:08 +0000 (11:58 -0400)]
ceph-volume: exceptions: add configuration errors

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.activate: udpdate the help to normalize representations
Alfredo Deza [Mon, 3 Jul 2017 17:51:33 +0000 (13:51 -0400)]
ceph-volume: lvm.activate: udpdate the help to normalize representations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: exceptions: add error for multiple volume groups
Alfredo Deza [Mon, 3 Jul 2017 17:37:53 +0000 (13:37 -0400)]
ceph-volume: exceptions: add error for multiple volume groups

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.activate: add object store type support for the flags
Alfredo Deza [Mon, 3 Jul 2017 17:37:09 +0000 (13:37 -0400)]
ceph-volume: lvm.activate: add object store type support for the flags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.api: support volume groups with same API as lvs
Alfredo Deza [Mon, 3 Jul 2017 17:36:39 +0000 (13:36 -0400)]
ceph-volume: lvm.api: support volume groups with same API as lvs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.prepare: initial take on the module with flags
Alfredo Deza [Mon, 3 Jul 2017 17:35:35 +0000 (13:35 -0400)]
ceph-volume: lvm.prepare: initial take on the module with flags

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm.api return None when .get() doesn't match anything
Alfredo Deza [Thu, 29 Jun 2017 14:54:01 +0000 (10:54 -0400)]
ceph-volume: lvm.api return None when .get() doesn't match anything

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm activate checks other non-lv journals and symlinks accordingly
Alfredo Deza [Thu, 29 Jun 2017 14:53:31 +0000 (10:53 -0400)]
ceph-volume: lvm activate checks other non-lv journals and symlinks accordingly

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm create the functional activate module
Alfredo Deza [Thu, 29 Jun 2017 13:49:50 +0000 (09:49 -0400)]
ceph-volume: lvm create the functional activate module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm create an api module with better interfaces/helpers
Alfredo Deza [Thu, 29 Jun 2017 13:32:25 +0000 (09:32 -0400)]
ceph-volume: lvm create an api module with better interfaces/helpers

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd: create a systemctl module
Alfredo Deza [Wed, 28 Jun 2017 17:49:39 +0000 (13:49 -0400)]
ceph-volume: systemd: create a systemctl module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd: move to directory
Alfredo Deza [Wed, 28 Jun 2017 12:51:29 +0000 (08:51 -0400)]
ceph-volume: systemd: move to directory

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd: create an actual directory module to add more related modules in
Alfredo Deza [Wed, 28 Jun 2017 12:29:50 +0000 (08:29 -0400)]
ceph-volume: systemd: create an actual directory module to add more related modules in

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: process: add a 'call' function helper, similar to subprocess.call
Alfredo Deza [Tue, 27 Jun 2017 17:04:03 +0000 (13:04 -0400)]
ceph-volume: process: add a 'call' function helper, similar to subprocess.call

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: remove extra new lines when generating help
Alfredo Deza [Tue, 27 Jun 2017 17:03:34 +0000 (13:03 -0400)]
ceph-volume: main: remove extra new lines when generating help

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: exceptions: create a MultipleLV error
Alfredo Deza [Tue, 27 Jun 2017 17:03:11 +0000 (13:03 -0400)]
ceph-volume: exceptions: create a MultipleLV error

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: lvm: initial take on tag api
Alfredo Deza [Tue, 27 Jun 2017 17:01:14 +0000 (13:01 -0400)]
ceph-volume: lvm: initial take on tag api

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: exceptions: create a module for all exceptions
Alfredo Deza [Fri, 23 Jun 2017 18:39:23 +0000 (14:39 -0400)]
ceph-volume: exceptions: create a module for all exceptions

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd: move the exceptions to the new exception module
Alfredo Deza [Fri, 23 Jun 2017 18:39:07 +0000 (14:39 -0400)]
ceph-volume: systemd: move the exceptions to the new exception module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: decorators: add a check for super user privileges
Alfredo Deza [Fri, 23 Jun 2017 18:38:14 +0000 (14:38 -0400)]
ceph-volume: decorators: add a check for super user privileges

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: use subhelp to parse lvm's help
Alfredo Deza [Fri, 23 Jun 2017 18:33:28 +0000 (14:33 -0400)]
ceph-volume: main: use subhelp to parse lvm's help

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: terminal: use raw instead of write
Alfredo Deza [Thu, 22 Jun 2017 21:16:36 +0000 (17:16 -0400)]
ceph-volume: terminal: use raw instead of write

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: no need to pass the config to log setup
Alfredo Deza [Thu, 22 Jun 2017 21:16:03 +0000 (17:16 -0400)]
ceph-volume: main: no need to pass the config to log setup

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: log: notify to stdout if it is not possible to write to the log location
Alfredo Deza [Thu, 22 Jun 2017 21:15:49 +0000 (17:15 -0400)]
ceph-volume: log: notify to stdout if it is not possible to write to the log location

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: systemd: create systemd entry point script
Alfredo Deza [Thu, 22 Jun 2017 19:38:19 +0000 (15:38 -0400)]
ceph-volume: systemd: create systemd entry point script

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: process: module for running system commands
Alfredo Deza [Thu, 22 Jun 2017 19:37:55 +0000 (15:37 -0400)]
ceph-volume: process: module for running system commands

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: main: initial take on main
Alfredo Deza [Thu, 22 Jun 2017 19:37:38 +0000 (15:37 -0400)]
ceph-volume: main: initial take on main

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: terminal: easier terminal reporting utils
Alfredo Deza [Thu, 22 Jun 2017 19:37:15 +0000 (15:37 -0400)]
ceph-volume: terminal: easier terminal reporting utils

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: decorators: catch exceptions, disable on debug
Alfredo Deza [Thu, 22 Jun 2017 19:36:59 +0000 (15:36 -0400)]
ceph-volume: decorators: catch exceptions, disable on debug

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: log: be more robust, report back to config
Alfredo Deza [Thu, 22 Jun 2017 19:36:34 +0000 (15:36 -0400)]
ceph-volume: log: be more robust, report back to config

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: log: create a utility for setting up logging
Alfredo Deza [Mon, 19 Jun 2017 20:19:24 +0000 (16:19 -0400)]
ceph-volume: log: create a utility for setting up logging

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: config: default to 'info' verbosity, set the config dict
Alfredo Deza [Mon, 19 Jun 2017 19:57:33 +0000 (15:57 -0400)]
ceph-volume: config: default to 'info' verbosity, set the config dict

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agoceph-volume: rename: initial take on renaming to ceph-volume
Alfredo Deza [Fri, 16 Jun 2017 19:41:14 +0000 (15:41 -0400)]
ceph-volume: rename: initial take on renaming to ceph-volume

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agocmake/Distutils.cmake: make pkg files optional, add bin
Dan Mick [Thu, 20 Jul 2017 20:54:37 +0000 (13:54 -0700)]
cmake/Distutils.cmake: make pkg files optional, add bin

Skip nonexistent 'expected' Python packaging files, and add bin/ as
a possible file for symlinking during build (for Python projects with
slightly different forms, currently ceph-volume)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
7 years agobuild: include the ceph-volume-systemd command in the spec file
Alfredo Deza [Thu, 20 Jul 2017 22:04:34 +0000 (18:04 -0400)]
build: include the ceph-volume-systemd command in the spec file

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agobuild: add ceph-volume to CMakeLists in src
Alfredo Deza [Thu, 20 Jul 2017 17:05:20 +0000 (13:05 -0400)]
build: add ceph-volume to CMakeLists in src

Signed-off-by: Alfredo Deza <adeza@redhat.com>
7 years agosystemd: include the ceph-volume service
Alfredo Deza [Thu, 20 Jul 2017 16:26:14 +0000 (12:26 -0400)]
systemd: include the ceph-volume service

Signed-off-by: Alfredo Deza <adeza@redhat.com>