]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agoMerge pull request #28316 from tspmelo/wip-40077-nautilus
Yuri Weinstein [Thu, 13 Jun 2019 11:17:05 +0000 (04:17 -0700)]
Merge pull request #28316 from tspmelo/wip-40077-nautilus

nautilus: mgr/dashboard: Only one root node is shown in the crush map viewer

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #28318 from tspmelo/wip-40057-nautilus
Yuri Weinstein [Thu, 13 Jun 2019 11:16:20 +0000 (04:16 -0700)]
Merge pull request #28318 from tspmelo/wip-40057-nautilus

nautilus: mgr/dashboard: NFS clients information is not displayed in the details view

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agoMerge pull request #28319 from tspmelo/wip-40030-nautilus
Yuri Weinstein [Thu, 13 Jun 2019 11:15:45 +0000 (04:15 -0700)]
Merge pull request #28319 from tspmelo/wip-40030-nautilus

nautilus: mgr/dashboard: Some validations are not updated and prevent the submission of a form

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #28320 from tspmelo/wip-39975-nautilus
Yuri Weinstein [Thu, 13 Jun 2019 11:14:05 +0000 (04:14 -0700)]
Merge pull request #28320 from tspmelo/wip-39975-nautilus

nautilus: mgr/dashboard: NFS export creation: Add more info to the validation message of the field Pseudo

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #28311 from tspmelo/wip-40074-nautilus
Yuri Weinstein [Thu, 13 Jun 2019 11:13:27 +0000 (04:13 -0700)]
Merge pull request #28311 from tspmelo/wip-40074-nautilus

nautilus: mgr/dashboard: Error creating NFS client without squash

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #28416 from yuriw/wip-yuriw-40181-nautilus
Yuri Weinstein [Wed, 12 Jun 2019 21:08:40 +0000 (14:08 -0700)]
Merge pull request #28416 from yuriw/wip-yuriw-40181-nautilus

qa/tests: added v14.2.1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #28400 from xiexingguo/wip-pr-27735-for-n
Yuri Weinstein [Wed, 12 Jun 2019 03:30:09 +0000 (20:30 -0700)]
Merge pull request #28400 from xiexingguo/wip-pr-27735-for-n

nautilus: osd: revamp {noup,nodown,noin,noout} related commands

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoPendingReleaseNotes: refresh the no{up,down,in,out} flags change 28400/head
xie xingguo [Wed, 12 Jun 2019 01:47:22 +0000 (09:47 +0800)]
PendingReleaseNotes: refresh the no{up,down,in,out} flags change

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #27742 from s0nea/wip-39346-nautilus
Yuri Weinstein [Tue, 11 Jun 2019 23:13:32 +0000 (16:13 -0700)]
Merge pull request #27742 from s0nea/wip-39346-nautilus

nautilus: mgr/dashboard: Manager should complain about wrong dashboard certificate

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #28175 from tspmelo/wip-39961-nautilus
Yuri Weinstein [Tue, 11 Jun 2019 21:48:25 +0000 (14:48 -0700)]
Merge pull request #28175 from tspmelo/wip-39961-nautilus

nautilus: mgr/dashboard: Unify the look of dashboard charts

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agoMerge pull request #28191 from ricardoasmarques/wip-39988-nautilus
Yuri Weinstein [Tue, 11 Jun 2019 21:47:53 +0000 (14:47 -0700)]
Merge pull request #28191 from ricardoasmarques/wip-39988-nautilus

nautilus: mgr/dashboard: Unable to see tcmu-runner perf counters

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by:  Tiago Melo <tmelo@suse.com>

6 years agoMerge pull request #28273 from pdvian/wip-39675-nautilus
Yuri Weinstein [Tue, 11 Jun 2019 21:46:58 +0000 (14:46 -0700)]
Merge pull request #28273 from pdvian/wip-39675-nautilus

nautilus: qa/workunits/rbd: wait for rbd-nbd unmap to complete

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #28398 from tchaikov/nautilus-pr-28268
Yuri Weinstein [Tue, 11 Jun 2019 21:46:04 +0000 (14:46 -0700)]
Merge pull request #28398 from tchaikov/nautilus-pr-28268

