]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoqa/workunits/rbd/cli_generic: update unit formatting
Sage Weil [Thu, 17 May 2018 16:13:31 +0000 (11:13 -0500)]
qa/workunits/rbd/cli_generic: update unit formatting

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agotest/cli-integration/rbd: update unit formatting
Sage Weil [Thu, 17 May 2018 16:12:44 +0000 (11:12 -0500)]
test/cli-integration/rbd: update unit formatting

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoinclude/types: space between number and units
Sage Weil [Thu, 17 May 2018 15:04:18 +0000 (10:04 -0500)]
include/types: space between number and units

not

    client:   504B/s rd, 10.6MiB/s wr, 0op/s rd, 30op/s wr

but

    client:   504 B/s rd, 10.6 MiB/s wr, 0 op/s rd, 30 op/s wr

This was changed as part of d3cecebacdcebcf475808a6204de22dfa94d729d.

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22061 from tspmelo/wip-npmrc
Lenz Grimmer [Thu, 17 May 2018 15:44:59 +0000 (17:44 +0200)]
Merge pull request #22061 from tspmelo/wip-npmrc

mgr/dashboard: Disable package-lock.json creation

Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #22058 from ricardoasmarques/wip-ng-serve-remote-access
Lenz Grimmer [Thu, 17 May 2018 14:50:23 +0000 (16:50 +0200)]
Merge pull request #22058 from ricardoasmarques/wip-ng-serve-remote-access

mgr/dashboard: ng serve bind to 0.0.0.0

Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Disable package-lock.json creation 22061/head
Tiago Melo [Thu, 17 May 2018 13:33:27 +0000 (14:33 +0100)]
mgr/dashboard: Disable package-lock.json creation

Since we are not keeping track of this file, it is better to not generate it.
Otherwise we might face some package version conflicts,
which break the dashboard build.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #22057 from tchaikov/qa-valgrind-without-random-distro 21865/head
Sage Weil [Thu, 17 May 2018 12:00:08 +0000 (07:00 -0500)]
Merge pull request #22057 from tchaikov/qa-valgrind-without-random-distro

qa/suites/rados/verify: remove random-distro$

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoqa/suites/rados/verify: remove random-distro$ 22057/head
Kefu Chai [Thu, 17 May 2018 11:08:16 +0000 (19:08 +0800)]
qa/suites/rados/verify: remove random-distro$

the distro specified by random-distro$ will be overwrited by the one
specfied by valgrind.yaml. and teuthology-suite will give

KeyError: '16.04 not a centos version or codename'

when scheduling a suite involving the facets above. also, i think it's
of not much value to run valgrind/lockdep with different distros.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agomgr/dashboard: ng serve bind to 0.0.0.0 22058/head
Ricardo Marques [Thu, 17 May 2018 10:07:52 +0000 (11:07 +0100)]
mgr/dashboard: ng serve bind to 0.0.0.0

This will allow access to ng serve from remote machines

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #21981 from tspmelo/fix-momentjs
Lenz Grimmer [Thu, 17 May 2018 09:11:33 +0000 (11:11 +0200)]
Merge pull request #21981 from tspmelo/fix-momentjs

mgr/dashboard: Fix moment.js deprecation warning

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22046 from tchaikov/wip-23653
Kefu Chai [Thu, 17 May 2018 06:03:47 +0000 (14:03 +0800)]
Merge pull request #22046 from tchaikov/wip-23653

cmake: do not check for aligned_alloc() anymore

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agocmake: do not check for aligned_alloc() anymore 22046/head
Kefu Chai [Thu, 17 May 2018 02:30:33 +0000 (10:30 +0800)]
cmake: do not check for aligned_alloc() anymore

this reverts 16f0a67d

Fixes: http://tracker.ceph.com/issues/23653
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22028 from tchaikov/wip-wheelhouse
Dan Mick [Wed, 16 May 2018 21:32:36 +0000 (14:32 -0700)]
Merge pull request #22028 from tchaikov/wip-wheelhouse

install-deps: nuke wheelhouse if it's stale

7 years agoMerge pull request #21751 from shangfufei/wip-async-needless-code
Sage Weil [Wed, 16 May 2018 21:07:17 +0000 (16:07 -0500)]
Merge pull request #21751 from shangfufei/wip-async-needless-code

