]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoMerge pull request #19480 from smithfarm/wip-22407-luminous
Yuri Weinstein [Thu, 25 Jan 2018 19:00:27 +0000 (11:00 -0800)]
Merge pull request #19480 from smithfarm/wip-22407-luminous

luminous: cephfs: client: implement delegation support in userland cephfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
7 years agoMerge pull request #19775 from ukernel/luminous-19578
Yuri Weinstein [Thu, 25 Jan 2018 18:58:46 +0000 (10:58 -0800)]
Merge pull request #19775 from ukernel/luminous-19578

luminous: mds: track dirty dentries in separate list

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19827 from pdvian/wip-22587-luminous
Yuri Weinstein [Thu, 25 Jan 2018 18:58:18 +0000 (10:58 -0800)]
Merge pull request #19827 from pdvian/wip-22587-luminous

luminous: mds: reduce debugging level for balancer messages

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #20082 from smithfarm/wip-21525-luminous
Yuri Weinstein [Thu, 25 Jan 2018 18:57:05 +0000 (10:57 -0800)]
Merge pull request #20082 from smithfarm/wip-21525-luminous

luminous: cephfs: client: dual client segfault with racing ceph_shutdown

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20085 from pdvian/wip-22763-luminous
Yuri Weinstein [Thu, 25 Jan 2018 18:55:53 +0000 (10:55 -0800)]
Merge pull request #20085 from pdvian/wip-22763-luminous

luminous: cephfs-journal-tool: add "set pool_id" option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #20086 from pdvian/wip-22765-luminous
Yuri Weinstein [Thu, 25 Jan 2018 18:55:19 +0000 (10:55 -0800)]
Merge pull request #20086 from pdvian/wip-22765-luminous

luminous: client: avoid recursive lock in ll_get_vino

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18019 from ukernel/luminous-21091
Yuri Weinstein [Thu, 25 Jan 2018 17:11:10 +0000 (09:11 -0800)]
Merge pull request #18019 from ukernel/luminous-21091

luminous: mds: fix StrayManager::truncate()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19485 from dillaman/wip-21788-luminous
Jason Dillaman [Thu, 25 Jan 2018 17:03:54 +0000 (12:03 -0500)]
Merge pull request #19485 from dillaman/wip-21788-luminous

luminous: librbd: refresh image after applying new/removing old metadata

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #18834 from shinobu-x/wip-22073-luminous
Jason Dillaman [Thu, 25 Jan 2018 16:44:39 +0000 (11:44 -0500)]
Merge pull request #18834 from shinobu-x/wip-22073-luminous

luminous: [api] compare-and-write methods not properly advertised

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19058 from shinobu-x/wip-22190-luminous
Jason Dillaman [Thu, 25 Jan 2018 16:27:18 +0000 (11:27 -0500)]
Merge pull request #19058 from shinobu-x/wip-22190-luminous

luminous: class rbd.Image discard----OSError: [errno 2147483648] error discarding region

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19066 from pdvian/wip-22172-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:18:13 +0000 (08:18 -0800)]
Merge pull request #19066 from pdvian/wip-22172-luminous

luminous: [rbd-nbd] Fedora does not register resize events

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #19107 from pdvian/wip-22208-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:17:38 +0000 (08:17 -0800)]
Merge pull request #19107 from pdvian/wip-22208-luminous

luminous: rbd: disk usage on empty pool no longer returns an error message

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19305 from pdvian/wip-21700-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:17:01 +0000 (08:17 -0800)]
Merge pull request #19305 from pdvian/wip-21700-luminous

luminous: rbd-mirror: Allow a different data-pool to be used on the secondary cluster

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19447 from smithfarm/wip-21646-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:16:26 +0000 (08:16 -0800)]
Merge pull request #19447 from smithfarm/wip-21646-luminous

luminous: librbd: Image-meta should be dynamically refreshed

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19479 from smithfarm/wip-22376-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:15:50 +0000 (08:15 -0800)]
Merge pull request #19479 from smithfarm/wip-22376-luminous

luminous: rbd: Python RBD metadata_get does not work

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #19484 from dillaman/wip-21644-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:14:53 +0000 (08:14 -0800)]
Merge pull request #19484 from dillaman/wip-21644-luminous

