]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agotest: add test of ceph compact command 16045/head
liuchang0812 [Mon, 3 Jul 2017 08:31:31 +0000 (16:31 +0800)]
test: add test of ceph compact command

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoosd: new command compact via tell/daemon
liuchang0812 [Fri, 30 Jun 2017 12:56:04 +0000 (20:56 +0800)]
osd: new command compact via tell/daemon

user could manual compact OSD's omap as following:
1. ceph tell osd.id compact
2. ceph daemon osd.id compact
user's requests will be impacted during compaction.

Fixes: http://tracker.ceph.com/issues/19592
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoos: export compact interface in ObjectStore and ObjectMap
liuchang0812 [Fri, 30 Jun 2017 08:50:53 +0000 (16:50 +0800)]
os: export compact interface in ObjectStore and ObjectMap

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #16317 from tchaikov/wip-0-osd-is-not-an-error
Kefu Chai [Thu, 13 Jul 2017 13:59:40 +0000 (21:59 +0800)]
Merge pull request #16317 from tchaikov/wip-0-osd-is-not-an-error

qa/workunits/ceph-helpers: test wait_for_health_ok differently

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #16274 from smithfarm/wip-jewel-10-2-8
Kefu Chai [Thu, 13 Jul 2017 13:01:40 +0000 (21:01 +0800)]
Merge pull request #16274 from smithfarm/wip-jewel-10-2-8

doc: Jewel v10.2.8 release notes

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #16267 from liewegas/wip-restful-defaults
Boris Ranto [Thu, 13 Jul 2017 12:04:01 +0000 (14:04 +0200)]
Merge pull request #16267 from liewegas/wip-restful-defaults

mgr/restful: bind to :: and update docs

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
8 years agoMerge pull request #16311 from Songweibin/wip-update-info-affi
Kefu Chai [Thu, 13 Jul 2017 11:19:55 +0000 (19:19 +0800)]
Merge pull request #16311 from Songweibin/wip-update-info-affi

.mailmap, .organizationmap: Update Song Weibin information and affiliation

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #16303 from bstillwell/releases-doc-update-201707
Kefu Chai [Thu, 13 Jul 2017 11:14:30 +0000 (19:14 +0800)]
Merge pull request #16303 from bstillwell/releases-doc-update-201707

doc/releases: Update releases from Feb 2017 to July 2017

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: add v10.2.8 changelog 16274/head
Nathan Cutler [Thu, 13 Jul 2017 10:18:17 +0000 (12:18 +0200)]
doc: add v10.2.8 changelog

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoqa/workunits/ceph-helpers: test wait_for_health_ok differently 16317/head
Kefu Chai [Thu, 13 Jul 2017 09:43:39 +0000 (17:43 +0800)]
qa/workunits/ceph-helpers: test wait_for_health_ok differently

0 OSDs is not an error anymore in the new health checking implemented by
OSDMap::check_health(). this case was treated as an error before, see
OSDMonitor::get_health(). but an osdmap without any OSD is fine, i
think. but an osdmap with 3 OSDs, but all of them are down and out, this
is an error. and we do report this as an error. so, let's update the
test instead.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #16277 from smithfarm/wip-rn-script
Kefu Chai [Thu, 13 Jul 2017 08:48:52 +0000 (16:48 +0800)]
Merge pull request #16277 from smithfarm/wip-rn-script

tools: ceph-release-notes: handle an edge case

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agodoc: release notes: note MDS regression in 10.2.8
Nathan Cutler [Wed, 12 Jul 2017 07:05:12 +0000 (09:05 +0200)]
doc: release notes: note MDS regression in 10.2.8

See the discussion in https://github.com/ceph/ceph/pull/16192

Signed-off-by: Nathan Cutler <ncutler@suse.com>
8 years agoMerge pull request #16264 from dillaman/wip-20571
Mykola Golub [Thu, 13 Jul 2017 07:57:42 +0000 (10:57 +0300)]
Merge pull request #16264 from dillaman/wip-20571

rbd-mirror: ignore permission errors on rbd_mirroring object

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years ago.mailmap, .organizationmap: Update Song Weibin information and affiliation 16311/head
songweibin [Thu, 13 Jul 2017 03:42:17 +0000 (11:42 +0800)]
.mailmap, .organizationmap: Update Song Weibin information and affiliation