msg/async: the ceph_abort is needless in handle_connect_msg

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21854 from ifed01/wip-ifed-bluestore-alloc-cleanup
Sage Weil [Wed, 16 May 2018 21:06:49 +0000 (16:06 -0500)]
Merge pull request #21854 from ifed01/wip-ifed-bluestore-alloc-cleanup

os/bluestore: allocator pruning

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21926 from dragonylffly/wip-fix-throttle-configurations
Sage Weil [Wed, 16 May 2018 21:06:19 +0000 (16:06 -0500)]
Merge pull request #21926 from dragonylffly/wip-fix-throttle-configurations

os/filestore: fix throttle configurations

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21937 from yanghonggang/balancer-list
Sage Weil [Wed, 16 May 2018 21:05:49 +0000 (16:05 -0500)]
Merge pull request #21937 from yanghonggang/balancer-list

mgr/balancer: add cmd to list all plans

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #21957 from tchaikov/wip-test-rados-bench
Sage Weil [Wed, 16 May 2018 21:05:18 +0000 (16:05 -0500)]
Merge pull request #21957 from tchaikov/wip-test-rados-bench

test/pybind/test_rados.py: collect output in stdout for "bench" cmd

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #21984 from liewegas/wip-24118
Sage Weil [Wed, 16 May 2018 21:04:34 +0000 (16:04 -0500)]
Merge pull request #21984 from liewegas/wip-24118

mon/MonClient: set configs via finisher

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #21892 from dzafman/wip-24045
Sage Weil [Wed, 16 May 2018 20:27:53 +0000 (15:27 -0500)]
Merge pull request #21892 from dzafman/wip-24045

osd: Don't evict even when preemption has restarted with smaller chunk

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22027 from trociny/wip-24141
Jason Dillaman [Wed, 16 May 2018 18:04:20 +0000 (14:04 -0400)]
Merge pull request #22027 from trociny/wip-24141

rbd-mirror: potential deadlock when running asok 'flush' command

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #21624 from trociny/wip-22787
Jason Dillaman [Wed, 16 May 2018 18:04:00 +0000 (14:04 -0400)]
Merge pull request #21624 from trociny/wip-22787

librbd: deep copy optionally support flattening cloned image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoosd: Clear part of cleaned_meta_map in case of a restarted smaller chunk 21892/head
David Zafman [Wed, 16 May 2018 00:32:50 +0000 (17:32 -0700)]
osd: Clear part of cleaned_meta_map in case of a restarted smaller chunk

This can not happen at the primary because scrub_compare_maps() is only
called once per chunk start.

Preemption causes a smaller chunk from start to be processed again at
replicas.  We clear any of the previous chunk's information.

Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agomgr/dashboard: Fix moment.js deprecation warning 21981/head
Tiago Melo [Mon, 14 May 2018 15:24:58 +0000 (16:24 +0100)]
mgr/dashboard: Fix moment.js deprecation warning

Fixes: https://tracker.ceph.com/issues/24115
Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #22003 from votdev/fix_deletion_dialog
Lenz Grimmer [Wed, 16 May 2018 13:44:05 +0000 (15:44 +0200)]
Merge pull request #22003 from votdev/fix_deletion_dialog

mgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel'

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21928 from ricardoasmarques/wip-remove-useless-unsubscribe
Lenz Grimmer [Wed, 16 May 2018 13:25:21 +0000 (15:25 +0200)]
Merge pull request #21928 from ricardoasmarques/wip-remove-useless-unsubscribe

mgr/dashboard: Remove useless observable unsubscriptions

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agorbd: deep copy option to copy clone parent data 21624/head
Mykola Golub [Wed, 25 Apr 2018 21:02:57 +0000 (00:02 +0300)]
rbd: deep copy option to copy clone parent data

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: deep copy optionally support flattening cloned image
Mykola Golub [Thu, 26 Apr 2018 08:30:03 +0000 (11:30 +0300)]
librbd: deep copy optionally support flattening cloned image

Fixes: http://tracker.ceph.com/issues/22787
Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd/deep_copy: adjust in-memory overlap if set_size updated it on disk
Mykola Golub [Thu, 10 May 2018 18:25:17 +0000 (21:25 +0300)]
librbd/deep_copy: adjust in-memory overlap if set_size updated it on disk