nautilus: mon: fix off-by-one rendering progress bar

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoqa/tests: added v14.2.1 28416/head
Yuri Weinstein [Wed, 5 Jun 2019 22:18:36 +0000 (15:18 -0700)]
qa/tests: added v14.2.1

Also white listed "failed to encode map"
Ref: https://tracker.ceph.com/issues/40251

Fixes: http://tracker.ceph.com/issues/40181
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #28458 from yuriw/wip-yuriw-40208-nautilus
Yuri Weinstein [Mon, 10 Jun 2019 19:31:27 +0000 (12:31 -0700)]
Merge pull request #28458 from yuriw/wip-yuriw-40208-nautilus

qa/tests: removed `1node` and `systemd` tests as ceph-deploy is not a…

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoosd: unify sources of no{up,down,in,out} flags into singleton helpers
xie xingguo [Thu, 30 May 2019 06:42:23 +0000 (14:42 +0800)]
osd: unify sources of no{up,down,in,out} flags into singleton helpers

Currently there are various ways to set no{up,down,in,out} flags,
by osd, by crush node, or by device class.

Use traditional is_no{up,down,in,out} helper to catch-all,
and add special wrappers for certain internal consumers.

This way osd won't ignore the noup flag set by the new crush node,
device class, or any future sources.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 9d11a3a1c96edd4f38f4584ce76febf920763883)

Conflicts:
        slight conflict from the "Remove dependence on 'using namespac'" change,
        see https://github.com/ceph/ceph/pull/27255

6 years agoMerge pull request #27677 from smithfarm/wip-39197-nautilus
Yuri Weinstein [Sat, 8 Jun 2019 16:31:18 +0000 (09:31 -0700)]
Merge pull request #27677 from smithfarm/wip-39197-nautilus

nautilus: cephfs-shell: ls command produces error: no colorize attribute found error

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27714 from pdvian/wip-39192-nautilus
Yuri Weinstein [Sat, 8 Jun 2019 16:30:43 +0000 (09:30 -0700)]
Merge pull request #27714 from pdvian/wip-39192-nautilus

nautilus: mds: drop reconnect message from non-existent session

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27736 from pdvian/wip-39199-nautilus
Yuri Weinstein [Sat, 8 Jun 2019 16:30:11 +0000 (09:30 -0700)]
Merge pull request #27736 from pdvian/wip-39199-nautilus

nautilus: mds/server: check directory split after rename.

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27842 from pdvian/wip-39209-nautilus
Yuri Weinstein [Sat, 8 Jun 2019 16:29:48 +0000 (09:29 -0700)]
Merge pull request #27842 from pdvian/wip-39209-nautilus

nautilus: mds: initialize cap_revoke_eviction_timeout with conf

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27846 from ashishkumsingh/wip-39470-nautilus
Yuri Weinstein [Sat, 8 Jun 2019 16:29:24 +0000 (09:29 -0700)]
Merge pull request #27846 from ashishkumsingh/wip-39470-nautilus

nautilus: mds: better output of 'ceph health detail'

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27849 from Vicente-Cheng/wip-39473-nautilus
Yuri Weinstein [Sat, 8 Jun 2019 16:28:58 +0000 (09:28 -0700)]
Merge pull request #27849 from Vicente-Cheng/wip-39473-nautilus

nautilus: mds: fail to resolve snapshot name contains '_'

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoqa/tests: removed `1node` and `systemd` tests as ceph-deploy is not actively developed 28458/head
Yuri Weinstein [Sat, 8 Jun 2019 16:20:07 +0000 (09:20 -0700)]
qa/tests: removed `1node` and `systemd` tests as ceph-deploy is not actively developed

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #27851 from Vicente-Cheng/wip-39232-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 16:35:54 +0000 (09:35 -0700)]
Merge pull request #27851 from Vicente-Cheng/wip-39232-nautilus

