Commit Graph

78048 Commits

Author SHA1 Message Date
Alfredo Deza
80e401ca97 ceph-volume tests prove all tags have to match in lvs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:46 -04:00
Alfredo Deza
dbaf30c3e4 ceph-volume lvm.api all lv tags should match, not just one
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:46 -04:00
Alfredo Deza
99a8a71969 ceph-volume lvm.activate allow not using osd_id
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:45 -04:00
Alfredo Deza
8d1a1a885f ceph-volume tests prove missing args.osd_id is fine
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:45 -04:00
Alfredo Deza
d18d5e139b ceph-volume tests add is_root and lv fixtures to conftest
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:45 -04:00
Mykola Golub
b196d38783 Merge pull request #17621 from idryomov/wip-krbd-xfstests-blockdev
qa/suites/krbd: enable xfstests blockdev tests

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-11 14:09:32 +03:00
Sage Weil
2809fbf142 Merge pull request #17453 from kungf/eversion_t_opt_max
osd_types: define max in eversion_t::max() to static

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-10 14:21:39 -05:00
Sage Weil
14e783c0b9 Merge pull request #17571 from jcsp/wip-21260
mon: fix dropping mgr metadata for active mgr (#21260)

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-10 14:20:30 -05:00
Sage Weil
bd2569b38c Merge pull request #17572 from xiexingguo/wip-os-tool
tools/ceph_objectstore_tool: fix 'dup' unable to duplicate meta PG

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:18:37 -05:00
Sage Weil
745ed76164 Merge pull request #17585 from jdurgin/wip-recovery-delete-encoding-master
MOSDPGRecoveryDelete[Reply]: bump header version

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:18:13 -05:00
Sage Weil
5a3133bf18 Merge pull request #17588 from kungf/aio_submit_size_change
os/bluestore: shrink aio submit size to pending value

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:17:48 -05:00
Sage Weil
04c0044be0 Merge pull request #17599 from tchaikov/wip-encoding-optional
encoding: reset optional<> if it is uninitialized

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:17:32 -05:00
Sage Weil
fbeea651e3 Merge pull request #17600 from jecluis/wip-21309
mon/OSDMonitor: don't create pgs if pool was deleted

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-10 14:17:00 -05:00
Sage Weil
f34821c7bd Merge pull request #17298 from xiexingguo/wip-pg-null-obc-access
osd/PrimaryLogPG: maybe_handle_manifest_detail - sanity check obc existence

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
2017-09-09 15:02:08 -05:00
Mykola Golub
0bafa7e8d4 Merge pull request #17559 from dillaman/wip-21181
qa/workunits/rbd: relax greps to support upgrade formatting change

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-09-09 11:23:57 +03:00
Kefu Chai
11d9b643ef Merge pull request #17324 from smithfarm/wip-rbd-symlink
build/ops: rpm: drop legacy librbd.so.1 symlink in /usr/lib64/qemu

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Ademar de Souza Reis Jr <areis@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2017-09-09 12:12:08 +08:00
Kefu Chai
d40250d31e Merge pull request #17512 from tchaikov/wip-chmod-x
common,mon,osd,pybind: silence warning and remove executable mode bit

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2017-09-09 12:09:59 +08:00
Kefu Chai
de77a93765 Merge pull request #17539 from tchaikov/wip-21204
mon,option: set default value for mon_dns_srv_name

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-09 12:08:18 +08:00
Kefu Chai
050a9a516e Merge pull request #17549 from iliul/fix-texttable-align
tools: Modify "rados df" header's alignment

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-09 12:07:38 +08:00
Tamilarasi Muthamizhan
ec423100dc Merge pull request #17096 from ceph/wip-ansbile-fixes
[qa/tests]: misc ceph-ansible fixes and udpate
2017-09-08 14:47:12 -07:00
Yuri Weinstein
0c2a139ee6 Merge pull request #17513 from Liuchang0812/wip-max-avail-in-df
mon: incorrect MAX AVAIL in "ceph df"

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-08 13:41:07 -07:00
Patrick Donnelly
1b7aae6cdc
Merge PR #17533 into master
* refs/remotes/upstream/pull/17533/head:
	qa: log ceph-fuse kill/cleanup

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-08 11:23:23 -07:00
Patrick Donnelly
6019a57fa3
Merge PR #17506 into master
* refs/remotes/upstream/pull/17506/head:
	mds: reset Formatter on error

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-08 11:23:21 -07:00
Patrick Donnelly
52c79aecdd
Merge PR #17466 into master
* refs/remotes/upstream/pull/17466/head:
	qa: whitelist expected MDS_READ_ONLY for kcephfs test

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-08 11:23:19 -07:00
Patrick Donnelly
5f99d9d53c
Merge PR #17456 into master
* refs/remotes/upstream/pull/17456/head:
	mds: print subtrees only after merge

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-08 11:23:17 -07:00
Patrick Donnelly
490bc0050c
Merge PR #17452 into master
* refs/remotes/upstream/pull/17452/head:
	Make standby-replay mds not migrate empty subtree when trimming cache
	Make standby-replay mds avoid initiating subtree export

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-08 11:23:15 -07:00
Patrick Donnelly
353b1311c3
Merge PR #17384 into master
* refs/remotes/upstream/pull/17384/head:
	ceph.in: validate service glob

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-08 11:23:12 -07:00
Patrick Donnelly
1d793366ab
Merge PR #16752 into master
* refs/remotes/upstream/pull/16752/head:
	client: NULL check before append value to bufferlist

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
2017-09-08 11:23:10 -07:00
Vasu Kulkarni
b1fd615e9f Stop the mgr on node which is not client, this will ensure
the client.0's mgr is active mgr for workunit to work.

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-08 10:00:49 -07:00
Sage Weil
5b89608343 Merge pull request #16272 from liewegas/wip-balancer
mgr/balancer: mgr module to automatically balance PGs across OSDs

Reviewed-by: John Spray <john.spray@redhat.com>
2017-09-08 11:29:14 -05:00
kungf
9388de7fa6 os/bluestore: shrink aio submit size to pending value
Signed-off-by: kungf <yang.wang@easystack.cn>
2017-09-08 23:54:26 +08:00
Andrew Schoen
9693f86883 Merge pull request #17403 from ceph/wip-bz1485011
ceph-volume Persist non-lv devices for journals

Reviewed-by: Andrew Schoen aschoen@redhat.com
2017-09-08 10:43:44 -05:00
Sage Weil
46ba645703 Merge pull request #17603 from liewegas/wip-migration-twiddle
doc: restructure bluestore migration insructions

Reviewed-by: David Galloway <dgallowa@redhat.com>
2017-09-08 10:32:08 -05:00
Sage Weil
9fa4901783 doc: restructure bluestore migration insructions
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-08 11:27:34 -04:00
Sage Weil
24c4354886 Merge pull request #17602 from ceph/wip-blumig-doc
doc: Updates to bluestore migration doc

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-08 10:05:27 -05:00
David Galloway
a9314f0a17 doc/rados/operations/bluestore-migration: Add instruction for evacuating
host

Signed-off-by: David Galloway <dgallowa@redhat.com>
2017-09-08 10:48:32 -04:00
Sage Weil
f4991b71e2 Merge pull request #17011 from liewegas/wip-doc-bluestore-migration
doc/rados/operations/bluestore-migration: update docs a bit
2017-09-08 09:47:02 -05:00
Kefu Chai
4515636a41 Merge pull request #17582 from ivancich/wip-fix-mclock-unittests
test/common: unittest_mclock_priority_queue builds with "make" command

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-08 22:03:28 +08:00
David Galloway
f1b3d1e4bb doc/rados/operations/bluestore-migration: Fix typo in bluestore migration doc
Signed-off-by: David Galloway <dgallowa@redhat.com>
2017-09-08 09:45:53 -04:00
John Spray
29c6f9adf1 mon: fix dropping mgr metadata for active mgr
drop_standby() was killing it and it was only getting added
back in certain locations.  Instead, make the metadata
drop conditional and only do it in the places we're
really dropping the daemon, not when we're promoting
it to active.

Fixes: http://tracker.ceph.com/issues/21260
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-08 15:45:41 +02:00
John Spray
28cb4bb2e6 qa/tasks/mgr: regression test for 21260
(aka http://tracker.ceph.com/issues/21260)

Fixes: http://tracker.ceph.com/issues/21260
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-08 15:45:40 +02:00
Ilya Dryomov
131c1189d6 qa/suites/krbd: enable xfstests blockdev tests
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-08 15:45:34 +02:00
Joao Eduardo Luis
7a8a88032e mon/OSDMonitor: don't create pgs if pool was deleted
A pool may be deleted while in the process of creating pgs. If that
happens, we should not queue additional pgs from that pool to be
created.

Fixes: http://tracker.ceph.com/issues/21309

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2017-09-08 13:33:15 +01:00
Sage Weil
c364977279 Merge pull request #17569 from liewegas/wip-21293
Revert "os/bluestore: pass strict flag to bluestore_blob_use_tracker_t::equal()"

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-08 07:19:42 -05:00
Sage Weil
e4ce4695f2 Merge pull request #17352 from liewegas/wip-21171
os/bluestore: drop deferred_submit_lock, fix aio leak

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
2017-09-08 07:16:40 -05:00
Kefu Chai
0363236dc7 encoding: reset optional<> if it is uninitialized
* should reset it, in case we reuse it after initializing it.
* initialize the value of `p` using the C++11 style initializer, so it
  is zero-initialized.
* revert 2a83ef3c which disables a warning of:
 ./include/encoding.h:317:7: warning: 't' may be used uninitialized in
    this function [-Wmaybe-uninitialized]
 where the `t` is the temporary variable for initializing the value of
 `p`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-08 19:42:42 +08:00
Jos Collin
fa0a832ee6 Merge pull request #17593 from shashalu/fix-clean-up-apply_epoch
rgw: drop unused function apply_epoch

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-08 11:15:59 +00:00
Kefu Chai
fca4fe30a9 Merge pull request #17590 from xiaoxichen/minor_doc_fix
doc: fix typo on specify db block device

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-08 18:46:09 +08:00
Boris Ranto
00e1ec5ea4 Merge pull request #17573 from jcsp/wip-21292
mgr/restful: cleaner message when not configured

Reviewed-by: Boris Ranto <branto@redhat.com>
2017-09-08 10:32:20 +02:00
lu.shasha
fa952e8068 rgw: drop unused function apply_epoch
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
2017-09-08 15:16:13 +08:00