Alfredo Deza
6d679855aa
ceph-volume lvm.api all vg tags should match, not just one
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-11 09:08:46 -04:00
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
Kefu Chai
965f20d8ee
doc/scripts/gen_state_diagram.py: port to py3
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 20:51:11 +08:00
Kefu Chai
b35bf318af
doc: update ceph-disk with a state transition diagram
...
also, quote the variabls in source code with double quote.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 20:44:35 +08:00
Ilya Dryomov
cce269a82f
tests: update unmap.t for "already mapped" warning
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-11 14:18:38 +02: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
Ilya Dryomov
69c6f139a7
krbd: rewrite "already mapped" code
...
The "already mapped" code, introduced in commit d6a66fc8f4
("rbd:
before rbd map, warn if the image is already mapped") is broken:
because of a use-after-free on attribute strings, the warning isn't
even printed half the time.
Rewrite making use of udev enumeration filters and fix the interface
while at it.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-11 11:34:25 +02:00
Vasu Kulkarni
9fe58d5ed6
Fix get_system_type failure due to invalid remote name
...
recent changes caused the remote name to be invalid, fix the
arg passed to get_system_type
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-09-10 12:42:16 -07: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
Ilya Dryomov
9e9598dbf4
krbd: factor out enumerate_devices()
...
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-09-10 20:01:31 +02: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
Nathan Cutler
c501fc1f31
doc: document include/ipaddr.h
...
Fixes: http://tracker.ceph.com/issues/12056
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-09-09 09:33:27 +02: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
David Zafman
3bb20f6d75
ceph-objectstore-tool: Make pg removal require --force
...
Add new export-remove to combine the 2 operations
Fixes: http://tracker.ceph.com/issues/21272
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-09-08 17:56:05 -07:00
David Zafman
49ca1fff7f
ceph-objectstore-tool: Better messages for bad --journal-path
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-09-08 17:50:46 -07:00
David Zafman
3ac219df2d
test: Fix ceph-objectstore-tool test for standalone and latest code
...
vstart.sh now defaults to bluestore, so specify filestore
Set environment for run-standalone.sh and cmake build
Create td/cot_dir as test directory
Crush output format change
Change dir into test directory
Give a little time after pool creation
Check for core files as ceph-helpers.sh does
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-09-08 16:53:53 -07:00
David Zafman
495c32fd31
test: Move ceph-objectstore-tool test to standalone
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-09-08 16:53:30 -07: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
Jason Dillaman
053be9847f
rbd: mirror "get" actions now have cleaner error messages
...
Fixes: http://tracker.ceph.com/issues/21319
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-08 16:43:58 -04: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
Jason Dillaman
79be496ac0
cls/rbd: avoid recursively listing the watchers on rbd_mirroring object
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-09-08 15:41:36 -04: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