nautilus: kclient: nofail option not supported

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27852 from Vicente-Cheng/wip-39214-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 15:44:25 +0000 (08:44 -0700)]
Merge pull request #27852 from Vicente-Cheng/wip-39214-nautilus

nautilus: mds: there is an assertion when calling Beacon::shutdown()

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27853 from Vicente-Cheng/wip-39211-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 15:44:01 +0000 (08:44 -0700)]
Merge pull request #27853 from Vicente-Cheng/wip-39211-nautilus

nautilus: mds: MDSTableServer.cc: 83: FAILED assert(version == tid)

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27879 from pdvian/wip-39222-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 15:43:26 +0000 (08:43 -0700)]
Merge pull request #27879 from pdvian/wip-39222-nautilus

nautilus: mds: behind on trimming and "[dentry] was purgeable but no longer is!"

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27892 from Vicente-Cheng/wip-38876-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 15:42:57 +0000 (08:42 -0700)]
Merge pull request #27892 from Vicente-Cheng/wip-38876-nautilus

nautilus: mds: high debug logging with many subtrees is slow

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #27901 from Vicente-Cheng/wip-39471-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 15:42:19 +0000 (08:42 -0700)]
Merge pull request #27901 from Vicente-Cheng/wip-39471-nautilus

nautilus: mds: Expose CephFS snapshot creation time to clients

Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge pull request #28040 from sebastian-philipp/wip-26654-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 00:11:01 +0000 (17:11 -0700)]
Merge pull request #28040 from sebastian-philipp/wip-26654-nautilus

nautilus: mgr/orchestrator: add progress events to all orchestrators

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #27625 from liewegas/wip-min-crush-hammer-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 00:08:46 +0000 (17:08 -0700)]
Merge pull request #27625 from liewegas/wip-min-crush-hammer-nautilus

nautilus: common/options: update mon_crush_min_required_version=hammer

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #27824 from liewegas/wip-abort-msg-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 00:08:02 +0000 (17:08 -0700)]
Merge pull request #27824 from liewegas/wip-abort-msg-nautilus

nautilus: common/assert: include ceph_abort_msg(arg) arg in log output

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27893 from Vicente-Cheng/wip-39050-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 00:06:38 +0000 (17:06 -0700)]
Merge pull request #27893 from Vicente-Cheng/wip-39050-nautilus

nautilus: ceph_volume_client: Too many arguments for "WriteOpCtx"

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27919 from sebastian-philipp/wip-39559-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 00:04:31 +0000 (17:04 -0700)]
Merge pull request #27919 from sebastian-philipp/wip-39559-nautilus

nautilus: mgr/ansible: Host ls implementation

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
6 years agoMerge pull request #28178 from tspmelo/wip-39658-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 00:02:20 +0000 (17:02 -0700)]
Merge pull request #28178 from tspmelo/wip-39658-nautilus

nautilus: mgr/dashboard: Avoid merge conflicts in messages.xlf by auto-generating it at build time?

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
6 years agoMerge pull request #28261 from ricardoasmarques/wip-40031-nautilus
Yuri Weinstein [Fri, 7 Jun 2019 00:00:21 +0000 (17:00 -0700)]
Merge pull request #28261 from ricardoasmarques/wip-40031-nautilus

nautilus: mgr/dashboard: local variable 'cluster_id' referenced before assignment error when trying to list NFS Ganesha daemons

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
6 years agoMerge pull request #28382 from liewegas/wip-40044-nautilus
Yuri Weinstein [Thu, 6 Jun 2019 23:59:19 +0000 (16:59 -0700)]
Merge pull request #28382 from liewegas/wip-40044-nautilus

nautilus: common: fix parse_env nullptr deref

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sébastien Han <seb@redhat.com>
6 years agoMerge pull request #27772 from smithfarm/wip-39430-nautilus
Yuri Weinstein [Wed, 5 Jun 2019 19:55:34 +0000 (12:55 -0700)]
Merge pull request #27772 from smithfarm/wip-39430-nautilus

