Commit Graph

76291 Commits

Author SHA1 Message Date
Sage Weil
c3c2b31c87 Merge pull request #16568 from liewegas/wip-application-warn
qa,doc: document and fix tests for pool application warnings
2017-07-28 09:00:46 -05:00
Sage Weil
cabe2f9895 Merge pull request #16634 from neha-ojha/wip-default-device-class
osd: add default_device_class to metadata

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-28 08:59:43 -05:00
Sage Weil
f4850aee7a Merge pull request #16638 from liewegas/wip-20804
osd/PG: ignore CancelRecovery in NotRecovering

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-28 08:59:06 -05:00
Sage Weil
efd720005c Merge pull request #16646 from tchaikov/wip-qa-run-standalone-work-with-gnu-find
qa/run-standalone.sh: fix the find option to be compatible with GNU find

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-28 08:41:49 -05:00
John Spray
2c4ad54f80 Merge pull request #16487 from liewegas/wip-mgr-module-health
mgr: mgr_module interface to report health alerts

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-28 13:24:41 +01:00
John Spray
c6ef41b02e Merge pull request #16641 from liewegas/wip-mgr-configs
mgr/PyState: shut up about get_config on nonexistent keys

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-28 13:19:57 +01:00
Kefu Chai
3c12075d63 Merge pull request #16582 from liewegas/wip-20633
mon/MgrMonitor: reset mgrdigest timer with new subscription

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 17:12:46 +08:00
Kefu Chai
75e361433d qa/run-standalone.sh: fix the find option to be compatible with GNU find
also re-indent to be consistent with other part of this script

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-28 14:22:02 +08:00
Kefu Chai
20692fddc9 common/options: make "blue{fs,store}_allocator" LEVEL_DEV
See-also: http://tracker.ceph.com/issues/20660
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-07-28 13:53:56 +08:00
Kefu Chai
2a128f4829 Merge pull request #16599 from liewegas/wip-standalone-fixes
qa/workunits: adjust path to ceph-helpers.sh

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 13:18:47 +08:00
Kefu Chai
9167486eb8 Merge pull request #16482 from tchaikov/wip-opt
common/options: refactors to set the properties in a more structured way

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-28 13:15:33 +08:00
Kefu Chai
9dea6dc763 Merge pull request #16589 from Yan-waller/wip-walle-0726testwatchnotify
test/rados: fix wrong parameter order of RETURN1_IF_NOT_VAL

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 13:14:07 +08:00
Kefu Chai
b3b972c733 Merge pull request #16609 from wjwithagen/wip-wjw-FreeBSD-group-wheel
ceph_disk/main.py: FreeBSD root has wheel for group

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-28 13:13:28 +08:00
Kefu Chai
55a3e5790e Merge pull request #16593 from shangzhong/wip-20660
os/bluestore/StupidAllocator: rounded down len to an align boundary

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-28 13:07:06 +08:00
Sage Weil
9bc2b74798 common/options: document bluestore options
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 22:31:51 -04:00
Sage Weil
5bc9f6dafe compressor: accept 'none' or '' for none
This makes the parse and output methods match up.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 22:30:12 -04:00
Sage Weil
5fd23dcf26 os/bluestore: observe bluestore_compression_required_ratio
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 22:30:12 -04:00
Sage Weil
625859b42b doc/dev/config: some guidance around defining config options
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 22:30:12 -04:00
Patrick Donnelly
fb039383e9
Merge PR #16435 into master
* refs/remotes/upstream/pull/16435/head:
	qa: whitelist trim error during powercycle tests

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-27 17:54:59 -07:00
Sage Weil
89cf82c599 mgr/PyState: shut up about get_config on nonexistent keys
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 18:06:22 -04:00
Patrick Donnelly
ced01a2335
qa: fix wait for wrong health message
Fixes: http://tracker.ceph.com/issues/20805

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-27 14:40:05 -07:00
Sage Weil
cb12a81905 Merge pull request #16450 from markhpc/wip-rocksdb-bloomsettings
kv/RocksDBStore: Table options for indexing and filtering

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-27 16:26:09 -05:00
Sage Weil
41bcf2fee5 Merge pull request #16281 from badone/wip-PG-cluster-log-audit
osd: Log audit

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-27 16:25:30 -05:00
Sage Weil
862392fbf9 Merge pull request #16514 from liewegas/wip-20744
qa/tasks/ceph: wait for mgr to activate and pg stats to flush in health()

Reviewed-by: John Spray <john.spray@redhat.com>
2017-07-27 16:24:59 -05:00
Sage Weil
4af49a8866 osd/PG: ignore CancelRecovery in NotRecovering
It's possible to get >1 CancelRecovery events in the queue.
The first will transition us from Recovering to NotRecovering.
Currently the second will make us crash.

This is harmless; instead just swallow the event.