luminous: rbd-mirror: sync image metadata when transfering remote image

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge pull request #19503 from shinobu-x/wip-22395-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:13:37 +0000 (08:13 -0800)]
Merge pull request #19503 from shinobu-x/wip-22395-luminous

luminous: librbd: cannot clone all image-metas if we have more than 64 key/value pairs

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19504 from shinobu-x/wip-22393-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:12:33 +0000 (08:12 -0800)]
Merge pull request #19504 from shinobu-x/wip-22393-luminous

luminous: librbd: cannot copy all image-metas if we have more than 64 key/value pairs

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19554 from shinobu-x/wip-22454-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:11:57 +0000 (08:11 -0800)]
Merge pull request #19554 from shinobu-x/wip-22454-luminous

 luminous: cluster resource agent ocf:ceph:rbd - wrong permissions

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19625 from shinobu-x/wip-22497-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:11:22 +0000 (08:11 -0800)]
Merge pull request #19625 from shinobu-x/wip-22497-luminous

 luminous: [rbd-mirror] new pools might not be detected

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19800 from smithfarm/wip-21641-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:10:37 +0000 (08:10 -0800)]
Merge pull request #19800 from smithfarm/wip-21641-luminous

luminous: rbd ls -l crashes with SIGABRT

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
7 years agoMerge pull request #19802 from smithfarm/wip-21690-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:09:49 +0000 (08:09 -0800)]
Merge pull request #19802 from smithfarm/wip-21690-luminous

luminous: tests: rbd_mirror_helpers.sh request_resync_image function saves image id to wrong variable

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19853 from pdvian/wip-22593-luminous
Yuri Weinstein [Thu, 25 Jan 2018 16:09:02 +0000 (08:09 -0800)]
Merge pull request #19853 from pdvian/wip-22593-luminous

luminous: rbd: librbd: filter out potential race with image rename

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18722 from shinobu-x/wip-luminous-21946
Yuri Weinstein [Wed, 24 Jan 2018 21:19:46 +0000 (13:19 -0800)]
Merge pull request #18722 from shinobu-x/wip-luminous-21946

luminous: mds: set PRIO_USEFUL on num_sessions counter

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #18730 from shinobu-x/wip-luminous-22030
Yuri Weinstein [Wed, 24 Jan 2018 21:18:41 +0000 (13:18 -0800)]
Merge pull request #18730 from shinobu-x/wip-luminous-22030

luminous: List of filesystems does not get refreshed after a filesystem deletion

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18754 from shinobu-x/wip-21636-luminous
Yuri Weinstein [Wed, 24 Jan 2018 21:18:04 +0000 (13:18 -0800)]
Merge pull request #18754 from shinobu-x/wip-21636-luminous

luminous: ceph-monstore-tool --readable mode doesn't understand FSMap, MgrMap

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20053 from dillaman/wip-22740-luminous
Abhishek L [Wed, 24 Jan 2018 16:07:06 +0000 (17:07 +0100)]
Merge pull request #20053 from dillaman/wip-22740-luminous

luminous: qa/suites/upgrade: disable broken kraken upgrade cls_rbd test

Reviewed-By: Yuri Weinstein <yuriw@redhat.com>
7 years agoMerge pull request #18564 from kmroz/wip-21688-luminous
Yuri Weinstein [Wed, 24 Jan 2018 15:05:13 +0000 (07:05 -0800)]
Merge pull request #18564 from kmroz/wip-21688-luminous

luminous: Possible deadlock in 'list_children' when refresh is required

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18698 from shinobu-x/wip-luminous-21808
Yuri Weinstein [Wed, 24 Jan 2018 15:04:38 +0000 (07:04 -0800)]
Merge pull request #18698 from shinobu-x/wip-luminous-21808

luminous: rbd: fix crash during map

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19038 from pdvian/wip-22183-luminous
Yuri Weinstein [Wed, 24 Jan 2018 15:03:43 +0000 (07:03 -0800)]
Merge pull request #19038 from pdvian/wip-22183-luminous