nautilus: qa: test_sessionmap assumes simple messenger

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28141 from pdvian/wip-39476-nautilus
Yuri Weinstein [Wed, 5 Jun 2019 19:54:56 +0000 (12:54 -0700)]
Merge pull request #28141 from pdvian/wip-39476-nautilus

nautilus: common/util: handle long lines in /proc/cpuinfo

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28248 from pdvian/wip-39671-nautilus
Yuri Weinstein [Wed, 5 Jun 2019 19:54:19 +0000 (12:54 -0700)]
Merge pull request #28248 from pdvian/wip-39671-nautilus

nautilus: commom: make cluster_network work.

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #27818 from liewegas/wip-runtime-configs-nautilus
Yuri Weinstein [Wed, 5 Jun 2019 19:42:19 +0000 (12:42 -0700)]
Merge pull request #27818 from liewegas/wip-runtime-configs-nautilus

nautilus: common/options: annotate some options; enable some runtime updates

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28299 from smithfarm/wip-40067-nautilus
Yuri Weinstein [Wed, 5 Jun 2019 19:41:13 +0000 (12:41 -0700)]
Merge pull request #28299 from smithfarm/wip-40067-nautilus

nautilus: build/ops: Ceph RPM build fails on openSUSE Tumbleweed with GCC 9

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
6 years agoMerge pull request #28325 from cbodley/wip-40087
Yuri Weinstein [Wed, 5 Jun 2019 19:39:47 +0000 (12:39 -0700)]
Merge pull request #28325 from cbodley/wip-40087

nautilus: common: parse ISO 8601 datetime format

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28347 from smithfarm/wip-40090-nautilus
Yuri Weinstein [Wed, 5 Jun 2019 19:39:12 +0000 (12:39 -0700)]
Merge pull request #28347 from smithfarm/wip-40090-nautilus

nautilus: mgr: log an error if we can't find any modules to load

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
6 years agoqa: tolerate wildcard position
xie xingguo [Fri, 26 Apr 2019 10:22:19 +0000 (18:22 +0800)]
qa: tolerate wildcard position

It does not make much sense to add this kind of restrictions
as long as user is aware of what is going on.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 199d92aec09f756522bb61ada7951d852c5e3640)

6 years agodoc: refresh {noup,nodown,noin,noout} changes
xie xingguo [Fri, 26 Apr 2019 07:34:06 +0000 (15:34 +0800)]
doc: refresh {noup,nodown,noin,noout} changes

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit a3b0dc29b915f84545ac5bd954b6c68b8dde1c69)

6 years agomon/OSDMonitor: migrate 'osd {add,rm}-{noup,nodown,noin,noout}' command to new implem...
xie xingguo [Fri, 26 Apr 2019 07:24:01 +0000 (15:24 +0800)]
mon/OSDMonitor: migrate 'osd {add,rm}-{noup,nodown,noin,noout}' command to new implementation

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 20d05a13b33d7655709d173c43518f26d22a507b)

6 years agomon/MonCommands: mark 'osd {add,rm}-{noup,nodown,noin,noout}' as deprecated
xie xingguo [Fri, 26 Apr 2019 06:28:49 +0000 (14:28 +0800)]
mon/MonCommands: mark 'osd {add,rm}-{noup,nodown,noin,noout}' as deprecated

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 06e2255f90d178d308c1eaa83c4c591756585bc0)

6 years agoosd: add no{out,down,in,out} flags by device class
xie xingguo [Wed, 24 Apr 2019 00:57:17 +0000 (08:57 +0800)]
osd: add no{out,down,in,out} flags by device class

This works as a good supplement of https://github.com/ceph/ceph/pull/27563.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 5d695267ef03e56bf8b28853554d74e4b94b03b7)

Conflicts:
slight conflict from the "Remove dependence on 'using namespac'" change,
        see https://github.com/ceph/ceph/pull/27255

6 years agoosd,mon: add 'ceph osd {set,unset}-group <flags> <who>' command
xie xingguo [Thu, 25 Apr 2019 09:25:59 +0000 (17:25 +0800)]
osd,mon: add 'ceph osd {set,unset}-group <flags> <who>' command

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 9a05a065b936130219dfb7d11282abd80d13de85)

