]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agomon/PGMap: rename a few health checks
Sage Weil [Fri, 30 Jun 2017 03:30:17 +0000 (23:30 -0400)]
mon/PGMap: rename a few health checks

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomgr/DaemonServer: debug log health checks
Sage Weil [Thu, 29 Jun 2017 22:22:24 +0000 (18:22 -0400)]
mgr/DaemonServer: debug log health checks

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/MgrStatMonitor: show health check count on receipt
Sage Weil [Thu, 29 Jun 2017 22:20:28 +0000 (18:20 -0400)]
mon/MgrStatMonitor: show health check count on receipt

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomessages/MMonMgrReport: show health check count
Sage Weil [Thu, 29 Jun 2017 22:19:06 +0000 (18:19 -0400)]
messages/MMonMgrReport: show health check count

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMap: only warn about too few pgs after >0 pools exist
Sage Weil [Thu, 29 Jun 2017 20:08:38 +0000 (16:08 -0400)]
mon/PGMap: only warn about too few pgs after >0 pools exist

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMap: some stuck warnings are err, some warn
Sage Weil [Thu, 29 Jun 2017 16:38:49 +0000 (12:38 -0400)]
mon/PGMap: some stuck warnings are err, some warn

inactive and stale -> error
degraded, unclean, undersized -> warning

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados: whitelist health warnings
Sage Weil [Tue, 20 Jun 2017 19:29:28 +0000 (15:29 -0400)]
qa/suites/rados: whitelist health warnings

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMap: do not warn about recovering, peering, stale
Sage Weil [Wed, 28 Jun 2017 04:32:50 +0000 (00:32 -0400)]
mon/PGMap: do not warn about recovering, peering, stale

Wait for stuck before complaining.  These aren't scary in and of
themselves.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/mon_clock_skew_check: vastly simplify
Sage Weil [Tue, 27 Jun 2017 18:57:53 +0000 (14:57 -0400)]
qa/tasks/mon_clock_skew_check: vastly simplify

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: shorten 'stuck' threshold from 5m -> 1m
Sage Weil [Tue, 27 Jun 2017 18:09:22 +0000 (14:09 -0400)]
mon: shorten 'stuck' threshold from 5m -> 1m

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMap: add per-osd flag OSD_FLAGS check
Sage Weil [Tue, 27 Jun 2017 19:01:16 +0000 (15:01 -0400)]
osd/OSDMap: add per-osd flag OSD_FLAGS check

rename OSD_FLAGS to OSDMAP_FLAGS

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSDMap: rename a few health checks
Sage Weil [Wed, 5 Jul 2017 16:06:16 +0000 (12:06 -0400)]
osd/OSDMap: rename a few health checks

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: move osd health checks into OSDMap method
Sage Weil [Fri, 23 Jun 2017 13:45:42 +0000 (09:45 -0400)]
mon: move osd health checks into OSDMap method

...with one check moving into HealthMonitor where it
belongs.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/ceph: stop logging health on shutdown
Sage Weil [Wed, 21 Jun 2017 18:02:05 +0000 (14:02 -0400)]
qa/tasks/ceph: stop logging health on shutdown

Don't log health during actual teardown or we'll see
various scary messages unrelated to our test run.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/MgrMonitor: do not issue MGR_DOWN on new cluster
Sage Weil [Tue, 20 Jun 2017 16:44:18 +0000 (12:44 -0400)]
mon/MgrMonitor: do not issue MGR_DOWN on new cluster

It is normal for the initial cluster to lack a mgr.  Wait for some
grace period before complaining about a missing mgr.

Default to 30m.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/Monitor: periodically log new-style health warnings to log
Sage Weil [Tue, 27 Jun 2017 18:33:00 +0000 (14:33 -0400)]
mon/Monitor: periodically log new-style health warnings to log

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/MDSMonitor: implement new-style cephfs health checks
Sage Weil [Thu, 15 Jun 2017 02:23:42 +0000 (22:23 -0400)]
mon/MDSMonitor: implement new-style cephfs health checks