luminous: rgw: set sync_from_all as true when no value is seen

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19446 from smithfarm/wip-22404-luminous
Abhishek L [Wed, 24 Jan 2018 14:23:54 +0000 (15:23 +0100)]
Merge pull request #19446 from smithfarm/wip-22404-luminous

luminous: doc: crush_ruleset is invalid command in luminous

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #18747 from shinobu-x/wip-21794-luminous
Alfredo Deza [Wed, 24 Jan 2018 13:46:21 +0000 (08:46 -0500)]
Merge pull request #18747 from shinobu-x/wip-21794-luminous

luminous: backoff causes out of order op

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoMerge pull request #20087 from dzafman/wip-misc-luminous
Kefu Chai [Wed, 24 Jan 2018 03:23:49 +0000 (11:23 +0800)]
Merge pull request #20087 from dzafman/wip-misc-luminous

qa/standalone: Minor fixes for ceph_objectstore_tool.py test

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agotest: Fix ceph-objectstore-tool usage check 20087/head
David Zafman [Mon, 18 Sep 2017 21:07:09 +0000 (14:07 -0700)]
test: Fix ceph-objectstore-tool usage check

Caused by: c7b7a1f04f78fa62890c567d0ca53874c8d75eb7

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 0364ae104afc15effadfe968b5f60221704d933c)

7 years agotest: ceph_objectstore_tool.py bad --filestore option to vstart
David Zafman [Wed, 24 Jan 2018 02:16:32 +0000 (18:16 -0800)]
test: ceph_objectstore_tool.py bad --filestore option to vstart

Luminous doesn't have --filestore option

Caused by: fd7d53bacb10d5b2094f1f579c96899d8a0a4b4f

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agoclient: avoid recursive lock in ll_get_vino 20086/head
dongdong tao [Mon, 8 Jan 2018 08:00:31 +0000 (16:00 +0800)]
client: avoid recursive lock in ll_get_vino

Fixes: http://tracker.ceph.com/issues/22629
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
(cherry picked from commit fdfbe40c3f16c14dc9c3352f3eea66d34138ee9d)

7 years agocephfs-journal-tool: add usage help info for header set <field> 20085/head
dongdong tao [Tue, 9 Jan 2018 09:07:11 +0000 (17:07 +0800)]
cephfs-journal-tool: add usage help info for header set <field>

Signed-off-by: dongdong tao <tdd21151186@gmail.com>
(cherry picked from commit 2b06bff950a78b15aca083b20eaa812b4214e8d4)

7 years agomds: add error log info
dongdong tao [Tue, 9 Jan 2018 08:54:40 +0000 (16:54 +0800)]
mds: add error log info

Signed-off-by: dongdong tao <tdd21151186@gmail.com>
(cherry picked from commit a7c2ecd6391d22c5312a9e568ff742cff252749e)

7 years agocephfs-journal-tool: add "set pool_id" option
dongdong tao [Tue, 9 Jan 2018 08:31:07 +0000 (16:31 +0800)]
cephfs-journal-tool: add "set pool_id" option

Fixes: http://tracker.ceph.com/issues/22631
Signed-off-by: dongdong tao <tdd21151186@gmail.com>
(cherry picked from commit b3a5e313117028b23133f3e0d72e0b6b7159a178)

7 years agoMerge pull request #18742 from shinobu-x/wip-21924-luminous
Yuri Weinstein [Tue, 23 Jan 2018 23:10:49 +0000 (15:10 -0800)]
Merge pull request #18742 from shinobu-x/wip-21924-luminous

luminous: ceph_test_objectstore fails ObjectStore/StoreTest.Synthetic/1 (filestore) buffer content mismatch

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #18744 from shinobu-x/wip-21922-luminous
Yuri Weinstein [Tue, 23 Jan 2018 23:10:19 +0000 (15:10 -0800)]
Merge pull request #18744 from shinobu-x/wip-21922-luminous

luminous: Objecter::C_ObjectOperation_sparse_read throws/catches exceptions on -ENOENT

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #18745 from shinobu-x/wip-21921-luminous
Yuri Weinstein [Tue, 23 Jan 2018 23:09:41 +0000 (15:09 -0800)]
Merge pull request #18745 from shinobu-x/wip-21921-luminous