6 years agomon: fix off-by-one rendering progress bar 28398/head
Sage Weil [Tue, 28 May 2019 16:31:27 +0000 (11:31 -0500)]
mon: fix off-by-one rendering progress bar

Ensure that if progress is < 1.0, we always have a '.' at the end of the
bar.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 0e49ad74f9ebbefb418f9eb1c8842dbe8f16fa18)

6 years agoMerge pull request #28028 from ifed01/wip-ifed-dump-before-nospanid-nautilus
Yuri Weinstein [Tue, 4 Jun 2019 21:04:17 +0000 (14:04 -0700)]
Merge pull request #28028 from ifed01/wip-ifed-dump-before-nospanid-nautilus

nautilus: os/bluestore: dump before "no-spanning blob id" abort

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #27525 from ifed01/wip-ifed-fix-21312-nautilus
Yuri Weinstein [Tue, 4 Jun 2019 20:47:44 +0000 (13:47 -0700)]
Merge pull request #27525 from ifed01/wip-ifed-fix-21312-nautilus

nautilus: os/bluestore: call fault_range prior to looking for blob to reuse

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge pull request #27645 from ifed01/wip-ifed-legacy-statfs-alert-nautilus
Yuri Weinstein [Tue, 4 Jun 2019 20:47:14 +0000 (13:47 -0700)]
Merge pull request #27645 from ifed01/wip-ifed-legacy-statfs-alert-nautilus

nautilus: os/bluestore: backport more bluestore alerts

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #27819 from liewegas/wip-bluestore-deferred-metric-fix-nautilus
Yuri Weinstein [Tue, 4 Jun 2019 20:46:30 +0000 (13:46 -0700)]
Merge pull request #27819 from liewegas/wip-bluestore-deferred-metric-fix-nautilus

nautilus: os/bluestore: correctly measure deferred writes into new blobs

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge pull request #28007 from smithfarm/wip-39612-nautilus
Yuri Weinstein [Tue, 4 Jun 2019 20:45:18 +0000 (13:45 -0700)]
Merge pull request #28007 from smithfarm/wip-39612-nautilus

nautilus: os/bluestore: fix for FreeBSD iocb structure

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agocommon: fix parse_env nullptr deref 28382/head
Patrick Donnelly [Thu, 16 May 2019 18:20:50 +0000 (11:20 -0700)]
common: fix parse_env nullptr deref

Fixes: https://tracker.ceph.com/issues/39599
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit caba2e25ce9c615b41d229c1d583609ced06b891)

6 years agotest: add test for parse_env
Patrick Donnelly [Mon, 20 May 2019 09:40:10 +0000 (02:40 -0700)]
test: add test for parse_env

Test for https://tracker.ceph.com/issues/39599

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit ccaf2ccc13374825b6e68277a542edf6ec8e92cf)

6 years agoMerge pull request #28369 from batrick/i40116
Yuri Weinstein [Mon, 3 Jun 2019 21:07:32 +0000 (14:07 -0700)]
Merge pull request #28369 from batrick/i40116

nautilus: qa: cannot schedule kcephfs/multimds

6 years agoqa: kcephfs/multimds test latest rhel 28369/head
Patrick Donnelly [Mon, 3 Jun 2019 20:58:37 +0000 (13:58 -0700)]
qa: kcephfs/multimds test latest rhel

Fixes: http://tracker.ceph.com/issues/40116
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa: fix missing yaml fragment
Patrick Donnelly [Mon, 3 Jun 2019 20:52:59 +0000 (13:52 -0700)]
qa: fix missing yaml fragment

This is preventing kcephfs/multimds from being scheduled.

Introduced-by: 2526cc6e649cded87113beae745e7c7984569c0d
Partial-revert: 2526cc6e649cded87113beae745e7c7984569c0d
Fixes: http://tracker.ceph.com/issues/40116
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28218 from bk201/wip-39993-nautilus
Yuri Weinstein [Mon, 3 Jun 2019 15:11:32 +0000 (08:11 -0700)]
Merge pull request #28218 from bk201/wip-39993-nautilus