Our detail elements are still strings, so we keep the bit that collapses
the metadata into a string and appends it to the string.

Each MDS-generated item becomes a detail record.

Health checks are consolidated either by MDS_ or FS_, counting the
number of mds servers or file systems affected.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon,mgr: pass new-style health checks from mgr's PGMap
Sage Weil [Tue, 13 Jun 2017 19:08:19 +0000 (15:08 -0400)]
mon,mgr: pass new-style health checks from mgr's PGMap

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/PGMap: implement new-style health checks
Sage Weil [Tue, 13 Jun 2017 19:07:46 +0000 (15:07 -0400)]
mon/PGMap: implement new-style health checks

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/OSDMonitor: implement new health checks
Sage Weil [Tue, 13 Jun 2017 12:16:14 +0000 (08:16 -0400)]
mon/OSDMonitor: implement new health checks

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: new health check framework
Sage Weil [Mon, 12 Jun 2017 22:39:15 +0000 (18:39 -0400)]
mon: new health check framework

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: HealthMonitor -> OldHealthMonitor
Sage Weil [Mon, 12 Jun 2017 21:44:57 +0000 (17:44 -0400)]
mon: HealthMonitor -> OldHealthMonitor

This will go away post-luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: remove Formatter arg to QuorumService::get_health()
Sage Weil [Mon, 12 Jun 2017 20:15:27 +0000 (16:15 -0400)]
mon: remove Formatter arg to QuorumService::get_health()

This is used to dump extra weirdness to the health detail structured
output, but we are about to remove all of that in luminous.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/Monitor: move time sync status from 'ceph health' to 'time-sync-status' command
Sage Weil [Sat, 10 Jun 2017 17:36:40 +0000 (13:36 -0400)]
mon/Monitor: move time sync status from 'ceph health' to 'time-sync-status' command

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: move health_status_t to health.h
Sage Weil [Sun, 11 Jun 2017 18:33:10 +0000 (14:33 -0400)]
mon: move health_status_t to health.h

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: move pool quota health warnings into PGMap
Sage Weil [Fri, 9 Jun 2017 21:02:08 +0000 (17:02 -0400)]
mon: move pool quota health warnings into PGMap

This puts them on the mgr in a context where they can respond to both
osdmap and pgmap updates, and removes one more dependency on pgservice
in osdmon.

We keep the pool quota FULL warning since that is a function of OSDMap
state (the pool flag... not actual usage).

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15630 from Abhishekvrshny/fix-rgw-multipart-leaks
Yuri Weinstein [Wed, 12 Jul 2017 15:56:04 +0000 (08:56 -0700)]
Merge pull request #15630 from Abhishekvrshny/fix-rgw-multipart-leaks

rgw: fix leaks with incomplete multiparts

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15669 from rzarzynski/wip-rgw-fix-rgwbucket-error-handling
Yuri Weinstein [Wed, 12 Jul 2017 15:55:28 +0000 (08:55 -0700)]
Merge pull request #15669 from rzarzynski/wip-rgw-fix-rgwbucket-error-handling

rgw: fix error handling in the link() method of RGWBucket.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15834 from prallabh/wip-20377
Yuri Weinstein [Wed, 12 Jul 2017 15:52:24 +0000 (08:52 -0700)]
Merge pull request #15834 from prallabh/wip-20377

rgw: Do not fetch bucket stats by default upon bucket listing

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
8 years agoMerge pull request #15887 from rzarzynski/wip-rgw-20394
Yuri Weinstein [Wed, 12 Jul 2017 15:49:39 +0000 (08:49 -0700)]
Merge pull request #15887 from rzarzynski/wip-rgw-20394

rgw: /info claims we do support Swift's accounts ACLs.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16154 from mikulely/obj-placement-pool
Yuri Weinstein [Wed, 12 Jul 2017 15:48:49 +0000 (08:48 -0700)]
Merge pull request #16154 from mikulely/obj-placement-pool

rgw: drop unused rgw_pool parameter, local variables and member variable

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #14961 from yehudasa/wip-19739
Yuri Weinstein [Wed, 12 Jul 2017 15:45:41 +0000 (08:45 -0700)]
Merge pull request #14961 from yehudasa/wip-19739

