]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
David Zafman [Thu, 10 Aug 2017 01:58:21 +0000 (18:58 -0700)]
qa: Fix broken test_activate_osd() due to missing space
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 9 Aug 2017 15:43:57 +0000 (08:43 -0700)]
qa: Fix races with waiting for scrubs
The trigger_scrub sets the last_scrub_stamp backwards to
force a scheduled scrub. In a small window this stamp could get propagated
to the mgr. A test failure occurred because wait_for_scrub() was confused
by seeing a backward moving date.
The most critical change is having wait_for_scrub() make sure that the
date advances past the previous in value.
A test failed because the random backoff kept delayed triggered scrub, so
set osd_scrub_backoff throughout.
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 9 Aug 2017 14:19:36 +0000 (07:19 -0700)]
qa: Testing of ceph-helpers.sh, teardown on fail to dump logs, save cores
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 8 Aug 2017 14:22:33 +0000 (07:22 -0700)]
osd: Avoid confusion over legacy snaps when head_exists corrupt
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Mon, 7 Aug 2017 19:48:27 +0000 (12:48 -0700)]
osd: Fix Paxos shutdown handling for commit_finish race
Fixes: http://tracker.ceph.com/issues/20921
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 4 Aug 2017 19:34:47 +0000 (12:34 -0700)]
qa: Add support for core dumps
Save core dumps when running tests locally
Dump logs to output whenever cores seen
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 3 Aug 2017 15:16:04 +0000 (08:16 -0700)]
qa: For FreeBSD skip osd-dup.sh because there is no bluestore
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Thu, 3 Aug 2017 13:06:03 +0000 (06:06 -0700)]
qa: Raise mon-data-avail-warn to pass tests with less space
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 2 Aug 2017 04:35:34 +0000 (21:35 -0700)]
qa: Add common generalized inject_eio() to ceph-helpers.sh
Retry for a while to allow pool to appear
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 2 Aug 2017 20:26:19 +0000 (13:26 -0700)]
qa: osd-scrub-repair.sh handle older versions of jq
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 1 Aug 2017 23:04:10 +0000 (16:04 -0700)]
qa: Add support for specifying sub-tests with run-standalone.sh
Fix test-ceph-helpers.sh to pass additional arguments on
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 1 Aug 2017 22:19:01 +0000 (15:19 -0700)]
qa: ceph-helpers.sh fixes
Add missing teardown to cleanup test directory
Fix pgid due to elimination of initial default pool
Testing could never fail because run_tests return ignored
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 1 Aug 2017 20:42:29 +0000 (13:42 -0700)]
qa: Skip ceph-helpers.sh which is tested through test-ceph-helpers.sh
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Mon, 31 Jul 2017 23:17:16 +0000 (16:17 -0700)]
qa: Add create_pool() which sleeps 1 second like python variant
wait_for_clean() can miss the new pool if it races with pool create.
Fixes: http://tracker.ceph.com/issues/20465
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Mon, 31 Jul 2017 16:28:12 +0000 (09:28 -0700)]
qa: Add special test_failure.sh script (not run by default)
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Mon, 31 Jul 2017 16:27:15 +0000 (09:27 -0700)]
qa: run-standalone.sh improvements
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 28 Jul 2017 22:06:13 +0000 (15:06 -0700)]
qa: Dump logs after daemons are killed to make sure everything is flushed
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Fri, 4 Aug 2017 17:39:47 +0000 (12:39 -0500)]
Merge pull request #16827 from liewegas/wip-more-more-more
qa/suites/rados/basic/tasks/rados_python: POOL_APP_NOT_ENABLED
Sage Weil [Fri, 4 Aug 2017 17:39:13 +0000 (13:39 -0400)]
qa/suites/rados/basic/tasks/rados_python: POOL_APP_NOT_ENABLED
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Fri, 4 Aug 2017 16:34:29 +0000 (12:34 -0400)]
Merge pull request #16724 from amitkumar50/cov-
1403249
librbd: Uninitialized variable used handle_refresh()
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 4 Aug 2017 16:32:34 +0000 (12:32 -0400)]
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>
Jason Dillaman [Fri, 4 Aug 2017 16:30:44 +0000 (12:30 -0400)]
Merge pull request #16729 from amitkumar50/cov-
1402141
rbd: Drop unused member variable reopen in C_OpenComplete
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Fri, 4 Aug 2017 16:04:38 +0000 (11:04 -0500)]
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>
Abhishek L [Fri, 4 Aug 2017 15:37:47 +0000 (17:37 +0200)]
Merge pull request #16787 from liewegas/wip-bluestore-docs
doc/release-notes: fix bluestore links
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Sage Weil [Fri, 4 Aug 2017 14:51:27 +0000 (09:51 -0500)]
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>
Alfredo Deza [Fri, 4 Aug 2017 14:12:11 +0000 (10:12 -0400)]
ceph-volume lvm trigger should check for root
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 4 Aug 2017 14:11:54 +0000 (10:11 -0400)]
ceph-volume lvm prepare should check for root
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 4 Aug 2017 14:11:37 +0000 (10:11 -0400)]
ceph-volume lvm create should check for root
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 4 Aug 2017 14:11:17 +0000 (10:11 -0400)]
ceph-volume lvm activate should check for root
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 4 Aug 2017 14:04:04 +0000 (10:04 -0400)]
ceph-volume: decorators should call the wrapped func
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 2 Aug 2017 19:26:25 +0000 (15:26 -0400)]
ceph-volume: systemd script should handle type-data format as argument
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 2 Aug 2017 19:25:35 +0000 (15:25 -0400)]
ceph-volume: lvm add the actual trigger subcommand handler
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 2 Aug 2017 18:42:27 +0000 (14:42 -0400)]
ceph-volume: lvm: add a trigger sub-command to parent parser
Signed-off-by: Alfredo Deza <adeza@redhat.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>