nautilus: mgr/dashboard: inconsistent result when editing a RBD image's features

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
6 years agoMerge pull request #28022 from Devp00l/wip-39560-nautilus
Yuri Weinstein [Mon, 3 Jun 2019 15:09:03 +0000 (08:09 -0700)]
Merge pull request #28022 from Devp00l/wip-39560-nautilus

 nautilus:  mgr/dashboard: Queue notifications as default

Reviewed-by:  Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #27884 from smithfarm/wip-39530-nautilus
Yuri Weinstein [Fri, 31 May 2019 20:23:30 +0000 (13:23 -0700)]
Merge pull request #27884 from smithfarm/wip-39530-nautilus

nautilus: tests: mgr: tox failures when running make check

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agoMerge pull request #27998 from smithfarm/wip-39540-nautilus
Yuri Weinstein [Fri, 31 May 2019 20:22:43 +0000 (13:22 -0700)]
Merge pull request #27998 from smithfarm/wip-39540-nautilus

nautilus: monitoring: Provide a base set of Prometheus alert manager rules that notify the user about common Ceph error conditions

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
6 years agoMerge pull request #28098 from pdvian/wip-39425-nautilus
Yuri Weinstein [Fri, 31 May 2019 20:21:50 +0000 (13:21 -0700)]
Merge pull request #28098 from pdvian/wip-39425-nautilus

nautilus: mgr: deadlock

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28189 from votdev/fix_dialog_title
Yuri Weinstein [Fri, 31 May 2019 20:21:21 +0000 (13:21 -0700)]
Merge pull request #28189 from votdev/fix_dialog_title

nautilus: mgr/dashboard: Display correct dialog title

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #28262 from jecluis/nautilus-fix-backport-mon-min-release
Yuri Weinstein [Fri, 31 May 2019 20:18:49 +0000 (13:18 -0700)]
Merge pull request #28262 from jecluis/nautilus-fix-backport-mon-min-release

mon/Monitor: allow probe if MMonProbe::mon_release == 0

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28101 from jan--f/wip-39932-nautilus
Yuri Weinstein [Fri, 31 May 2019 15:36:54 +0000 (08:36 -0700)]
Merge pull request #28101 from jan--f/wip-39932-nautilus

nautilus: monitoring: update Grafana dashboards

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by:  Kanika Murarka <kmurarka@redhat.com>

6 years agomgr/PyModuleRegistry: log error if we can't find any modules to load 28347/head
Tim Serong [Fri, 10 May 2019 05:08:30 +0000 (15:08 +1000)]
mgr/PyModuleRegistry: log error if we can't find any modules to load

Fixes: https://tracker.ceph.com/issues/39662
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit 67a47951053bbca0d5951ac3f49fd99d100a9d14)

6 years agoMerge pull request #27864 from sebastian-philipp/wip-39312-nautilus
Nathan Cutler [Fri, 31 May 2019 11:31:43 +0000 (13:31 +0200)]
Merge pull request #27864 from sebastian-philipp/wip-39312-nautilus

nautilus: mgr/rook: Added missing rgw daemons in service ls

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #27863 from sebastian-philipp/wip-39313-nautilus
Nathan Cutler [Fri, 31 May 2019 11:30:47 +0000 (13:30 +0200)]
Merge pull request #27863 from sebastian-philipp/wip-39313-nautilus

nautilus: mgr/rook: Fix RGW creation

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #27862 from sebastian-philipp/wip-39356-nautilus
Nathan Cutler [Fri, 31 May 2019 11:29:44 +0000 (13:29 +0200)]
Merge pull request #27862 from sebastian-philipp/wip-39356-nautilus

nautilus: mgr/rook: Remove support for Rook older than v0.9

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #27918 from pdvian/wip-39273-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:37:06 +0000 (13:37 -0700)]
Merge pull request #27918 from pdvian/wip-39273-nautilus