so set_parent won't be called when overlap is changed due to image
size change.

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: hide parent object when deep copying empty child
Mykola Golub [Tue, 8 May 2018 13:52:50 +0000 (16:52 +0300)]
librbd: hide parent object when deep copying empty child

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agolibrbd: fix deep copy clone to destination with larger object size
Mykola Golub [Tue, 8 May 2018 12:29:38 +0000 (15:29 +0300)]
librbd: fix deep copy clone to destination with larger object size

When assembling a destination object from source objects we need to
read from parent if some (but not all) of assembles do not exist.

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agotest/librbd: add deep copy clone tests
Mykola Golub [Tue, 8 May 2018 12:27:25 +0000 (15:27 +0300)]
test/librbd: add deep copy clone tests

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #22002 from votdev/fix_deletion
Lenz Grimmer [Wed, 16 May 2018 12:23:32 +0000 (14:23 +0200)]
Merge pull request #22002 from votdev/fix_deletion

mgr/dashboard: Handle errors during deletion

Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #22006 from liewegas/wip-mimic
Sage Weil [Wed, 16 May 2018 12:09:52 +0000 (07:09 -0500)]
Merge pull request #22006 from liewegas/wip-mimic

doc/releases/schedule: add mimic column

7 years agodoc/releases/mimic: edit/clean up upgrade notes 22006/head
Sage Weil [Tue, 15 May 2018 17:56:34 +0000 (12:56 -0500)]
doc/releases/mimic: edit/clean up upgrade notes

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoinstall-deps: nuke wheelhouse if it's stale 22028/head
Kefu Chai [Wed, 16 May 2018 11:41:52 +0000 (19:41 +0800)]
install-deps: nuke wheelhouse if it's stale

otherwise, if we update *requirements.txt, and the wheelhouse fails to
offer the newly added dependency, the setup-virtualenv.sh will fail the
build.

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agorbd-mirror: make 'flush' asok command asynchronous 22027/head
Mykola Golub [Wed, 16 May 2018 07:40:29 +0000 (10:40 +0300)]
rbd-mirror: make 'flush' asok command asynchronous

Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agorbd-mirror: don't reregister asok hook in process entry thread
Mykola Golub [Wed, 16 May 2018 07:34:50 +0000 (10:34 +0300)]
rbd-mirror: don't reregister asok hook in process entry thread

It might get stuck if the asok is busy executing a command.
Instead kick status update, which will call reregister on finish.

Fixes: http://tracker.ceph.com/issues/24141
Signed-off-by: Mykola Golub <mgolub@suse.com>
7 years agoMerge pull request #22008 from dillaman/wip-rbd-suite-distros
Yuri Weinstein [Wed, 16 May 2018 00:03:00 +0000 (17:03 -0700)]
Merge pull request #22008 from dillaman/wip-rbd-suite-distros

qa/suites/rbd: randomly select a supported distro

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #21932 from yuriw/wip-yuriw-add-dollar-rgw
Sage Weil [Tue, 15 May 2018 21:15:05 +0000 (16:15 -0500)]
Merge pull request #21932 from yuriw/wip-yuriw-add-dollar-rgw

tests/qa: Adding $ distro mix - rgw

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #22011 from dillaman/wip-rbd-release-notes
Sage Weil [Tue, 15 May 2018 19:42:24 +0000 (14:42 -0500)]
Merge pull request #22011 from dillaman/wip-rbd-release-notes

doc/releases/mimic: tweak RBD major features

7 years agodoc/releases/schedule: add mimic column
Sage Weil [Tue, 15 May 2018 13:46:56 +0000 (08:46 -0500)]
doc/releases/schedule: add mimic column

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22017 into master
Patrick Donnelly [Tue, 15 May 2018 17:47:21 +0000 (10:47 -0700)]
Merge PR #22017 into master

* refs/pull/22017/head:
ptl-tool: skip empty comment body

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoptl-tool: skip empty comment body 22017/head
Patrick Donnelly [Tue, 15 May 2018 17:45:20 +0000 (10:45 -0700)]
ptl-tool: skip empty comment body

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21924 into master
Patrick Donnelly [Tue, 15 May 2018 17:10:03 +0000 (10:10 -0700)]
Merge PR #21924 into master