rgw: verify md5 in post obj

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #15281 from jimifm/wip-rgw_rados-master
Yuri Weinstein [Wed, 12 Jul 2017 15:44:18 +0000 (08:44 -0700)]
Merge pull request #15281 from jimifm/wip-rgw_rados-master

rgw/rgw_rados: Remove duplicate calls in RGWRados::finalize()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16287 from liewegas/wip-try-decode
Sage Weil [Wed, 12 Jul 2017 14:34:20 +0000 (09:34 -0500)]
Merge pull request #16287 from liewegas/wip-try-decode

mon/MgrStatMonitor: do not crash on luminous dev version upgrades

Reviewed-by: Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #16197 from shashalu/fix-RGWRadosRemoveOmapKeysCR
Casey Bodley [Wed, 12 Jul 2017 14:11:14 +0000 (10:11 -0400)]
Merge pull request #16197 from shashalu/fix-RGWRadosRemoveOmapKeysCR

rgw:multisite: fix RGWRadosRemoveOmapKeysCR and change cn to intrusive_ptr

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15843 from ovh/bp-drop-ping-fields
Sage Weil [Wed, 12 Jul 2017 13:33:32 +0000 (08:33 -0500)]
Merge pull request #15843 from ovh/bp-drop-ping-fields

messages/MOSDPing.h: drop unused fields

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15929 from cbodley/wip-vstart-rgw-compression
Casey Bodley [Wed, 12 Jul 2017 12:40:10 +0000 (08:40 -0400)]
Merge pull request #15929 from cbodley/wip-vstart-rgw-compression

vstart: add --rgw_compression to set rgw compression plugin

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agomon/MgrStatMonitor: do not crash on luninous dev version upgrades 16287/head
Sage Weil [Wed, 12 Jul 2017 11:30:53 +0000 (07:30 -0400)]
mon/MgrStatMonitor: do not crash on luninous dev version upgrades

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16254 from TsaiJin/wip-rbd-nbd-version
Jos Collin [Wed, 12 Jul 2017 08:56:44 +0000 (08:56 +0000)]
Merge pull request #16254 from TsaiJin/wip-rbd-nbd-version

tools/rbd_nbd: add --version show support

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agorgw:multisite: change raw 'RGWAioCompletionNotifier*' to intrusive_ptr for rgw_cr_rados 16197/head
lu.shasha [Tue, 11 Jul 2017 03:20:15 +0000 (11:20 +0800)]
rgw:multisite: change raw 'RGWAioCompletionNotifier*' to intrusive_ptr for rgw_cr_rados

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
8 years agoMerge pull request #16074 from smithfarm/wip-obsolete-libcephfs1
Nathan Cutler [Wed, 12 Jul 2017 03:15:02 +0000 (05:15 +0200)]
Merge pull request #16074 from smithfarm/wip-obsolete-libcephfs1

build/ops: rpm: obsolete libcephfs1

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #16224 from liewegas/wip-docs-prune
Alfredo Deza [Tue, 11 Jul 2017 20:44:30 +0000 (16:44 -0400)]
Merge pull request #16224 from liewegas/wip-docs-prune

doc: update intro, quick start docs

Reviewed-by: Alfredo Deza <adeza@redhat.com>
8 years agovstart: add --rgw_compression to set rgw compression plugin 15929/head
Casey Bodley [Mon, 26 Jun 2017 19:54:32 +0000 (15:54 -0400)]
vstart: add --rgw_compression to set rgw compression plugin

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15632 from aclamk/wip-vstart-20235-multiple-radosgw
Casey Bodley [Tue, 11 Jul 2017 19:28:47 +0000 (15:28 -0400)]
Merge pull request #15632 from aclamk/wip-vstart-20235-multiple-radosgw

vstart: allow to start multiple radosgw when RGW=x

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16265 from dzafman/wip-20470
Sage Weil [Tue, 11 Jul 2017 18:46:33 +0000 (13:46 -0500)]
Merge pull request #16265 from dzafman/wip-20470