nautilus: rgw: Evaluating bucket policies also while reading permissions for an…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27921 from cbodley/wip-38918
Yuri Weinstein [Thu, 30 May 2019 20:36:38 +0000 (13:36 -0700)]
Merge pull request #27921 from cbodley/wip-38918

nautilus: rgw multisite: add perf counters to data sync

Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #27924 from Vicente-Cheng/wip-39410-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:36:02 +0000 (13:36 -0700)]
Merge pull request #27924 from Vicente-Cheng/wip-39410-nautilus

nautilus: rgw: inefficient unordered bucket listing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27944 from smithfarm/wip-39577-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:35:39 +0000 (13:35 -0700)]
Merge pull request #27944 from smithfarm/wip-39577-nautilus

nautilus: build/rgw: unittest_rgw_dmclock_scheduler does not need Boost_LIBRARIES #26799

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agoMerge pull request #27952 from Vicente-Cheng/wip-39414-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:34:46 +0000 (13:34 -0700)]
Merge pull request #27952 from Vicente-Cheng/wip-39414-nautilus

nautilus: multisite: period pusher gets 403 Forbidden against other zonegroups

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27953 from Vicente-Cheng/wip-39503-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:34:21 +0000 (13:34 -0700)]
Merge pull request #27953 from Vicente-Cheng/wip-39503-nautilus

nautilus: rgw: clean up some logging

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27954 from Vicente-Cheng/wip-39574-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:33:10 +0000 (13:33 -0700)]
Merge pull request #27954 from Vicente-Cheng/wip-39574-nautilus

nautilus: rgw: cloud sync module logs attrs in the log

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
6 years agoMerge pull request #27955 from Vicente-Cheng/wip-39575-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:32:25 +0000 (13:32 -0700)]
Merge pull request #27955 from Vicente-Cheng/wip-39575-nautilus

nautilus: librgw: unexpected crash when creating bucket

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #28064 from theanalyst/nautilus-cloud-sync-fixes
Yuri Weinstein [Thu, 30 May 2019 20:31:53 +0000 (13:31 -0700)]
Merge pull request #28064 from theanalyst/nautilus-cloud-sync-fixes

nautilus: rgw: cloud sync module fails to sync multipart objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27630 from pdvian/wip-39018-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:28:59 +0000 (13:28 -0700)]
Merge pull request #27630 from pdvian/wip-39018-nautilus

nautilus: rgw admin: add tenant argument to reshard cancel

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #27660 from pdvian/wip-39048-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:28:29 +0000 (13:28 -0700)]
Merge pull request #27660 from pdvian/wip-39048-nautilus

nautilus: rgw: beast: set a default port for endpoints

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27664 from pdvian/wip-39178-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:27:46 +0000 (13:27 -0700)]
Merge pull request #27664 from pdvian/wip-39178-nautilus

nautilus: rgw: limit entries in remove_olh_pending_entries()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27779 from s0nea/wip-39479-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:27:14 +0000 (13:27 -0700)]
Merge pull request #27779 from s0nea/wip-39479-nautilus

nautilus: test/rgw: fix race in test_rgw_reshard_wait and test_rgw_reshard_wait uses same clock for timing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
6 years agoMerge pull request #27800 from pdvian/wip-39202-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:26:39 +0000 (13:26 -0700)]
Merge pull request #27800 from pdvian/wip-39202-nautilus

nautilus: rgw: race condition between resharding and ops waiting on resharding

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27814 from ashishkumsingh/wip-39417-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:26:12 +0000 (13:26 -0700)]
Merge pull request #27814 from ashishkumsingh/wip-39417-nautilus

nautilus: rgw: multisite log trimming only checks peers that sync from us

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27826 from ashishkumsingh/wip-39502-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:25:28 +0000 (13:25 -0700)]
Merge pull request #27826 from ashishkumsingh/wip-39502-nautilus

nautilus: rgw: bucket stats report mtime in UTC

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27827 from ashishkumsingh/wip-39496-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:25:01 +0000 (13:25 -0700)]
Merge pull request #27827 from ashishkumsingh/wip-39496-nautilus