* refs/pull/21924/head:
align lspools output in file-layouts and manual-freebsd-deployment
Fixed configuration setting standby_replay
Fixed the order of configuration

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #22016 from LenzGr/dashboard-mimic-reasenotes
Sage Weil [Tue, 15 May 2018 16:25:09 +0000 (11:25 -0500)]
Merge pull request #22016 from LenzGr/dashboard-mimic-reasenotes

doc/releases/mimic: Updated dashboard description

7 years agodoc/releases/mimic: Updated dashboard description 22016/head
Lenz Grimmer [Tue, 15 May 2018 16:14:47 +0000 (18:14 +0200)]
doc/releases/mimic: Updated dashboard description

Fixed typo and slightly reworked the description of the mgr
dashboard in the "Major changes" section. Updated the
description in the "Notable changes" section as well by adding
a note about creating an SSL certificate.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agodoc/releases/mimic: tweak RBD major features 22011/head
Jason Dillaman [Tue, 15 May 2018 14:49:30 +0000 (10:49 -0400)]
doc/releases/mimic: tweak RBD major features

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoqa/suites/rbd: randomly select a supported distro 22008/head
Jason Dillaman [Tue, 15 May 2018 14:09:59 +0000 (10:09 -0400)]
qa/suites/rbd: randomly select a supported distro

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge PR #21842 into master
Patrick Donnelly [Tue, 15 May 2018 13:43:00 +0000 (06:43 -0700)]
Merge PR #21842 into master

* refs/pull/21842/head:
MDSMonitor: clean up use of pending fsmap in uncommitted ops
MDSMonitor: refactor last_beacons to use mono_clock
mds: refactor MDSMap init
mds: refactor FSMap init
mds: refactor Filesystem init
mds: move compat set methods to MDSMap

Reviewed-by: João Eduardo Luís <joao@suse.de>
7 years agoMerge pull request #21986 from cbodley/wip-24124
Casey Bodley [Tue, 15 May 2018 13:40:44 +0000 (09:40 -0400)]
Merge pull request #21986 from cbodley/wip-24124

Revert "common: add an async SharedMutex"

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
7 years agoMerge pull request #21987 from liewegas/wip-mimic-upgrade
Sage Weil [Tue, 15 May 2018 13:32:10 +0000 (08:32 -0500)]
Merge pull request #21987 from liewegas/wip-mimic-upgrade

doc/releases/mimic: upgrade steps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agodoc/releases/mimic: upgrade steps 21987/head
Sage Weil [Mon, 14 May 2018 20:16:14 +0000 (15:16 -0500)]
doc/releases/mimic: upgrade steps

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel' 22003/head
Volker Theile [Tue, 15 May 2018 12:44:22 +0000 (14:44 +0200)]
mgr/dashboard: Deletion dialog falsely executes deletion when pressing 'Cancel'

If a deletion fails and the 'Cancel' button is pressed to close the dialog, then the deletion process is triggered again.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21809 from tchaikov/wip-22420
Kefu Chai [Tue, 15 May 2018 12:47:15 +0000 (20:47 +0800)]
Merge pull request #21809 from tchaikov/wip-22420

mon,osd: dump "compression_algorithms" in "mon metadata"

Reveiwed-by: John Spray <john.spray@redhat.com>
7 years agomgr/dashboard: Handle errors during deletion 22002/head
Volker Theile [Tue, 15 May 2018 12:25:30 +0000 (14:25 +0200)]
mgr/dashboard: Handle errors during deletion

- Take care that the deletion dialog gets notified about errors to stop the progress spinner and enable the delete button again.
- Prettify JS code.

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Remove useless observable unsubscriptions 21928/head
Ricardo Marques [Thu, 10 May 2018 09:40:09 +0000 (10:40 +0100)]
mgr/dashboard: Remove useless observable unsubscriptions

Signed-off-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #21933 from tspmelo/fix-unittest-warnings
Lenz Grimmer [Tue, 15 May 2018 09:19:55 +0000 (11:19 +0200)]
Merge pull request #21933 from tspmelo/fix-unittest-warnings

mgr/dashboard: Fix unit tests cli warnings

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21967 from votdev/bug_24097
Lenz Grimmer [Tue, 15 May 2018 09:19:18 +0000 (11:19 +0200)]
Merge pull request #21967 from votdev/bug_24097