luminous: Objecter::_send_op unnecessarily constructs costly hobject_t

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agotest: make the LibCephFS.ShutdownRacer test even more thrashy 20082/head
Jeff Layton [Wed, 11 Oct 2017 15:16:39 +0000 (11:16 -0400)]
test: make the LibCephFS.ShutdownRacer test even more thrashy

Have each thread do the startup and shutdown in a loop for a specified
number of times.

Tracker: http://tracker.ceph.com/issues/21512
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit f877e365a42f8f34af6fc3382593ef09101a50d0)

7 years agolockdep: free_ids and lock_ref hashes must be truly global
Jeff Layton [Wed, 11 Oct 2017 15:16:38 +0000 (11:16 -0400)]
lockdep: free_ids and lock_ref hashes must be truly global

It's possible for the teardown of g_lockdep_ceph_ctx to occur, followed
by a new context being registered as the lockdep context. When that
occurs, we can end up reusing lock id's that were previously handed out
to consumers. We need for those IDs to be persistent across lockdep
enablement and disablement.

Make both the free_ids table, and the lock_refs map persistent across
lockdep_unregister_ceph_context and lockdep_register_ceph_context cycles.
Entries in those tables will only be deleted by the destruction of the
associated mutex.

When lockdep_unregister is called, do the refcounting like we normally
would, but only clear out the state when the lockid is registered
in the lock_names hash.

Finally, we do still need to handle the case where g_lockdep has gone
false even when there are outstanding references after the decrement.
Only log the message if that's not the case.

With this, we can deal with the case of multiple clients enabling and
disabling lockdep in an unsynchronized way.

Tracker: http://tracker.ceph.com/issues/21512
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 82fe4e94bcb706434f9215bc8405ff60770cf14f)

7 years agocommon: add a clear_g_str_vec() function to clear g_str_vec
Jeff Layton [Wed, 11 Oct 2017 15:16:38 +0000 (11:16 -0400)]
common: add a clear_g_str_vec() function to clear g_str_vec

Prefix str_vec and str_vec_lock with "g_" to make it clear that they are
truly global values. Add a new clear_g_str_vec function to allow it to
be explicitly cleaned out by callers that need that functionality
(mostly testcase for now).

Tracker: http://tracker.ceph.com/issues/21512
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit f72ace0a5666db49bb390ff4ec6808e6e55a779f)

7 years agoMerge pull request #18746 from shinobu-x/wip-21916-luminous
Yuri Weinstein [Tue, 23 Jan 2018 23:08:59 +0000 (15:08 -0800)]
Merge pull request #18746 from shinobu-x/wip-21916-luminous

luminous: msg/async/AsyncConnection.cc: 1835: FAILED assert(state == STATE_CLOSED)

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agocommon: make it safe to call env_to_vec multiple times
Jeff Layton [Wed, 11 Oct 2017 15:16:38 +0000 (11:16 -0400)]
common: make it safe to call env_to_vec multiple times

After it has been called once and we have outstanding CephContexts with
pointers into str_vec, we can't call get_str_vec on it again.

Add a static local mutex to protect access to str_vec.

Tracker: http://tracker.ceph.com/issues/21512
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 90e898de5f4b8d22f1a6d0e2aedf9e8c50cf72d5)

7 years agolockdep: fix Mutex tests to disable lockdep properly
Jeff Layton [Thu, 14 Sep 2017 13:28:34 +0000 (09:28 -0400)]
lockdep: fix Mutex tests to disable lockdep properly

...and make g_lockdep a bool.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 0cd0bd778a6149d3e2fe657060e223be3675aed7)

7 years agoclient: test shutdown race
Jeff Layton [Thu, 14 Sep 2017 13:28:33 +0000 (09:28 -0400)]
client: test shutdown race

Spawn threads that bring up a bunch of ceph_mounts with individual
CephContext objects, and then tear them down in parallel.

Tracker: http://tracker.ceph.com/issues/20988
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 8252f3168a1bc90add7f7515c549e9eecffa54b7)

7 years agoclient: fix signed/unsigned comparison compiler warning
Jeff Layton [Thu, 14 Sep 2017 16:22:52 +0000 (12:22 -0400)]
client: fix signed/unsigned comparison compiler warning

The build says:

src/client/Client.cc: In member function ‘void Client::trim_caps(MetaSession*, int)’:
src/client/Client.cc:4121:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (s->caps.size() > max)
       ~~~~~~~~~~~~~~~^~~~~

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit e057b6770b5545f327990cbaf17e7a391e3e8a50)

7 years agolockdep: fix races with concurrent lockdep teardown
Jeff Layton [Thu, 14 Sep 2017 13:28:34 +0000 (09:28 -0400)]
lockdep: fix races with concurrent lockdep teardown

If the cct is unregistered while other threads are flogging mutexes,
then we can hit all sorts of bugs. Ensure that we handle that
situation sanely, by checking that g_lockdep is still set after
we take the lockdep_mutex.

Also, remove an assertion from lockdep_unregister, and just turn it into
an immediate return. It's possible to have a call to
lockdep_unregister_ceph_context, and then a call to
lockdep_register_ceph_context while a mutex is being held by another
task.

In that case, it's possible the lock does not exist in the map
when we go to unregister it. That's not a bug though, just a natural
consequence of that series of actions.

Tracker: http://tracker.ceph.com/issues/20988
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 75f41a95782a7ee83a243d91963e8d591402f8a6)

7 years agolockdep: don't take lockdep_mutex twice for new lock registrations
Jeff Layton [Thu, 14 Sep 2017 13:28:34 +0000 (09:28 -0400)]
lockdep: don't take lockdep_mutex twice for new lock registrations

We can do it under the same mutex, which should be more efficient.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 01863bb6fb62ea89aa3e21e43bf4dc4f3da9cfcb)

7 years agoMerge pull request #18749 from shinobu-x/wip-21785-luminous
Yuri Weinstein [Tue, 23 Jan 2018 23:07:07 +0000 (15:07 -0800)]
Merge pull request #18749 from shinobu-x/wip-21785-luminous

luminous: OSDMap cache assert on shutdown

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #18753 from shinobu-x/wip-21697-luminous
Yuri Weinstein [Tue, 23 Jan 2018 23:06:19 +0000 (15:06 -0800)]
Merge pull request #18753 from shinobu-x/wip-21697-luminous

luminous: OSDService::recovery_need_sleep read+updated without locking

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #18715 from shinobu-x/wip-luminous-21964
Yuri Weinstein [Tue, 23 Jan 2018 22:52:13 +0000 (14:52 -0800)]
Merge pull request #18715 from shinobu-x/wip-luminous-21964

luminous: ceph_test_cls_log failures related to cls_cxx_subop_version()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18732 from shinobu-x/wip-luminous-21875
Yuri Weinstein [Tue, 23 Jan 2018 22:51:37 +0000 (14:51 -0800)]
Merge pull request #18732 from shinobu-x/wip-luminous-21875

luminous: ceph-mgr spuriously reloading OSD metadata on map changes

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #18735 from shinobu-x/wip-22029-luminous
Yuri Weinstein [Tue, 23 Jan 2018 22:50:34 +0000 (14:50 -0800)]
Merge pull request #18735 from shinobu-x/wip-22029-luminous

luminous: restarting active ceph-mgr cause glitches in bps and iops metrics

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/upgrade: disable broken kraken upgrade cls_rbd test 20053/head
Jason Dillaman [Mon, 22 Jan 2018 15:34:57 +0000 (10:34 -0500)]
qa/suites/upgrade: disable broken kraken upgrade cls_rbd test

Fixes: https://tracker.ceph.com/issues/22740
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #19257 from ifed01/wip-ifed-rocksdb-fix
Sage Weil [Mon, 22 Jan 2018 15:02:32 +0000 (09:02 -0600)]
Merge pull request #19257 from ifed01/wip-ifed-rocksdb-fix

luminous: rocksdb: fixes early metadata spill over to slow device in

7 years agoMerge pull request #19071 from smithfarm/wip-22181-luminous
Sage Weil [Fri, 19 Jan 2018 21:10:19 +0000 (15:10 -0600)]
Merge pull request #19071 from smithfarm/wip-22181-luminous