test: Fix reg11184 test to remove extraneous pg

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16244 from liewegas/wip-11793
Sage Weil [Tue, 11 Jul 2017 18:01:42 +0000 (13:01 -0500)]
Merge pull request #16244 from liewegas/wip-11793

qa/suites/rados/thrash/workload/*: enable rados.py cache tiering ops

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoqa/suites/: enable rados.py cache tiering ops 16244/head
Sage Weil [Tue, 11 Jul 2017 18:01:15 +0000 (14:01 -0400)]
qa/suites/: enable rados.py cache tiering ops

These weren't being exercised!

See http://tracker.ceph.com/issues/11793

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15836 from xiexingguo/wip-refactor-try-reuse-blob
Sage Weil [Tue, 11 Jul 2017 17:59:42 +0000 (12:59 -0500)]
Merge pull request #15836 from xiexingguo/wip-refactor-try-reuse-blob

os/bluestore: slightly refactor Blob::try_reuse_blob

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16245 from cbodley/wip-global-zlib-compressor
Sage Weil [Tue, 11 Jul 2017 17:59:23 +0000 (12:59 -0500)]
Merge pull request #16245 from cbodley/wip-global-zlib-compressor

compressor/zlib: remove g_ceph_context/g_conf from compressor plugin

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
8 years agoMerge pull request #16091 from runsisi/wip-lock-type
Sage Weil [Tue, 11 Jul 2017 17:58:12 +0000 (12:58 -0500)]
Merge pull request #16091 from runsisi/wip-lock-type

cls_lock: move lock_info_t definition to cls_lock_types.h

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16158 from majianpeng/bluestore-using-bufferlist-function-do...
Sage Weil [Tue, 11 Jul 2017 17:57:58 +0000 (12:57 -0500)]
Merge pull request #16158 from majianpeng/bluestore-using-bufferlist-function-do-the-same-function

os/bluestore: use bufferlist functions whenever possible

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16227 from tchaikov/wip-kill-clang-analyzer-warnings
Sage Weil [Tue, 11 Jul 2017 17:56:45 +0000 (12:56 -0500)]
Merge pull request #16227 from tchaikov/wip-kill-clang-analyzer-warnings

mgr,os,test: kill clang analyzer warnings

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #16239 from xiexingguo/wip-crush-weight-overflow
Sage Weil [Tue, 11 Jul 2017 17:56:15 +0000 (12:56 -0500)]
Merge pull request #16239 from xiexingguo/wip-crush-weight-overflow

mon: a few more upmap (and other) fixes

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16249 from gregsfortytwo/wip-20562-cluster-stats
Sage Weil [Tue, 11 Jul 2017 17:55:19 +0000 (12:55 -0500)]
Merge pull request #16249 from gregsfortytwo/wip-20562-cluster-stats

mon: maintain the "cluster" PerfCounters when using ceph-mgr

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
8 years agotest: Fix reg11184 test to remove extraneous pg 16265/head
David Zafman [Fri, 7 Jul 2017 20:56:55 +0000 (13:56 -0700)]
test: Fix reg11184 test to remove extraneous pg

Minor cleanups
Remove unused pool to aid future analysis

Signed-off-by: David Zafman <dzafman@redhat.com>
8 years agoFixed too big privileges for client.rgw. 15632/head
Adam Kupczyk [Tue, 11 Jul 2017 17:12:33 +0000 (13:12 -0400)]
Fixed too big privileges for client.rgw.

Signed-off-by: Adam Kupczyk <akucpzyk@redhat.com>
8 years agotools/rbd_nbd: add version show support 16254/head
Jin Cai [Tue, 11 Jul 2017 11:23:49 +0000 (19:23 +0800)]
tools/rbd_nbd: add version show support

Signed-off-by: Jin Cai <caijin.caij@alibaba-inc.com>
8 years agoMerge pull request #15989 from linuxbox2/wip-nfs-compress
Matt Benjamin [Tue, 11 Jul 2017 13:24:16 +0000 (09:24 -0400)]
Merge pull request #15989 from linuxbox2/wip-nfs-compress

rgw_file: add compression interop to RGW NFS

8 years agorgw_file: add large(ish) write test 15989/head
Matt Benjamin [Tue, 2 May 2017 20:06:47 +0000 (16:06 -0400)]
rgw_file: add large(ish) write test

allows for read-after-write verify

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw_file: compression fix and cleanup from review
Matt Benjamin [Thu, 6 Jul 2017 15:59:05 +0000 (11:59 -0400)]
rgw_file:  compression fix and cleanup from review

A fix and a cleanup from Adam Kupczyk <akupczyk@redhat.com> review.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agorgw_file: enable compression filter (stores)
Matt Benjamin [Thu, 4 May 2017 19:47:39 +0000 (15:47 -0400)]
rgw_file:  enable compression filter (stores)

Previously NFS clients could access compressed data, but the
RGWWriteDataRequest lacked glue to attach an inbound
compression filter.

Fixes: http://tracker.ceph.com/issues/20462
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #16241 from liewegas/wip-dashboard-default
John Spray [Tue, 11 Jul 2017 09:13:45 +0000 (10:13 +0100)]
Merge pull request #16241 from liewegas/wip-dashboard-default

doc/mgr/dashboard: update dashboard docs to reflect new defaults

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #16034 from guihecheng/rgw_file-policy-read
Matt Benjamin [Tue, 11 Jul 2017 09:04:33 +0000 (05:04 -0400)]
Merge pull request #16034 from guihecheng/rgw_file-policy-read

rgw: rgw_file skip policy read for virtual components

8 years agovstart: allow to start multiple radosgw on consecutive ports
Adam Kupczyk [Mon, 12 Jun 2017 12:47:49 +0000 (14:47 +0200)]
vstart: allow to start multiple radosgw on consecutive ports

Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
8 years agorgw:multisite: fix RGWRadosRemoveOmapKeysCR
lu.shasha [Fri, 7 Jul 2017 03:09:02 +0000 (11:09 +0800)]
rgw:multisite: fix RGWRadosRemoveOmapKeysCR

RGWRadosRemoveOmapKeysCR::request_complete return val is wrong. The return val should get from completion.  Some member variables is not used, clear up those variables.

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

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
8 years agoMerge pull request #16229 from Liuchang0812/wip-misc-cleanup
Sage Weil [Mon, 10 Jul 2017 21:50:40 +0000 (16:50 -0500)]
Merge pull request #16229 from Liuchang0812/wip-misc-cleanup

ceph.in, mgr: misc cleanups

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16230 from jecluis/wip-20443
Sage Weil [Mon, 10 Jul 2017 21:50:08 +0000 (16:50 -0500)]
Merge pull request #16230 from jecluis/wip-20443

mon/Monitor: recreate mon session if features changed

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16233 from liewegas/wip-osd-create
Sage Weil [Mon, 10 Jul 2017 21:49:32 +0000 (16:49 -0500)]
Merge pull request #16233 from liewegas/wip-osd-create

qa/tasks/ceph.py: no osd id to 'osd create' command

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16235 from tchaikov/wip-timer
Sage Weil [Mon, 10 Jul 2017 21:49:01 +0000 (16:49 -0500)]
Merge pull request #16235 from tchaikov/wip-timer

os/filestore: do not free event if not added

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #16237 from YankunLi/dev-bluestore0710
Sage Weil [Mon, 10 Jul 2017 21:48:44 +0000 (16:48 -0500)]
Merge pull request #16237 from YankunLi/dev-bluestore0710

os/blueStore: Failure retry for opening file

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agomon: maintain the "cluster" PerfCounters when using ceph-mgr instead of PGMonitor 16249/head
Greg Farnum [Mon, 10 Jul 2017 20:13:56 +0000 (13:13 -0700)]
mon: maintain the "cluster" PerfCounters when using ceph-mgr instead of PGMonitor

Fixes: http://tracker.ceph.com/issues/20562
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #16246 from gregsfortytwo/wip-fix-mgr-cephx-link
Sage Weil [Mon, 10 Jul 2017 18:16:48 +0000 (13:16 -0500)]
Merge pull request #16246 from gregsfortytwo/wip-fix-mgr-cephx-link

doc: fix link for ceph-mgr cephx authorization

8 years agomon/OSDMonitor: dedup pg-upmap[-items] 16239/head
xie xingguo [Mon, 10 Jul 2017 10:51:38 +0000 (18:51 +0800)]
mon/OSDMonitor: dedup pg-upmap[-items]

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoosd/OSDMap: fix potential divided-by-zero error
xie xingguo [Mon, 10 Jul 2017 10:38:19 +0000 (18:38 +0800)]
osd/OSDMap: fix potential divided-by-zero error

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agomon/OSDMonitor: allow user to permanently delete pool
xie xingguo [Mon, 10 Jul 2017 07:22:32 +0000 (15:22 +0800)]
mon/OSDMonitor: allow user to permanently delete pool

If mon_fake_pool_delete is enabled, "osd pool delete"
will unable to delete pool permanently, as we ask user
to pass in a "--yes-i-really-really-mean-it-no-faking"
string now.

The old "osd pool delete" command won't allow user to do this.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agomon/OSDMonitor: sanity check osd number before applying pg-temp
xie xingguo [Mon, 10 Jul 2017 03:41:51 +0000 (11:41 +0800)]
mon/OSDMonitor: sanity check osd number before applying pg-temp

In case user did something stupid and causing weird results.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agodoc: fix link for ceph-mgr cephx authorization 16246/head
Greg Farnum [Mon, 10 Jul 2017 17:56:53 +0000 (10:56 -0700)]
doc: fix link for ceph-mgr cephx authorization

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agozlib: remove g_ceph_context/g_conf from compressor plugin 16245/head
Casey Bodley [Mon, 10 Jul 2017 17:20:08 +0000 (13:20 -0400)]
zlib: remove g_ceph_context/g_conf from compressor plugin

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16177 from Synesis-LLC/fix_rgw_crash_ec_data_pool
Yehuda Sadeh [Mon, 10 Jul 2017 16:53:18 +0000 (09:53 -0700)]
Merge pull request #16177 from Synesis-LLC/fix_rgw_crash_ec_data_pool

rgw: fix not initialized vars which cause rgw crash with ec data pool

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #15467 from joke-lee/fix-aws-v2-signature-X-Amz-Date-priority
Yuri Weinstein [Mon, 10 Jul 2017 16:39:37 +0000 (09:39 -0700)]
Merge pull request #15467 from joke-lee/fix-aws-v2-signature-X-Amz-Date-priority

rgw:fix s3 aws v2 signature priority between header['X-Amz-Date'] and header['Date']

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16033 from zhaochao/rgw-add-a-new-errcode-for-non-existed-user
Yuri Weinstein [Mon, 10 Jul 2017 16:34:44 +0000 (09:34 -0700)]
Merge pull request #16033 from zhaochao/rgw-add-a-new-errcode-for-non-existed-user

rgw: add a new error code for non-existed user.

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #16185 from smithfarm/wip-lease-stack-spawn
Yuri Weinstein [Mon, 10 Jul 2017 16:31:08 +0000 (09:31 -0700)]
Merge pull request #16185 from smithfarm/wip-lease-stack-spawn

rgw: lease_stack: use reset method instead of assignment

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #16204 from jimifm/wip-rgw_frontend
Yuri Weinstein [Mon, 10 Jul 2017 16:30:33 +0000 (09:30 -0700)]
Merge pull request #16204 from jimifm/wip-rgw_frontend

rgw/rgw_frontend.h: Return negative value for empty uid in RGWLoadGenFrontend::init()

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #16016 from liewegas/wip-osd-df
Sage Weil [Mon, 10 Jul 2017 15:39:43 +0000 (10:39 -0500)]
Merge pull request #16016 from liewegas/wip-osd-df

mon: include device class in tree view; hide shadow hierarchy

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/tasks/ceph.py: no osd id to 'osd create' command 16233/head
Sage Weil [Sun, 9 Jul 2017 19:03:21 +0000 (15:03 -0400)]
qa/tasks/ceph.py: no osd id to 'osd create' command

This isn't recognized by hammer, and we don't need it for jewel.

Fixes: http://tracker.ceph.com/issues/20548
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/start/quick-ceph-deploy: fix typos etc 16224/head
Sage Weil [Mon, 10 Jul 2017 14:04:24 +0000 (10:04 -0400)]
doc/start/quick-ceph-deploy: fix typos etc

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15858 from liewegas/wip-mgr-servicemap
John Spray [Mon, 10 Jul 2017 14:03:07 +0000 (15:03 +0100)]
Merge pull request #15858 from liewegas/wip-mgr-servicemap

mgr,librados: service map

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agodoc/start/intro: add parens to cephfs section
Sage Weil [Mon, 10 Jul 2017 13:57:42 +0000 (09:57 -0400)]
doc/start/intro: add parens to cephfs section

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/mgr/dashboard: update dashboard docs to reflect new defaults 16241/head
Sage Weil [Mon, 10 Jul 2017 13:48:50 +0000 (09:48 -0400)]
doc/mgr/dashboard: update dashboard docs to reflect new defaults

Also add not about load balancer.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/start/quick-deph-deploy: update quick deploy instructions
Sage Weil [Fri, 7 Jul 2017 21:23:24 +0000 (17:23 -0400)]
doc/start/quick-deph-deploy: update quick deploy instructions

- include mgr
- simplify
- remove references to old stuff as new

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/start/quick-ceph-deploy: drop redundant warning
Sage Weil [Fri, 7 Jul 2017 20:34:43 +0000 (16:34 -0400)]
doc/start/quick-ceph-deploy: drop redundant warning

This is part of preflight.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/start: simplify quick start install process
Sage Weil [Fri, 7 Jul 2017 20:31:52 +0000 (16:31 -0400)]
doc/start: simplify quick start install process

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/start: rename Installation (quick) -> Installation (ceph-deploy)
Sage Weil [Fri, 7 Jul 2017 20:26:34 +0000 (16:26 -0400)]
doc/start: rename Installation (quick) -> Installation (ceph-deploy)

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/start/os-recommendations: updates
Sage Weil [Fri, 7 Jul 2017 19:46:08 +0000 (15:46 -0400)]
doc/start/os-recommendations: updates

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodoc/start/intro: updates
Sage Weil [Fri, 7 Jul 2017 19:41:43 +0000 (15:41 -0400)]
doc/start/intro: updates

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest/mon/osd-crush-tree.rng: fix expected xml schema for osd tree 16016/head
Sage Weil [Mon, 10 Jul 2017 13:31:54 +0000 (09:31 -0400)]
test/mon/osd-crush-tree.rng: fix expected xml schema for osd tree

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agotest/cli/osdmaptool/tree.t: fix
Sage Weil [Mon, 10 Jul 2017 13:25:09 +0000 (09:25 -0400)]
test/cli/osdmaptool/tree.t: fix

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #16049 from fullerdj/wip-djf-key-timeout
Alfredo Deza [Mon, 10 Jul 2017 11:52:24 +0000 (07:52 -0400)]
Merge pull request #16049 from fullerdj/wip-djf-key-timeout

ceph-create-keys: add an argument to override default 10-minute timeout

Reviewed-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #16236 from shashalu/clean-up-RGWRemoteDataLog-unused-function
Jos Collin [Mon, 10 Jul 2017 11:23:24 +0000 (11:23 +0000)]
Merge pull request #16236 from shashalu/clean-up-RGWRemoteDataLog-unused-function

rgw: drop unused function RGWRemoteDataLog::get_shard_info()

Reviewed-by: Jos Collin <jcollin@redhat.com>
8 years agoBlueStore:Failure retry for opening file 16237/head
YankunLi [Mon, 10 Jul 2017 08:39:58 +0000 (16:39 +0800)]
BlueStore:Failure retry for opening file

Failure retry to open file

Signed-off-by: Yankun Li <lioveni99@gmail.com>