Sage Weil
a3b4f08d20
Merge pull request #16534 from liewegas/wip-20751
...
mon/OSDMonitor: ensure UP is not set for newly-created OSDs
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-25 21:31:47 -05:00
Sage Weil
2ef8614f67
qa/suites/rados/singleton/all/erasure-code-nonregression: fix typo
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 22:26:43 -04:00
Sage Weil
dfab9d9b5d
common/common_init: disable default dout logging for UTILITY_NODOUT too
...
This was broken in 4d06719f10
.
Fixes: http://tracker.ceph.com/issues/20771
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 22:20:06 -04:00
Sage Weil
d2c31a8114
Merge pull request #16469 from xiexingguo/wip-fix-test
...
test: s/osd_objectstore_type/osd_objectstore
2017-07-25 21:04:22 -05:00
Greg Farnum
a7bc15e29a
messages: default-initialize MOSDPGRecoveryDelete[Reply] members
...
This makes Coverity happy and is good practice, even though we do
a member-by-member initialization in the only place we create these messages.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-07-25 18:37:59 -07:00
songweibin
34efaab49e
doc: add new trash cli in rados-rbd-cmds.rst
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-26 08:47:53 +08:00
songweibin
3860421425
doc: cleanups in release-notes.rst
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-07-26 08:47:35 +08:00
Jianpeng Ma
b2f922a735
os/bluestore/BlueStore: remove unused code.
...
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-07-26 07:03:51 +08:00
Patrick Donnelly
491cf4eaf0
CMakeLists: trim rbd/rgw accidental dependencies
...
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-07-25 15:33:42 -07:00
Sage Weil
3683cdf496
qa/suites/rados: at-end: ignore PG_{AVAILABILITY,DEGRADED}
...
With the peering deletes change, setting luminous sets the osdmap flag
which triggers a new peering interval. That can lead to health warnings
about PG_AVAILABILITY or PG_DEGRADED. Ignore those!
Fixes: http://tracker.ceph.com/issues/20693
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 18:29:07 -04:00
Vasu Kulkarni
45c6a9acc4
Add both filestore and bluestore options for tests
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-07-25 15:16:37 -07:00
Vasu Kulkarni
bdf6851fb0
Add ceph-deploy overrides options
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-07-25 15:10:38 -07:00
Josh Durgin
5a1f595bb3
Merge pull request #15693 from dillaman/wip-osd-cmpext-ec-pool
...
osd: support cmpext operation on EC-backed pools
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-25 13:52:20 -07:00
Sage Weil
b4b51d12ff
Merge pull request #16527 from jcsp/wip-options-followup
...
common: follow up to new options infrastructure
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 15:48:45 -05:00
Yuri Weinstein
65185cf09e
Merge pull request #16511 from c744402859/master
...
OSDMonitor: check mon_max_pool_pg_num when set pool pg_num
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-25 13:46:25 -07:00
Sage Weil
759da47c0c
Merge pull request #16560 from nrdmn/patch-3
...
pybind/mgr/restful: fix typo
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 15:21:50 -05:00
nrdmn
4f826e10d9
Fixed typo in src/pybind/mgr/restful/api/__init__.py
...
Signed-off-by: Nick Erdmann <n@nirf.de>
Fixed typo
2017-07-25 22:10:06 +02:00
Vasu Kulkarni
25c89804e4
bluestore config options for tests
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-07-25 12:26:11 -07:00
Vasu Kulkarni
05cafd5011
Add bluestore overrides for ceph-deploy
...
ceph-deploy doesn't use ceph overrides, Add same overrides for ceph-deploy
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-07-25 12:26:11 -07:00
Vasu Kulkarni
12a1ceba6e
Move ceph-deploy config options into its own folder
...
The old structure of link at top folder is pretty much outdated, the test
config option needs to be specific to cluster yaml.
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-07-25 12:26:11 -07:00
Vasu Kulkarni
2fa0fae72f
Add option to specify bluestore/filestore options
...
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2017-07-25 12:26:03 -07:00
Sage Weil
6ef3a8ed4d
Merge pull request #16536 from jdurgin/wip-20747
...
osd: PrimaryLogPG, PGBackend: complete callback even if interval changes
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 14:05:15 -05:00
Sage Weil
cbe92f1790
Merge pull request #16539 from jdurgin/wip-20753
...
osd/PGLog: fix inaccurate missing assert
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 14:04:17 -05:00
Sage Weil
a264725b62
Merge pull request #16541 from liewegas/wip-20761
...
qa/workunits/cephtool/test.sh: disable 'fs status' until bug is fixed
2017-07-25 14:03:38 -05:00
Sage Weil
af8d6bea5c
Merge pull request #16544 from dillaman/wip-service-daemon-null-dereference
...
mgr/MgrClient: do not attempt to access a global variable for config
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 14:03:25 -05:00
Sage Weil
76a35c1797
mon/PGMap: do not clear checks
...
We may be one of many contributors to the checks.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 12:29:20 -04:00
Sage Weil
ed57f8c7a4
mgr/PyState: add set_health_checks method
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 12:29:20 -04:00
Sage Weil
e51be85c24
mgr: keep per-module checks, and report them back to the mon
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 12:29:20 -04:00
Casey Bodley
dfd5af27d3
Merge pull request #16385 from mikulely/3-check-target-when-create-bucket
...
rgw: check placement existence when create bucket
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-25 11:38:24 -04:00
Kefu Chai
70c1e5d4b0
Merge pull request #16540 from cbodley/wip-mrgw-admin-socket
...
rgw: restore admin socket path in mrgw.sh
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-25 23:19:01 +08:00
Sage Weil
d3e1c6c9b9
Merge pull request #16513 from liewegas/wip-standalone
...
qa: move ceph-helpers-based make check tests to qa/standalone; run via teuthology
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-25 09:51:36 -05:00
Sage Weil
4c2b8f29d5
Merge pull request #16566 from jcsp/wip-doc-health
...
doc/rados: add page for health checks and update monitoring.rst
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-25 09:36:49 -05:00
Radoslaw Zarzynski
d8606b14dc
rgw: fix segfault in RevokeThread during its shutdown procedure.
...
Fixes: http://tracker.ceph.com/issues/19831
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-07-25 10:24:40 -04:00
Radoslaw Zarzynski
1a1a674475
common: dout can work also with non-raw pointers to CephContext.
...
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-07-25 10:24:40 -04:00
John Spray
5bf942570a
doc/rados: add page for health checks and update monitoring.rst
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-07-25 15:13:02 +01:00
Sage Weil
6a38a3548a
Merge pull request #16545 from asomers/install-deps
...
install-deps.sh: add missing dependencies for FreeBSD
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-07-25 09:00:02 -05:00
Sage Weil
65e0f2ce97
Merge pull request #16564 from liewegas/wip-vstart-mgr
...
vstart.sh: fix mgr vs restful command startup race
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-07-25 08:56:12 -05:00
Sage Weil
fc8e5e1c2f
ceph-disk/tests/ceph-disk.sh: wait for right number of pgs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 09:51:22 -04:00
Sage Weil
0495efe624
vstart.sh: fix mgr vs restful command startup race
...
If the mgr hasn't activated yet we won't have registered the python
commands. Use 'ceph tell mgr ...' to ensure we block. (This is only a
problem right after mkfs when the first mgr hasn't started yet.)
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-25 09:20:29 -04:00
Yan Jun
237d951eb9
common: fix indent
...
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-07-25 20:34:53 +08:00
huangjun
8d75a450a8
common/WorkQueue: use threadpoolname + threadaddr for heartbeat_handle_d.name
...
Current log: 'tp_osd_tp thread tp_osd_tp'
changed to 'OSD::osd_op_tp thread 0x7fd83ac52700'
This reverts commit 50c8c76d8a
Signed-off-by: huangjun <huangjun@xsky.com>
2017-07-25 11:39:49 +00:00
Jason Dillaman
b311fce34d
rbd-mirror: image deletion should ensure journal is owned by remote peer
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-25 07:35:30 -04:00
Jason Dillaman
2b523fb82e
rbd-mirror: ensure derived image removals are associated to remote peer
...
If the remote pool image listing is retrieved before the local pool image
listing, the derived image removals would incorrectly be associated with
the local peer.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-25 07:17:15 -04:00
Jason Dillaman
76fd882464
qa/workunits/rbd: rbd-mirror now treats no primary image as unknown state
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-25 07:17:15 -04:00
Jason Dillaman
9d9dcb7292
librbd: log message cleanup
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-07-25 07:17:15 -04:00
huangjun
daf8efee32
qa/tasks/dump_stuck: fix dump_stuck test bug
...
Test cluster with 2 osds, stop osd.0, if osd.1
report the pg stats during pg peering, mon will
record pg state to 'peering',then stop osd.1,
finally the pg state will stuck in 'stale+peering',
which is unexpected.
Let's wait_for_active() after stop osd.0.
Signed-off-by: huangjun <huangjun@xsky.com>
2017-07-25 11:14:07 +00:00
huangjun
bb33fd8545
osd/PrimaryLogPG: fix recovering hang when have unfound objects
...
pg_log.get_missing() return type is pg_missing_tracker_t,
if we use:
const pg_missing_t &missing = pg_log.get_missing();
the reference object(missing) will not change when we changed the
pglog's missing set in recover_primary()/recover_got(),which will
result the recovering hang.
Signed-off-by: huangjun <huangjun@xsky.com>
2017-07-25 11:08:31 +00:00
Jos Collin
0988a34ad1
Merge pull request #16497 from weiqiaomiao/wip_weiqm_rgw_compile_warn
...
rgw: Drop dump_usage_bucket_info() to silence warning from -Wunused-function
Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-07-25 11:01:34 +00:00
wumingqiao
a5cd03c643
kv: let ceph_logger destructed after db reset
...
if ceph_logger is deleted earlier than db, it may still be used by db, which cause a segment fault.
Signed-off-by: wumingqiao <wumingqiao@inspur.com>
2017-07-25 17:44:51 +08:00
Pavan Rallabhandi
3903e213c7
rgw: Do not decrement stats cache when the cache values are zero
...
With RGWs configured in a load balancer, there is a possibility of
having the cached values going unbound, when PUT/DELETE operations
do not land up on the same RGW. To avoid such cases, make sure the
decrement of stats happen only when the cached values are sane.
Fixes: http://tracker.ceph.com/issues/20661
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
2017-07-25 14:31:49 +05:30