luminous: rgw segfaults after running radosgw-admin data sync init

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoMerge pull request #19077 from smithfarm/wip-22171-luminous
Sage Weil [Fri, 19 Jan 2018 21:09:45 +0000 (15:09 -0600)]
Merge pull request #19077 from smithfarm/wip-22171-luminous

luminous: rgw: log keystone errors at a higher level

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19810 from adamemerson/wip-luminous-21901
Casey Bodley [Fri, 19 Jan 2018 21:08:03 +0000 (16:08 -0500)]
Merge pull request #19810 from adamemerson/wip-luminous-21901

luminous: rgw: bucket policy evaluation logical error

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19847 from adamemerson/wip-22541-luminous
Casey Bodley [Fri, 19 Jan 2018 21:06:08 +0000 (16:06 -0500)]
Merge pull request #19847 from adamemerson/wip-22541-luminous

luminous: rgw: put bucket policy panics RGW process

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19785 from linuxbox2/luminous-22410
Yuri Weinstein [Fri, 19 Jan 2018 21:03:58 +0000 (13:03 -0800)]
Merge pull request #19785 from linuxbox2/luminous-22410

luminous: rgw: fix chained cache invalidation to prevent cache size growth

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #19788 from adamemerson/wip-luminous-cache
Yuri Weinstein [Fri, 19 Jan 2018 21:02:34 +0000 (13:02 -0800)]
Merge pull request #19788 from adamemerson/wip-luminous-cache

luminous: rgw: Random 500 errors in Swift PutObject (needs cache fixes)

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoMerge pull request #19053 from shinobu-x/wip-22187-luminous
Casey Bodley [Fri, 19 Jan 2018 21:01:40 +0000 (16:01 -0500)]
Merge pull request #19053 from shinobu-x/wip-22187-luminous

luminous: rgw: add cors header rule check in cors option request

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19819 from adamemerson/wip-backport-22601
Yuri Weinstein [Fri, 19 Jan 2018 21:01:10 +0000 (13:01 -0800)]
Merge pull request #19819 from adamemerson/wip-backport-22601

luminous: rgw: S3 API Policy Conditions IpAddress and NotIpAddress do not work

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #19050 from shinobu-x/wip-22184-luminous
Casey Bodley [Fri, 19 Jan 2018 21:00:56 +0000 (16:00 -0500)]
Merge pull request #19050 from shinobu-x/wip-22184-luminous

luminous: Dynamic bucket indexing, resharding and tenants seems to be broken

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19085 from shinobu-x/wip-22215-luminous
Casey Bodley [Fri, 19 Jan 2018 21:00:38 +0000 (16:00 -0500)]
Merge pull request #19085 from shinobu-x/wip-22215-luminous

luminous: rgw: bucket index object not deleted after radosgw-admin bucket rm --purge-objects --bypass-gc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18870 from shinobu-x/wip-21949-luminous
Casey Bodley [Fri, 19 Jan 2018 20:54:24 +0000 (15:54 -0500)]
Merge pull request #18870 from shinobu-x/wip-21949-luminous

luminous: rgw: null instance mtime incorrect when enable versioning

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18764 from smithfarm/wip-22017-luminous
Casey Bodley [Fri, 19 Jan 2018 20:54:05 +0000 (15:54 -0500)]
Merge pull request #18764 from smithfarm/wip-22017-luminous

luminous: rgw: Segmentation fault when starting radosgw after reverting .rgw.root

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18765 from smithfarm/wip-22024-luminous
Casey Bodley [Fri, 19 Jan 2018 20:53:53 +0000 (15:53 -0500)]
Merge pull request #18765 from smithfarm/wip-22024-luminous

luminous: RGWCrashError: RGW will crash if a putting lc config request does not include an ID tag in the request xml

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18766 from smithfarm/wip-22021-luminous
Casey Bodley [Fri, 19 Jan 2018 20:53:40 +0000 (15:53 -0500)]
Merge pull request #18766 from smithfarm/wip-22021-luminous

luminous: rgw: modify s3 type subuser access permission fail

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18867 from shinobu-x/wip-22027-luminous
Casey Bodley [Fri, 19 Jan 2018 20:53:28 +0000 (15:53 -0500)]
Merge pull request #18867 from shinobu-x/wip-22027-luminous