mgr/dashboard: Navbar dropdown button does not respond for mobile browsers

Reviewed-by: Ricardo Marques <rimarques@suse.com>
7 years agoMerge pull request #21971 from tspmelo/remove-husky
Lenz Grimmer [Tue, 15 May 2018 09:17:47 +0000 (11:17 +0200)]
Merge pull request #21971 from tspmelo/remove-husky

Mgr/dashboard: Remove husky package

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #21895 from yuriw/wip-yuriw-add-dollar1
Josh Durgin [Mon, 14 May 2018 23:18:45 +0000 (16:18 -0700)]
Merge pull request #21895 from yuriw/wip-yuriw-add-dollar1

tests/qa: trying $ distro mix

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #21949 from yuriw/wip-yuriw-crontab
Yuri Weinstein [Mon, 14 May 2018 23:14:42 +0000 (16:14 -0700)]
Merge pull request #21949 from yuriw/wip-yuriw-crontab

qa/tests: added --filter-out="ubuntu_14.04"

7 years agoMerge PR #21966 into master
Patrick Donnelly [Mon, 14 May 2018 20:28:49 +0000 (13:28 -0700)]
Merge PR #21966 into master

* refs/pull/21966/head:
mds: handle imported session race
mds: check for session import race

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge pull request #20975 from theanalyst/doc/releases/mimic-dev-2
Sage Weil [Mon, 14 May 2018 20:03:54 +0000 (15:03 -0500)]
Merge pull request #20975 from theanalyst/doc/releases/mimic-dev-2

doc: mimic rc1 release notes

7 years agomds: handle imported session race 21966/head
Patrick Donnelly [Mon, 14 May 2018 04:27:51 +0000 (21:27 -0700)]
mds: handle imported session race

Thanks to Yan Zheng for identifying and reviewing the fix.

Fixes: http://tracker.ceph.com/issues/24087
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomds: check for session import race
Patrick Donnelly [Mon, 14 May 2018 02:58:17 +0000 (19:58 -0700)]
mds: check for session import race