Signed-off-by: songweibin <song.weibin@zte.com.cn>
8 years agoUpdate releases from Feb 2017 to July 2017 16303/head
Bryan Stillwell [Wed, 12 Jul 2017 21:38:59 +0000 (15:38 -0600)]
Update releases from Feb 2017 to July 2017

Pull in the latest releases from the past 5 months and fix some of the
links so they jump to the correct sections in the release notes.

Signed-off-by: Bryan Stillwell <bstillwell@godaddy.com>
8 years agoMerge pull request #16301 from dmick/master
Sage Weil [Wed, 12 Jul 2017 19:55:56 +0000 (14:55 -0500)]
Merge pull request #16301 from dmick/master

mgr: increase debug level for ticks 0 -> 10

8 years agoMgr: increase debug level for ticks 0 -> 10 16301/head
Dan Mick [Wed, 12 Jul 2017 19:40:01 +0000 (15:40 -0400)]
Mgr: increase debug level for ticks 0 -> 10

Signed-off-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #16263 from liupan1111/wip-fix-fio
Sage Weil [Wed, 12 Jul 2017 18:21:18 +0000 (13:21 -0500)]
Merge pull request #16263 from liupan1111/wip-fix-fio

test/fio: remove experimental option for bluestore & rocksdb.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15643 from liewegas/wip-health
Sage Weil [Wed, 12 Jul 2017 17:10:47 +0000 (12:10 -0500)]
Merge pull request #15643 from liewegas/wip-health

mon: revamp health check/warning system

8 years agomon/PGMap: adjust scrub checks to avoid overflow for future stamps 15643/head
Sage Weil [Wed, 12 Jul 2017 13:17:55 +0000 (09:17 -0400)]
mon/PGMap: adjust scrub checks to avoid overflow for future stamps

Avoid an overflow (and false warning) when scrub stamps are in the future.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/cephtool/test.sh: adjust full tests to avoid races
Sage Weil [Wed, 12 Jul 2017 12:10:47 +0000 (08:10 -0400)]
qa/workunits/cephtool/test.sh: adjust full tests to avoid races

OSDs may report fullness in any order.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/ceph: wait for osds to come up before creating pool
Sage Weil [Tue, 11 Jul 2017 03:48:47 +0000 (23:48 -0400)]
qa/tasks/ceph: wait for osds to come up before creating pool

Avoid health warnings.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/ceph_test_case.py: update health check helpers
Sage Weil [Tue, 11 Jul 2017 03:39:31 +0000 (23:39 -0400)]
qa/tasks/ceph_test_case.py: update health check helpers

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/fs: whitelist health warnings
Sage Weil [Mon, 10 Jul 2017 16:40:01 +0000 (12:40 -0400)]
qa/suites/fs: whitelist health warnings

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rgw/thrash: whitelist
Sage Weil [Mon, 10 Jul 2017 16:39:50 +0000 (12:39 -0400)]
qa/suites/rgw/thrash: whitelist

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rbd: whitelist health messages
Sage Weil [Mon, 10 Jul 2017 16:25:23 +0000 (12:25 -0400)]
qa/suites/rbd: whitelist health messages

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa: whitelist health warnings
Sage Weil [Thu, 6 Jul 2017 21:58:16 +0000 (17:58 -0400)]
qa: whitelist health warnings

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/cephtool/test.sh: adjust for new health error codes
Sage Weil [Fri, 7 Jul 2017 03:24:52 +0000 (23:24 -0400)]
qa/workunits/cephtool/test.sh: adjust for new health error codes

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon/MgrMonitor: clear last_beacon after mon election
Sage Weil [Thu, 6 Jul 2017 21:53:34 +0000 (17:53 -0400)]
mon/MgrMonitor: clear last_beacon after mon election

The last_beacon map is local to an election interval; if there is a new
election completed we should reset it or else we may kill an apparently
laggy mgr that hasn't been able to get a beacon processed due to the mon
quorum changing, or had its beacon processed on a different leader.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomon: clean up `osd out` messages
John Spray [Tue, 4 Jul 2017 22:37:25 +0000 (18:37 -0400)]
mon: clean up `osd out` messages