luminous: multisite: destination zone does not compress synced objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #18868 from shinobu-x/wip-22026-luminous
Yuri Weinstein [Fri, 19 Jan 2018 20:48:23 +0000 (12:48 -0800)]
Merge pull request #18868 from shinobu-x/wip-22026-luminous

luminous: Policy parser may or may not dereference uninitialized boost::optional sometimes

Reviewed-by: Adam Emerson <aemerson@redhat.com>
7 years agoMerge pull request #19538 from shinobu-x/wip-22434-luminous
Casey Bodley [Fri, 19 Jan 2018 20:46:58 +0000 (15:46 -0500)]
Merge pull request #19538 from shinobu-x/wip-22434-luminous

luminous: rgw: user stats increased after bucket reshard

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19489 from dplyakin/luminous-get-website-error-code
Casey Bodley [Fri, 19 Jan 2018 20:46:21 +0000 (15:46 -0500)]
Merge pull request #19489 from dplyakin/luminous-get-website-error-code

luminous: rgw: fix GET website response error code

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19090 from pdvian/wip-22179-luminous
Yuri Weinstein [Fri, 19 Jan 2018 20:44:55 +0000 (12:44 -0800)]
Merge pull request #19090 from pdvian/wip-22179-luminous

luminous: rgw: Fix swift object expiry not deleting objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #19434 from cbodley/wip-luminous-pr-16807
Yuri Weinstein [Fri, 19 Jan 2018 20:43:07 +0000 (12:43 -0800)]
Merge pull request #19434 from cbodley/wip-luminous-pr-16807

luminous: rgw: revert PR #16807

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoMerge pull request #19502 from shinobu-x/wip-22397-luminous
Yuri Weinstein [Fri, 19 Jan 2018 20:41:22 +0000 (12:41 -0800)]
Merge pull request #19502 from shinobu-x/wip-22397-luminous

luminous: rgw: radosgw-admin reshard command argument error.

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #19506 from shinobu-x/wip-22388-luminous
Yuri Weinstein [Fri, 19 Jan 2018 20:40:45 +0000 (12:40 -0800)]
Merge pull request #19506 from shinobu-x/wip-22388-luminous

luminous: rgw: 501 is returned When init multipart is using V4 signature and chunk encoding

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com
7 years agoMerge pull request #19929 from zmc/wip-luminous-prom-pg_deep
John Spray [Thu, 18 Jan 2018 10:02:00 +0000 (10:02 +0000)]
Merge pull request #19929 from zmc/wip-luminous-prom-pg_deep

luminous: mgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr pro…

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19943 from dillaman/wip-22676-luminous
Jason Dillaman [Thu, 18 Jan 2018 01:13:36 +0000 (20:13 -0500)]
Merge pull request #19943 from dillaman/wip-22676-luminous

luminous: cls/rbd: remove incompatible group features from partial implementation

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoqa/suites: filter out cls_rbd tests against unsupported methods 19943/head
Jason Dillaman [Wed, 17 Jan 2018 22:21:47 +0000 (17:21 -0500)]
qa/suites: filter out cls_rbd tests against unsupported methods

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18865 from shinobu-x/wip-21631-luminous
Abhishek L [Wed, 17 Jan 2018 22:12:37 +0000 (23:12 +0100)]
Merge pull request #18865 from shinobu-x/wip-21631-luminous

luminous: doc: remove region from "INSTALL CEPH OBJECT GATEWAY"

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
7 years agocls/rbd: remove incompatible group features from partial implementation
Jason Dillaman [Sat, 13 Jan 2018 21:15:48 +0000 (16:15 -0500)]
cls/rbd: remove incompatible group features from partial implementation

Fixes: https://tracker.ceph.com/issues/22676
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agomgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr prometheus plugin 19929/head
Peter Woodman [Sun, 12 Nov 2017 00:32:37 +0000 (16:32 -0800)]
mgr/prometheus: add missing 'deep' state to PG_STATES in ceph-mgr prometheus plugin

without this the endpoint throws 500s when any PG is doing a deep scrub.

Signed-off-by: Peter Woodman <peter@shortbus.org>
Fixes: http://tracker.ceph.com/issues/22116
(cherry picked from commit 8c93c0eeaff406af0878916ef5b9ce958896d586)