Fixes: http://tracker.ceph.com/issues/20804
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 16:59:44 -04:00
Patrick Donnelly
d7f5af40a2
qa: whitelist trim error during powercycle tests
Fixes: http://tracker.ceph.com/issues/20566

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-27 13:24:21 -07:00
Sage Weil
5e46c354cf Merge pull request #16635 from dzafman/wip-fix-test-pidfile
test: test_pidfile running 2nd mon has unreliable log output

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-27 15:06:17 -05:00
Jason Dillaman
d61094f45e osd: silence coverity warning in async read operation contexts
Coverity doesn't know that the context is deleted via the "complete"
method and the embedded context is therefore also destructed when
it's completed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-27 15:18:24 -04:00
David Zafman
c76f306ff5 test: test_pidfile running 2nd mon has unreliable log output
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-07-27 11:23:54 -07:00
Neha Ojha
f8ae463492 osd: add default_device_class to metadata
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-07-27 11:21:10 -07:00
Jason Dillaman
da62225448 osd: moved OpFinisher logic from OSDOp to OpContext
This allows the memory lifetime of the OpFinisher to be tightly
controlled since the OpContext cannot be copied.

Fixes: http://tracker.ceph.com/issues/20783
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-27 14:12:17 -04:00
Gregory Farnum
ba03ab92a8 Merge pull request #16629 from johnwilkins/wip-doc-remove-contractions
Remove contractions from the documentation.

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-07-27 10:49:38 -07:00
Sage Weil
541de391e1 Merge pull request #16572 from liewegas/wip-pidfile
test: add separate ceph-helpers-based smoke test

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-27 12:32:36 -05:00
John Wilkins
3b9f70d4fd doc/cephfs: Removed contractions for ESL speakers.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 10:01:29 -07:00
John Wilkins
c978a76b4d doc/start: Removed contractions for ESL speakers.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 09:59:00 -07:00
Ilya Dryomov
bd6e3e5f1f qa/tasks/rbd_fio: bump default fio version to 2.21
I'm seeing sporadic single thread deadlocks on fio stat_mutex during krbd
thrash runs:

  (gdb) info threads
    Id   Target Id         Frame
  * 1    Thread 0x7f89ee730740 (LWP 15604) 0x00007f89ed9f41bd in __lll_lock_wait () from /lib64/libpthread.so.0
  (gdb) bt
  #0  0x00007f89ed9f41bd in __lll_lock_wait () from /lib64/libpthread.so.0
  #1  0x00007f89ed9f17b2 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
  #2  0x00000000004429b9 in fio_mutex_down (mutex=0x7f89ee72d000) at mutex.c:170
  #3  0x0000000000459704 in thread_main (data=<optimized out>) at backend.c:1639
  #4  0x000000000045b013 in fork_main (offset=0, shmid=<optimized out>, sk_out=0x0) at backend.c:1778
  #5  run_threads (sk_out=sk_out@entry=0x0) at backend.c:2195
  #6  0x000000000045b47f in fio_backend (sk_out=sk_out@entry=0x0) at backend.c:2400
  #7  0x000000000040cb0c in main (argc=2, argv=0x7fffad3e3888, envp=<optimized out>) at fio.c:63
  (gdb) up 2
  170                     pthread_cond_wait(&mutex->cond, &mutex->lock);
  (gdb) p mutex.lock.__data.__owner
  $1 = 15604

Upgrading to 2.21 seems to make these go away.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-07-27 18:57:43 +02:00
John Wilkins
ff2eebf88a doc/man: Removed contractions for ESL speakers.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 09:57:23 -07:00
John Wilkins
096af64ae6 doc/install: Removed contractions for ESL speakers.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 09:55:58 -07:00
John Wilkins
60e6cf509c doc/rgw: Removed contractions for ESL speakers.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 09:54:37 -07:00
John Wilkins
112e9936b1 doc/rbd: Removed contractions for ESL speakers.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 09:52:56 -07:00
John Wilkins
6640837da3 doc/rados: Removed contractions to improve readabilty for ESL speakers.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2017-07-27 09:46:53 -07:00
Sage Weil
c1aef68f02 Merge pull request #16569 from liewegas/wip-set-not-put
mon: 'config-key put' -> 'config-key set'

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
2017-07-27 11:34:37 -05:00
Sage Weil
e469a8044c qa/standalone/crush/crush-classes: fix test
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 12:25:25 -04:00
Sage Weil
380de3395f qa/standalone/README
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 12:24:52 -04:00
Sage Weil
52d1814caf test/smoke.sh: add simple ceph-helpers-based smoke test
This is just enough during make check to know things aren't totally
broken.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 12:24:52 -04:00
Sage Weil
a98a2619b3 osdc/Objecter: unify disparate EAGAIN handling paths into one
We had two different code paths for EAGAIN that both
seemed to resend the same request again (with a new
tid), but implemneted it in two different ways. Further,
the first one was conditioned on the BALANCE_READS
flag but not LOCALIZED_READS, which should (I think) be
equivalent in this context.

Unify them into a single path.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 12:13:39 -04:00
Sage Weil
0b5036f072 qa/suites/rados/upgrade: fix upgrade wait for healthy
There is no mgr, so we can't call ceph.healthy.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 12:10:34 -04:00
Sage Weil
a40d94b163 qa/tasks/ceph: wait for pg stats to flush in healthy check
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 12:10:27 -04:00
Sage Weil
80978dea8a qa/tasks/ceph_manager: wait_for_all_up -> wait_for_all_osds_up
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 12:10:26 -04:00
Sage Weil
7648894e55 qa/tasks/ceph_manager: expose flush_all_pg_stats
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-27 12:10:26 -04:00