]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Alfredo Deza [Thu, 20 Jul 2017 15:53:07 +0000 (11:53 -0400)]
build: create a CMakeLists file for ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 20 Jul 2017 15:26:27 +0000 (11:26 -0400)]
systemd: create a service file for ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 20 Jul 2017 15:25:12 +0000 (11:25 -0400)]
build: add deb install rule for ceph-volume executable
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 20 Jul 2017 15:24:52 +0000 (11:24 -0400)]
build: add deb rules for ceph-volume systemd service file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 19 Jul 2017 14:47:55 +0000 (10:47 -0400)]
build/ops: add ceph-volume scripts/files to spec file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 18 Jul 2017 19:03:20 +0000 (15:03 -0400)]
ceph-volume: create the executables
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 18 Jul 2017 18:55:18 +0000 (14:55 -0400)]
ceph-volume: packaging: create a setup.py
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 18 Jul 2017 18:53:58 +0000 (14:53 -0400)]
ceph-volume: tests: create a tox.ini file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 18 Jul 2017 18:46:16 +0000 (14:46 -0400)]
ceph-volume: add a manifest.in file
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 18 Jul 2017 18:28:20 +0000 (14:28 -0400)]
ceph-volume: create a .gitignore specific to ceph-volume
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sage Weil [Fri, 4 Aug 2017 13:48:53 +0000 (08:48 -0500)]
Merge pull request #16805 from liewegas/wip-crush-classes
crush: misc changes/fixes for device classes
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Fri, 4 Aug 2017 13:41:06 +0000 (08:41 -0500)]
Merge pull request #16739 from liewegas/wip-multi-backfill-reject
qa/suites/rados/singleton-nomsgr/all/multi-backfill-reject: sleep longer
Sage Weil [Fri, 4 Aug 2017 13:40:45 +0000 (08:40 -0500)]
Merge pull request #16794 from liewegas/wip-rbd-app
qa/tasks/ceph: enable rbd on rbd pool
Alfredo Deza [Fri, 4 Aug 2017 13:40:37 +0000 (09:40 -0400)]
Merge pull request #16776 from dachary/wip-20893-ceph-fsid
ceph-disk: dmcrypt cluster must default to ceph
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 3 Aug 2017 16:09:42 +0000 (12:09 -0400)]
qa/tasks/ceph: enable rbd on rbd pool
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 4 Aug 2017 13:38:31 +0000 (08:38 -0500)]
Merge pull request #16798 from jdurgin/wip-complete-to-loop
osd/PGLog: avoid infinite loop if missing version is corrupted
Reviewed-by: Sage Weil <sage@redhat.com>
Pan Liu [Fri, 4 Aug 2017 05:12:17 +0000 (13:12 +0800)]
Merge pull request #16804 from xiexingguo/wip-some-cleanup
os/bluestore: space between func and contents
Sage Weil [Thu, 3 Aug 2017 18:10:36 +0000 (14:10 -0400)]
qa/suites/rados/thrash-erasure-code-big: add k=4 m=2
Get better coverage for larger codes.
Signed-off-by: Sage Weil <sage@redhat.com>
xie xingguo [Fri, 4 Aug 2017 02:00:51 +0000 (10:00 +0800)]
os/bluestore: space between func and contents
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Fri, 4 Aug 2017 02:39:05 +0000 (22:39 -0400)]
crush: remove cleanup_classes()
I can't for the life of me figure out what this is supposed to do.
- why remove (some) classes right after we populated them?
- why remove them after we decode the crush map?
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 4 Aug 2017 02:29:34 +0000 (22:29 -0400)]
crush/CrushWrapper: rebuild_roots_with_classes on bucket removal
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 3 Aug 2017 22:05:08 +0000 (18:05 -0400)]
crush: fix preservation of shadow bucket ids
1- a decompiled and recompiled was parsing the class bucket ids but it
wasn't actually using them.
2- rebuild_roots_with_classes() was throwing out the old ids and assigning
new ids when the tree was rebuilt.
Fix by passing in a (potentially partial) class_bucket map into
populate_classes(). Take care to allocate new bucket ids that don't
collide with previously used ids.
Signed-off-by: Sage Weil <sage@redhat.com>
Patrick Donnelly [Thu, 3 Aug 2017 23:20:20 +0000 (16:20 -0700)]
Merge PR #16802 into master
* refs/remotes/upstream/pull/16802/head:
qa: update wait_for_health for new health json syntax
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>