7 years agopybind/mgr/prometheus: don't crash when encountering an unknown PG state
Jan Fajerski [Mon, 13 Nov 2017 13:42:56 +0000 (14:42 +0100)]
pybind/mgr/prometheus: don't crash when encountering an unknown PG state

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 67a1b66b06bf74274c2cf1d4b5c900f2c56a990d)

7 years agoMerge pull request #19925 from jcsp/wip-dashboard-trim-luminous2 19955/head
John Spray [Mon, 15 Jan 2018 14:42:55 +0000 (14:42 +0000)]
Merge pull request #19925 from jcsp/wip-dashboard-trim-luminous2

luminous: mgr: remove unused static files from dashboard module

Reviewed-by: Sebastien Han <shan@redhat.com>
7 years agomgr/dashboard: remove unneeded bits of AdminLTE 19925/head
John Spray [Wed, 2 Aug 2017 14:11:07 +0000 (15:11 +0100)]
mgr/dashboard: remove unneeded bits of AdminLTE

AdminLTE is delivered in a handy all-in format,
but we don't need all this stuff at runtime.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 38df5150ee026c6dc9ec763f757713c7e4d99cdb)

7 years agomgr/dashboard: remove non-minified bootstrap
John Spray [Wed, 2 Aug 2017 14:15:04 +0000 (15:15 +0100)]
mgr/dashboard: remove non-minified bootstrap

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 5ce51ebbf047e373eac624e49e2d2bcfb46f09ff)

7 years agomgr/dashboard: remove un-minified datatables source
John Spray [Wed, 2 Aug 2017 14:54:17 +0000 (15:54 +0100)]
mgr/dashboard: remove un-minified datatables source

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 888f0f934e59fe28fdd97bca044702ce445bfe2e)

7 years agomgr/dashboard: don't include remote js/css
John Spray [Mon, 18 Sep 2017 10:10:31 +0000 (06:10 -0400)]
mgr/dashboard: don't include remote js/css

This will help anyone running away from the internet.

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 199d7ff26959961f200b86062f6290c9c17cba9a)

7 years agomgr/dashboard: re-arrange static files
John Spray [Mon, 18 Sep 2017 10:13:45 +0000 (06:13 -0400)]
mgr/dashboard: re-arrange static files

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 85a87da7aa46266abd8d4c42218bcbccce386316)

7 years agoMerge pull request #19880 from jcsp/wip-doc-dashboard-standby-luminous
Kefu Chai [Thu, 11 Jan 2018 06:31:26 +0000 (14:31 +0800)]
Merge pull request #19880 from jcsp/wip-doc-dashboard-standby-luminous

doc: update mgr/dashboard doc about standbys

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agodoc: update mgr/dashboard doc about standbys 19880/head
John Spray [Tue, 9 Jan 2018 22:23:33 +0000 (22:23 +0000)]
doc: update mgr/dashboard doc about standbys

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit fa14812cbb584b61cb2ce687ae4c14225eecd9fe)

7 years agoMerge pull request #19844 from jcsp/wip-22615
John Spray [Tue, 9 Jan 2018 11:13:04 +0000 (11:13 +0000)]
Merge pull request #19844 from jcsp/wip-22615

luminous: mgr/dashboard: Fix PG status coloring

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19858 from joscollin/wip-luminous-doc-misc-fixes
Jos Collin [Tue, 9 Jan 2018 09:16:58 +0000 (09:16 +0000)]
Merge pull request #19858 from joscollin/wip-luminous-doc-misc-fixes

luminous: doc: misc fixes for CephFS best practices

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agodoc: misc fixes 19858/head
Jos Collin [Fri, 5 Jan 2018 06:21:00 +0000 (11:51 +0530)]
doc: misc fixes

misc fixes for best-practices.

Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit ecacd1078db5020e6d65436f9d56cc9ed0016666)

7 years agodoc: fix heading
Jos Collin [Fri, 5 Jan 2018 05:54:23 +0000 (11:24 +0530)]
doc: fix heading

Fixed 'Which kernel version?' heading not having brown color background.

Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit a068fd842f431a54f9db2d437a71cdc11907a8e1)