Cleaner prose for the auto-out case, and add
a cluster log message for OSDs that go out
at the behest of the administrator.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoosd: don't log per-PG backfill messages at INFO level
John Spray [Tue, 4 Jul 2017 17:29:38 +0000 (13:29 -0400)]
osd: don't log per-PG backfill messages at INFO level

This behaviour led to way too many messages going to
the cluster log when an OSD is marked in.  Retain
the messages at debug level.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomon: simplify PG health checks
John Spray [Tue, 4 Jul 2017 13:52:59 +0000 (09:52 -0400)]
mon: simplify PG health checks

Instead of a distinct health check for each possible
PG state, group the states into categories for availability,
degraded, damage, and report on that.

That way, while a PG/pool is suffering from one of those
bad PG states, health conditions don't keep toggling on and
off as we transition from one unavailable state to another
unavailable state.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr/dashboard: update for new style health checks
John Spray [Mon, 26 Jun 2017 18:27:38 +0000 (14:27 -0400)]
mgr/dashboard: update for new style health checks

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomon: demote cluster map prints to DEBUG level
John Spray [Fri, 23 Jun 2017 10:39:56 +0000 (06:39 -0400)]
mon: demote cluster map prints to DEBUG level

The PaxosService subclasses should be writing out
informative log messages, and not relying on
a stream of map summary prints to communicate
changes.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomon: prettify health check log messages
John Spray [Fri, 23 Jun 2017 10:37:53 +0000 (06:37 -0400)]
mon: prettify health check log messages

Add a "Cluster is now healthy" to give clarity
after a series of "health check cleared" that
they were the last ones.

Convert certain health check messages into
well formed sentences.

Don't print severity in the log string (it's already
expressed in the severity of the log entry.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomgr: fix spurious PG health messages on mgr restart
John Spray [Thu, 22 Jun 2017 21:41:35 +0000 (17:41 -0400)]
mgr: fix spurious PG health messages on mgr restart

Previously, the mgr would send MMonMgrReport indicating
a very unhappy PGMap to the mon right after startup.

This is a change to hold off on sending that report until
all the OSDs have reported in, or until some time has passed.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomon: don't consider a starting mgr to be an error
John Spray [Thu, 22 Jun 2017 15:18:32 +0000 (11:18 -0400)]
mon: don't consider a starting mgr to be an error

The .available flag is there to tell MgrClients whether
to try and connect -- it isn't the right condition
for a health complaint.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomon: pass new style health to mgr
John Spray [Thu, 22 Jun 2017 00:14:19 +0000 (20:14 -0400)]
mon: pass new style health to mgr

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomon: prefix periodic health reminder with 'overall'
Sage Weil [Fri, 30 Jun 2017 16:28:27 +0000 (12:28 -0400)]
mon: prefix periodic health reminder with 'overall'

...so we can whitelist it.

Signed-off-by: Sage Weil <sage@redhat.com>
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 agotools: ceph-release-notes: handle an edge case 16277/head
Nathan Cutler [Wed, 12 Jul 2017 03:05:43 +0000 (05:05 +0200)]
tools: ceph-release-notes: handle an edge case

If the merge commit message consists of a single "Reviewed-by:" line, the
script fails at the line because len(lines) is zero.

    duplicates_pr_title = lines[0] == pr['title'].strip()

Signed-off-by: Nathan Cutler <ncutler@suse.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 agodoc: Jewel v10.2.8 release notes
Nathan Cutler [Tue, 11 Jul 2017 20:43:42 +0000 (22:43 +0200)]
doc: Jewel v10.2.8 release notes

Signed-off-by: Nathan Cutler <ncutler@suse.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 agodoc/mgr/restful: update 16267/head
Sage Weil [Tue, 11 Jul 2017 18:37:04 +0000 (14:37 -0400)]
doc/mgr/restful: update

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agopybind/mgr/restful: bind to :: by default
Sage Weil [Tue, 11 Jul 2017 18:36:57 +0000 (14:36 -0400)]
pybind/mgr/restful: bind to :: by default

Signed-off-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 agorbd-mirror: ignore permission errors on rbd_mirroring object 16264/head
Jason Dillaman [Tue, 11 Jul 2017 17:42:35 +0000 (13:42 -0400)]
rbd-mirror: ignore permission errors on rbd_mirroring object

Fixes: http://tracker.ceph.com/issues/20571
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
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>