nautilus: rgw: admin: handle delete_at attr in object stat output

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #27904 from pdvian/wip-39228-nautilus
Yuri Weinstein [Thu, 30 May 2019 20:24:30 +0000 (13:24 -0700)]
Merge pull request #27904 from pdvian/wip-39228-nautilus

nautilus: rgw_file: save etag and acl info in setattr

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
6 years agoMerge pull request #27890 from Devp00l/wip-39534-nautilus
Yuri Weinstein [Thu, 30 May 2019 19:24:41 +0000 (12:24 -0700)]
Merge pull request #27890 from Devp00l/wip-39534-nautilus

 nautilus: mgr/dashboard: RBD snapshot name suggestion with local time suffix

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
6 years agoMerge pull request #28021 from Devp00l/wip-39558-nautilus
Yuri Weinstein [Thu, 30 May 2019 19:24:11 +0000 (12:24 -0700)]
Merge pull request #28021 from Devp00l/wip-39558-nautilus

 nautilus: mgr/dashboard: KV-table transforms dates through pipe

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
6 years agocommon/utime: don't pass %z to utime if there is a 'Z' 28325/head
Sage Weil [Fri, 24 May 2019 22:09:53 +0000 (17:09 -0500)]
common/utime: don't pass %z to utime if there is a 'Z'

This fails on centos 7 for some reason.

If it's UTC, we don't need to parse the tz portion, so avoid the issue by
leaving the %z out of the fmt string.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 1d1c4782eea1fac0e9230ed5ac32b19517fdd616)

6 years agocommon/utime: make parse() handle (our) ISO 8601 output
Sage Weil [Thu, 25 Apr 2019 22:15:09 +0000 (17:15 -0500)]
common/utime: make parse() handle (our) ISO 8601 output

- optional subsecond values
- optional timezone offset

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 668d6e7f97bd37f1896611249cfae85bced4b096)

6 years agomgr/dashboard: Improve NFS Pseudo pattern message 28320/head
Tiago Melo [Wed, 17 Apr 2019 16:46:47 +0000 (16:46 +0000)]
mgr/dashboard: Improve NFS Pseudo pattern message

Fixes: http://tracker.ceph.com/issues/39327
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 6f3f8f158e447a3c2797c6ba5e9d60e732263601)

6 years agomgr/dashboard: Subscribe to changes when RequiredIf is used 28319/head
Tiago Melo [Thu, 23 May 2019 16:18:22 +0000 (16:18 +0000)]
mgr/dashboard: Subscribe to changes when RequiredIf is used

FormControls that use 'requiredIf' validators depend on the state of other
controls.
To prevent that some of the state changes are not tracked, we now automatically
subscribe to the prerequsited controls and update the validation of the parent
control.

Fixes: https://tracker.ceph.com/issues/40017
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 86285b543b7d4f594599365a4e78c474d7ebb0ae)

6 years agomgr/dashboard: Add clients tab to NFS details 28318/head
Tiago Melo [Tue, 21 May 2019 10:03:38 +0000 (10:03 +0000)]
mgr/dashboard: Add clients tab to NFS details

Fixes: https://tracker.ceph.com/issues/39963
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 56f0ffcd8c411b53b5ad142d07a8df78ac55cd66)

6 years agomgr/dashboard: Add multi root support in CRUSH map 28316/head
Tiago Melo [Thu, 9 May 2019 14:39:48 +0000 (14:39 +0000)]
mgr/dashboard: Add multi root support in CRUSH map

Fixes: http://tracker.ceph.com/issues/39647
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit a055f96325cbbb6f5b0fec7b0909275836c6cbab)

6 years agomgr/dashboard: Fix NFS clients squash/access_type default values 28311/head
Tiago Melo [Fri, 24 May 2019 00:31:45 +0000 (00:31 +0000)]
mgr/dashboard: Fix NFS clients squash/access_type default values

Fixes: https://tracker.ceph.com/issues/40012
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit d038663518dad66c8edbff02ef8a1a9ef37f3fe5)