Credit to Yan Zheng for identifying the race condition [1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1572555#c7

Test-for: http://tracker.ceph.com/issues/24072

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoRevert "common: add an async SharedMutex" 21986/head
Casey Bodley [Mon, 14 May 2018 18:58:03 +0000 (14:58 -0400)]
Revert "common: add an async SharedMutex"

This reverts commit 67fe5d25a7bd57841d5d1a2636c4e46ae97ac3e7.

Fixes: http://tracker.ceph.com/issues/24124
Signed-off-by: Casey Bodley <cbodley@redhat.com>
7 years agoosd: Don't evict even when preemption has restarted with smaller chunk
David Zafman [Thu, 10 May 2018 00:32:39 +0000 (17:32 -0700)]
osd: Don't evict even when preemption has restarted with smaller chunk

Fixes: https://tracker.ceph.com/issues/24045
Signed-off-by: David Zafman <dzafman@redhat.com>
7 years agomon/MonClient: set configs via finisher 21984/head
Sage Weil [Mon, 14 May 2018 17:56:59 +0000 (12:56 -0500)]
mon/MonClient: set configs via finisher

The config observers may want to take locks that are ordered relative
to monc_lock.

We could simply drop monc_lock for this call, but that would implicitly
rely on a single-threaded dispatch to avoid having two incoming MConfig
messages get reordered.  Explicitly putting it on a finisher is safer.
Note that we adjust the get_monmap_and_config() to start, drain, and stop
the finisher to ensure we have incoming config processed and applied
before returning.

Fixes: http://tracker.ceph.com/issues/24118
Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoos/bluestore: add release(PExtentVector) helper to Allocator class to 21854/head
Igor Fedotov [Mon, 7 May 2018 13:58:43 +0000 (16:58 +0300)]
os/bluestore: add release(PExtentVector) helper to Allocator class to
free PExtentVector explicitly.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoos/bluestore: get rid off allocator's reserve method
Igor Fedotov [Mon, 7 May 2018 13:26:03 +0000 (16:26 +0300)]
os/bluestore: get rid off allocator's reserve method

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMgr/dashboard: Remove husky package 21971/head
Tiago Melo [Mon, 14 May 2018 08:41:56 +0000 (09:41 +0100)]
Mgr/dashboard: Remove husky package

It seems pretty-quick is not restricted to the root of the dashboard frontend
and this could bring undesired changes to some files.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agoMerge pull request #21785 from votdev/info_no_rgw
Lenz Grimmer [Mon, 14 May 2018 12:20:54 +0000 (14:20 +0200)]
Merge pull request #21785 from votdev/info_no_rgw

mgr/dashboard: Display notification if RGW is not configured

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
7 years agoMerge pull request #21975 from ukernel/wip-revert-23837
Yan, Zheng [Mon, 14 May 2018 11:55:51 +0000 (19:55 +0800)]
Merge pull request #21975 from ukernel/wip-revert-23837

Revert "ceph-fuse: Delete inode's bufferhead was in Tx state would le…

7 years agoRevert "ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert... 21975/head
Yan, Zheng [Mon, 14 May 2018 11:50:19 +0000 (19:50 +0800)]
Revert "ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert fail"

This reverts commit 07e3bceea78dc8ecd76abb1cafca5c9d1fde521e.
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
7 years agomgr/dashboard: Display useful info if RGW is not configured 21785/head
Volker Theile [Mon, 7 May 2018 14:50:14 +0000 (16:50 +0200)]
mgr/dashboard: Display useful info if RGW is not configured

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Add ModuleStatusGuardService route guard
Volker Theile [Mon, 7 May 2018 14:49:55 +0000 (16:49 +0200)]
mgr/dashboard: Add ModuleStatusGuardService route guard

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Add info panel component
Volker Theile [Mon, 7 May 2018 12:45:34 +0000 (14:45 +0200)]
mgr/dashboard: Add info panel component

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #20118 from b-ranto/wip-selinux-ldconfig
Kefu Chai [Mon, 14 May 2018 10:48:18 +0000 (18:48 +0800)]
Merge pull request #20118 from b-ranto/wip-selinux-ldconfig

selinux: Allow ceph to execute ldconfig

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21943 from tchaikov/wip-24077
Kefu Chai [Mon, 14 May 2018 10:41:18 +0000 (18:41 +0800)]
Merge pull request #21943 from tchaikov/wip-24077

qa/tasks/mgr: fix test_pool.py

Reviewed-by: Ricardo Dias <rdias@suse.com>
7 years agoselinux: Allow ceph to block suspend 20118/head
Boris Ranto [Wed, 11 Apr 2018 13:25:59 +0000 (15:25 +0200)]
selinux: Allow ceph to block suspend

Ceph is now trying to block suspend in certain cases, we need to update
the policy accordingly.

Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agoselinux: Allow ceph to execute ldconfig
Boris Ranto [Thu, 25 Jan 2018 15:31:30 +0000 (16:31 +0100)]
selinux: Allow ceph to execute ldconfig

The ceph-volume testing showed that the ceph daemons can run ldconfig in
a corner case when they are forbidden access to some files. This patch
allows ceph to execute ldconfig in Enforcing mode.

Fixes: https://tracker.ceph.com/issues/22302
Signed-off-by: Boris Ranto <branto@redhat.com>
7 years agomgr/dashboard: Navbar dropdown button does not respond for mobile-like browsers 21967/head
Volker Theile [Mon, 14 May 2018 06:13:18 +0000 (08:13 +0200)]
mgr/dashboard: Navbar dropdown button does not respond for mobile-like browsers

Signed-off-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #20731 from yuyuyu101/wip-opti-ac
Kefu Chai [Mon, 14 May 2018 06:35:02 +0000 (14:35 +0800)]
Merge pull request #20731 from yuyuyu101/wip-opti-ac

msg/async: avoid put message within write_lock

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21946 from dillaman/wip-24092
Mykola Golub [Sun, 13 May 2018 14:21:08 +0000 (17:21 +0300)]
Merge pull request #21946 from dillaman/wip-24092

rbd: disable cache for actions that open multiple images

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoqa/tests: added --filter-out="ubuntu_14.04" 21949/head
Yuri Weinstein [Fri, 11 May 2018 19:45:55 +0000 (12:45 -0700)]
qa/tests: added --filter-out="ubuntu_14.04"

This is needed for all "client-upgrade-*" suites running on mimic

Fixes https://tracker.ceph.com/issues/2402

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agomgr/balancer: add cmd to list all plans 21937/head
Yang Honggang [Fri, 11 May 2018 02:30:09 +0000 (02:30 +0000)]
mgr/balancer: add cmd to list all plans

Signed-off-by: Yang Honggang <yanghonggang@umcloud.com>
7 years agotest/pybind/test_rados.py: collect output in stdout for "bench" cmd 21957/head
Kefu Chai [Sat, 12 May 2018 11:33:52 +0000 (19:33 +0800)]
test/pybind/test_rados.py: collect output in stdout for "bench" cmd

it was changed from stderr to stdout in 23583ccc

Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21804 from dillaman/wip-24000
Kefu Chai [Sat, 12 May 2018 11:20:24 +0000 (19:20 +0800)]
Merge pull request #21804 from dillaman/wip-24000

osdc: self-managed snapshot helper should catch decode exception

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
7 years agoMerge pull request #21929 from majianpeng/fio-ceph-objectstore
Kefu Chai [Sat, 12 May 2018 11:18:50 +0000 (19:18 +0800)]
Merge pull request #21929 from majianpeng/fio-ceph-objectstore

test/fio: add option single_pool_mode in ceph-bluestore.fio

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agoMerge pull request #21905 from jcsp/wip-24022
Kefu Chai [Sat, 12 May 2018 11:15:57 +0000 (19:15 +0800)]
Merge pull request #21905 from jcsp/wip-24022

osd: write "bench" output to stdout

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21950 from liewegas/wip-23899
Kefu Chai [Sat, 12 May 2018 11:10:56 +0000 (19:10 +0800)]
Merge pull request #21950 from liewegas/wip-23899

osd: clean up smart probe

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #21940 from dmick/wip-remove-cephd
Kefu Chai [Sat, 12 May 2018 11:08:14 +0000 (19:08 +0800)]
Merge pull request #21940 from dmick/wip-remove-cephd

cmake: Remove embedded 'cephd' code

Reviewed-by: Bassam Tabbara <Bassam.Tabbara@Quantum.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa/tasks/mgr: fix test_pool.py 21943/head
Kefu Chai [Fri, 11 May 2018 14:12:43 +0000 (22:12 +0800)]
qa/tasks/mgr: fix test_pool.py

* per command desc of "osd pool set", "val" parameter should be a "string"
  not a number. so update the test_pool.py accordingly.
* also as a follow-up of 65925511bc, we need to update the test
  accordingly to reflect the change in the error's str representation.

Fixes: http://tracker.ceph.com/issues/24077
Signed-off-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #21615 into master
Patrick Donnelly [Fri, 11 May 2018 21:57:54 +0000 (14:57 -0700)]
Merge PR #21615 into master

* refs/pull/21615/head:
ceph-fuse: Delete inode's bufferhead was in Tx state would lead a assert fail

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agoMerge PR #21769 into master
Patrick Donnelly [Fri, 11 May 2018 21:57:48 +0000 (14:57 -0700)]
Merge PR #21769 into master

* refs/pull/21769/head:
mds: properly reconnect client caps after loading inodes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21883 into master
Patrick Donnelly [Fri, 11 May 2018 21:57:42 +0000 (14:57 -0700)]
Merge PR #21883 into master

* refs/pull/21883/head:
mds: tighten conditions of calling rejoin_gather_finish()
mds: avoid calling rejoin_gather_finish() two times successively

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #21923 into master
Patrick Donnelly [Fri, 11 May 2018 21:57:36 +0000 (14:57 -0700)]
Merge PR #21923 into master

* refs/pull/21923/head:
mds: set could_consume to false when no purge queue item actually executed

Reviewed-by: Zheng Yan <zyan@redhat.com>
7 years agotests/qa: adding rados/.. dirs 21895/head
Yuri Weinstein [Tue, 8 May 2018 21:31:56 +0000 (14:31 -0700)]
tests/qa: adding rados/.. dirs

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
7 years agoosd: clean up smart probe code a bit 21950/head
Sage Weil [Fri, 11 May 2018 20:21:46 +0000 (15:21 -0500)]
osd: clean up smart probe code a bit

Signed-off-by: Sage Weil <sage@redhat.com>