]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
6 years agomds: add perf counter for finisher of MDSRank
simon gao [Mon, 29 Jul 2019 07:13:44 +0000 (03:13 -0400)]
mds: add perf counter for finisher of MDSRank
        in all flash cluster, there are a lot of reqs in the queue.

Signed-off-by: simon gao <simon29rock@gmail.com>
6 years agoceph-mds: dump all info of ceph_file_layout, InodeStoreBase, frag_info_t, inode_t
simon gao [Tue, 23 Jul 2019 08:56:51 +0000 (04:56 -0400)]
ceph-mds: dump all info of ceph_file_layout, InodeStoreBase, frag_info_t, inode_t

Signed-off-by: simon gao <simon29rock@gmail.com>
6 years agomds: avoid sending too many osd requests at once after mds restarts
simon gao [Tue, 28 May 2019 02:36:32 +0000 (22:36 -0400)]
mds: avoid sending too many osd requests at once after mds restarts
Fixes: http://tracker.ceph.com/issues/40028
Signed-off-by: simon gao <simon29rock@gmail.com>
6 years agoMerge pull request #27407 from tchaikov/wip-rpm-python3-el7
Yuri Weinstein [Sat, 6 Apr 2019 15:57:57 +0000 (08:57 -0700)]
Merge pull request #27407 from tchaikov/wip-rpm-python3-el7

rpm: use python3.4 on RHEL7 by default

6 years agoMerge pull request #27403 from cyberang3l/many_objects_per_pg_docs
Neha Ojha [Fri, 5 Apr 2019 23:03:01 +0000 (16:03 -0700)]
Merge pull request #27403 from cyberang3l/many_objects_per_pg_docs

doc: update documentation for the MANY_OBJECTS_PER_PG warning

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #27409 from cbodley/wip-vstart-rgw-debug
Casey Bodley [Fri, 5 Apr 2019 20:41:25 +0000 (16:41 -0400)]
Merge pull request #27409 from cbodley/wip-vstart-rgw-debug

vstart: only add --debug-ms=1 in RGWDEBUG

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agovstart: only add --debug-ms=1 in RGWDEBUG
Casey Bodley [Fri, 5 Apr 2019 18:32:06 +0000 (14:32 -0400)]
vstart: only add --debug-ms=1 in RGWDEBUG

Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agocmake: should PYTHON3_VERSION_STRING of libpython3
Kefu Chai [Fri, 5 Apr 2019 17:54:15 +0000 (01:54 +0800)]
cmake: should PYTHON3_VERSION_STRING of libpython3

and make sure the version matches exactly the requested one

in future, we should use FindPython.cmake

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: Update documentation for the MANY_OBJECTS_PER_PG warning
Vangelis Tasoulas [Fri, 5 Apr 2019 13:58:36 +0000 (15:58 +0200)]
doc: Update documentation for the MANY_OBJECTS_PER_PG warning

The current documentation for the MANY_OBJECTS_PER_PG warning
states that The threshold can be raised to silence the health
warning by adjusting the mon_pg_warn_max_object_skew config
option on the monitors. It seems that this is not true (at least)
since the luminous times, and this option should be adjusted on
the managers.

I encountered this problem and I spend quite sometime injecting
the mon_pg_warn_max_object_skew to the monitors, added the option
ceph.conf and restarted the monitors several times but the warning
was not going away. I had to download the code to see what's
happening and I found out this:

$ git grep -A 3 mon_pg_warn_max_object_skew src/common/options.cc
src/common/options.cc:1480:    Option("mon_pg_warn_max_object_skew", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)
src/common/options.cc-1481-    .set_default(10.0)
src/common/options.cc-1482-    .set_description("max skew few average in objects per pg")
src/common/options.cc-1483-    .add_service("mgr"),

After I restarted the ceph-mgr service, the warning went away.

Signed-off-by: Vangelis Tasoulas <vangelis@tasoulas.net>
6 years agoMerge PR #27396 into master
Patrick Donnelly [Fri, 5 Apr 2019 17:49:25 +0000 (10:49 -0700)]
Merge PR #27396 into master

* refs/pull/27396/head:
doc: fixed typo in leadership names

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #27397 into master
Patrick Donnelly [Fri, 5 Apr 2019 17:48:22 +0000 (10:48 -0700)]
Merge PR #27397 into master

* refs/pull/27397/head:
doc: fixed caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agorpm: use python3.4 on RHEL7 by default
Kefu Chai [Thu, 4 Apr 2019 18:46:40 +0000 (02:46 +0800)]
rpm: use python3.4 on RHEL7 by default

python3.4 is the native python3 before 7.6

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27400 from cbodley/wip-39118
Casey Bodley [Fri, 5 Apr 2019 16:02:02 +0000 (12:02 -0400)]
Merge pull request #27400 from cbodley/wip-39118

rgw: limit entries in remove_olh_pending_entries()

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoMerge PR #26874 into master
Sage Weil [Fri, 5 Apr 2019 13:57:51 +0000 (08:57 -0500)]
Merge PR #26874 into master

* refs/pull/26874/head:
OSD: OSDMapRef access by multiple threads is unsafe

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27132 into master
Sage Weil [Fri, 5 Apr 2019 13:57:31 +0000 (08:57 -0500)]
Merge PR #27132 into master

* refs/pull/27132/head:
os/bluestore: new bluestore_debug_enforce_settings option.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
6 years agoMerge PR #27317 into master
Sage Weil [Fri, 5 Apr 2019 13:57:14 +0000 (08:57 -0500)]
Merge PR #27317 into master

* refs/pull/27317/head:
kv: make delete range optional on number of keys

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #27327 into master
Sage Weil [Fri, 5 Apr 2019 13:39:48 +0000 (08:39 -0500)]
Merge PR #27327 into master

* refs/pull/27327/head:
mon/MonmapMonitor: clean up empty created stamp in monmap
common/buffer: fix warnings

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agorgw: limit entries in remove_olh_pending_entries()
Casey Bodley [Fri, 5 Apr 2019 13:26:05 +0000 (09:26 -0400)]
rgw: limit entries in remove_olh_pending_entries()

If there are too many entries to send in a single osd op, the osd rejects
the request with EINVAL. This error happens in follow_olh(), which means
that requests against the object logical head (requests with no version
id) can't be resolved to the current object version. In multisite, this
also causes data sync to get stuck in retries

Fixes: http://tracker.ceph.com/issues/39118
Signed-off-by: Casey Bodley <cbodley@redhat.com>
6 years agodoc: fixed caps
Servesha Dudhgaonkar [Fri, 5 Apr 2019 11:59:05 +0000 (17:29 +0530)]
doc: fixed caps

Signed-off-by: Servesha Dudhgaonkar <sdudhgao@redhat.com>
6 years agodoc: fixed typo in leadership names
Servesha Dudhgaonkar [Fri, 5 Apr 2019 11:46:50 +0000 (17:16 +0530)]
doc: fixed typo in leadership names

Signed-off-by: Servesha Dudhgaonkar <sdudhgao@redhat.com>
6 years agoMerge pull request #27254 from ricardoasmarques/improve-iscsi-overview
Ricardo Marques [Fri, 5 Apr 2019 09:02:47 +0000 (10:02 +0100)]
Merge pull request #27254 from ricardoasmarques/improve-iscsi-overview

mgr/dashboad: Improve iSCSI overview page

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #27292 from sebastian-philipp/kubejacker-simplify
Sebastian Wagner [Fri, 5 Apr 2019 08:09:24 +0000 (10:09 +0200)]
Merge pull request #27292 from sebastian-philipp/kubejacker-simplify

src/script/kubejacker: Fix and simplify

Reviewed-by: Jeff Layton <jlayton@redhat.com>
6 years agoMerge pull request #27121 from sebastian-philipp/orchestrator-doc-cli-fix-service-add
Kefu Chai [Fri, 5 Apr 2019 05:52:44 +0000 (13:52 +0800)]
Merge pull request #27121 from sebastian-philipp/orchestrator-doc-cli-fix-service-add

doc/orchestrator: Fix broken bullet points

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27379 from xenolinux/wip-fix-bug1
Kefu Chai [Fri, 5 Apr 2019 05:48:58 +0000 (13:48 +0800)]
Merge pull request #27379 from xenolinux/wip-fix-bug1

doc : fixed capitalization

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #26710 from cyx1231st/wip-seastar-msgr-protocolv2
Kefu Chai [Fri, 5 Apr 2019 03:40:01 +0000 (11:40 +0800)]
Merge pull request #26710 from cyx1231st/wip-seastar-msgr-protocolv2

crimson/net: lossy connection for ProtocolV2

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27383 from tchaikov/wip-cmake-libpython3
Kefu Chai [Fri, 5 Apr 2019 03:30:13 +0000 (11:30 +0800)]
Merge pull request #27383 from tchaikov/wip-cmake-libpython3

cmake: check for MAJOR.MINOR version of python3

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agocrimson/net: more compact code with then()
Yingxin Cheng [Mon, 1 Apr 2019 14:30:45 +0000 (22:30 +0800)]
crimson/net: more compact code with then()

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: clean auth related interfaces
Yingxin Cheng [Mon, 1 Apr 2019 14:24:31 +0000 (22:24 +0800)]
crimson/net: clean auth related interfaces

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: scoped enum for proto_type
Yingxin Cheng [Mon, 1 Apr 2019 14:12:41 +0000 (22:12 +0800)]
crimson/net: scoped enum for proto_type

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: utilize lowres_system_clock with better performance
Yingxin Cheng [Mon, 1 Apr 2019 14:05:42 +0000 (22:05 +0800)]
crimson/net: utilize lowres_system_clock with better performance

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: set policy from peer_type
Yingxin Cheng [Mon, 1 Apr 2019 14:03:03 +0000 (22:03 +0800)]
crimson/net: set policy from peer_type

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: fix Socket::read_exactly(0) case
Yingxin Cheng [Thu, 21 Mar 2019 14:21:07 +0000 (22:21 +0800)]
crimson/net: fix Socket::read_exactly(0) case

Do not raise read_eof when try to read 0 bytes.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agotest/crimson: fix perf_crimson_msgr to support v2
Yingxin Cheng [Tue, 19 Mar 2019 14:25:04 +0000 (22:25 +0800)]
test/crimson: fix perf_crimson_msgr to support v2

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agotest/crimson: msgr should wait before shutdown
Yingxin Cheng [Tue, 19 Mar 2019 14:20:12 +0000 (22:20 +0800)]
test/crimson: msgr should wait before shutdown

test_concurrent_dispatch() should wait for server->wait() before
shutting down its messengers.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agotest/crimson: unit test for v2 protocol
Yingxin Cheng [Tue, 19 Mar 2019 14:19:18 +0000 (22:19 +0800)]
test/crimson: unit test for v2 protocol

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: message frame exchanges (lossy part)
Yingxin Cheng [Tue, 19 Mar 2019 14:13:33 +0000 (22:13 +0800)]
crimson/net: message frame exchanges (lossy part)

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: add keepalive timestamps to connection
Yingxin Cheng [Tue, 19 Mar 2019 14:06:34 +0000 (22:06 +0800)]
crimson/net: add keepalive timestamps to connection

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: protocolv2 handshake frame exchanges
Yingxin Cheng [Wed, 13 Mar 2019 14:48:12 +0000 (22:48 +0800)]
crimson/net: protocolv2 handshake frame exchanges

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: ProtocolV2 auth part
Yingxin Cheng [Mon, 11 Mar 2019 08:23:11 +0000 (16:23 +0800)]
crimson/net: ProtocolV2 auth part

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: dummy auth for protocol v2
Yingxin Cheng [Mon, 11 Mar 2019 08:19:24 +0000 (16:19 +0800)]
crimson/net: dummy auth for protocol v2

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: add AuthConnectionMeta to Protocol
Yingxin Cheng [Mon, 11 Mar 2019 08:15:28 +0000 (16:15 +0800)]
crimson/net: add AuthConnectionMeta to Protocol

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: add peer_global_id to Connection
Yingxin Cheng [Mon, 11 Mar 2019 08:12:57 +0000 (16:12 +0800)]
crimson/net: add peer_global_id to Connection

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: banner exchange and HelloFrame
Yingxin Cheng [Wed, 6 Mar 2019 14:59:37 +0000 (22:59 +0800)]
crimson/net: banner exchange and HelloFrame

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: support frame read/write for ProtocolV2
Yingxin Cheng [Wed, 6 Mar 2019 14:58:48 +0000 (22:58 +0800)]
crimson/net: support frame read/write for ProtocolV2

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: add target_addr to SocketConnection
Yingxin Cheng [Wed, 6 Mar 2019 09:35:33 +0000 (17:35 +0800)]
crimson/net: add target_addr to SocketConnection

represent the peer target_addr accepted/connected

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: add get_mytype() to Messenger
Yingxin Cheng [Wed, 6 Mar 2019 09:32:41 +0000 (17:32 +0800)]
crimson/net: add get_mytype() to Messenger

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: add global_seq in ProtocolV2
Yingxin Cheng [Wed, 6 Mar 2019 09:59:52 +0000 (17:59 +0800)]
crimson/net: add global_seq in ProtocolV2

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: skeleton code for ProtocolV2 logic
Yingxin Cheng [Thu, 28 Feb 2019 08:40:24 +0000 (16:40 +0800)]
crimson/net: skeleton code for ProtocolV2 logic

crimson ProtocolV2 class is following a state-machine design style:
* states are defined in ProtocolV2::state_t;
* call `execute_<state_name>()` methods to trigger different states;
* V2 logics are implemented in each execute_<state_name>() methods, and
  with explicit transitions to other states at the end of the execute_*;
* each state is associated with a write state defined in Protocol.h:
  - none: not allowed to send;
  - delay: messages can be queued, but will be delayed to send;
  - open: dispatch queued message/keepalive/ack;
  - drop: not send any messages, drop them all.

crimson ProtocolV2 is alike async ProtocolV2, with some considerations:
* explicit and encapsulated client/server handshake workflow.
* futurized-exception-based fault handling, which can interrupt protocol
  workflow at any time in each state.
* introduced SERVER_WAIT state, meaning to wait for peer-client's socket
  to reset or be replaced, and expect no further reads.
* introduced an explicit REPLACING state, async-msgr would be at the
  NONE state during replacing.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: apple-to-apple server async-msgr
Yingxin Cheng [Thu, 28 Mar 2019 15:26:12 +0000 (23:26 +0800)]
crimson/net: apple-to-apple server async-msgr

The simplest async-msgr server which will have the same behavior with
crimson-msgr server for apple-to-apple performance test.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agotest/crimson: improved perf tool for crimson-msgr
Yingxin Cheng [Tue, 19 Mar 2019 14:26:59 +0000 (22:26 +0800)]
test/crimson: improved perf tool for crimson-msgr

New features:
* --jobs: start multiple client messengers from core #1 ~ #jobs;
* --core: can assign server core to get away from busy client cores;
* --rounds: a client will send <rounds>/<jobs> messages;

Improved:
* Better configuration report;
* Report individual client results plus a summary;
* Validate if CPU number is sufficient before running;
* Sleep 1 second while connecting, so it won't hurt performance;
* Simplify client logic and bug fixes;

Removed unecessary features:
* finish_decode() for MOSDOp;
* keepalive ratio;

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: fix messenger creation
Yingxin Cheng [Thu, 28 Mar 2019 15:07:35 +0000 (23:07 +0800)]
crimson/net: fix messenger creation

sharded data structures should only be allocated in core#0, or the
program will hang during exit.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: create SocketConnection based on address type
Yingxin Cheng [Fri, 15 Feb 2019 07:43:08 +0000 (15:43 +0800)]
crimson/net: create SocketConnection based on address type

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: use entity_addrvec_t::front() inside messenger
Yingxin Cheng [Fri, 15 Feb 2019 07:27:04 +0000 (15:27 +0800)]
crimson/net: use entity_addrvec_t::front() inside messenger

Do not expect legacy-addr in order to bind v2 address.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: added msgr2 setting for SocketConnection
Yingxin Cheng [Fri, 15 Feb 2019 07:12:55 +0000 (15:12 +0800)]
crimson/net: added msgr2 setting for SocketConnection

Provide entrypoint for the future ProtocolV2 class.

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: implement factory method of Socket
Yingxin Cheng [Fri, 15 Feb 2019 03:34:16 +0000 (11:34 +0800)]
crimson/net: implement factory method of Socket

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: introduce SocketFRef
Yingxin Cheng [Thu, 14 Feb 2019 08:44:20 +0000 (16:44 +0800)]
crimson/net: introduce SocketFRef

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agocrimson/net: introduce protocol-level abstraction
Yingxin Cheng [Thu, 14 Feb 2019 07:49:34 +0000 (15:49 +0800)]
crimson/net: introduce protocol-level abstraction

Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
6 years agorpm: install python%{python3_pkgversion}-devel on el7
Kefu Chai [Fri, 5 Apr 2019 02:16:23 +0000 (10:16 +0800)]
rpm: install python%{python3_pkgversion}-devel on el7

as RHEL 7.7 support a native python3.6, we cannot hardwire to python3.4
on RHEL7/CentOS7 anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: check for MAJOR.MINOR version of python3
Boris Ranto [Thu, 4 Apr 2019 20:00:55 +0000 (22:00 +0200)]
cmake: check for MAJOR.MINOR version of python3

We can only check for MAJOR.MINOR version of python3 since
FindPython3Libs does not support checking for MAJOR.MINOR.PATCH version
of python3. We also need to make sure we use the PYTHON3 versions of
these variables.

This should fix a regression introduced by c961e00.

Signed-off-by: Boris Ranto <branto@redhat.com>
6 years agoMerge PR #27266 into master
Patrick Donnelly [Thu, 4 Apr 2019 22:36:14 +0000 (15:36 -0700)]
Merge PR #27266 into master

* refs/pull/27266/head:
cephfs-shell: Fix hidden files and directories list by ls command

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #27380 from ricardoasmarques/fix-iscsi-target-submission
Ricardo Marques [Thu, 4 Apr 2019 22:35:14 +0000 (23:35 +0100)]
Merge pull request #27380 from ricardoasmarques/fix-iscsi-target-submission

mgr/dashboard: Fix iSCSI target submission

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge PR #27198 into master
Patrick Donnelly [Thu, 4 Apr 2019 21:24:38 +0000 (14:24 -0700)]
Merge PR #27198 into master

* refs/pull/27198/head:
vstart: generate environment script suitable for sourcing
cephfs-shell: fix mode of script in tree

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomgr/dashboard: Fix iSCSI target submission
Ricardo Marques [Fri, 29 Mar 2019 13:29:47 +0000 (13:29 +0000)]
mgr/dashboard: Fix iSCSI target submission

cdIsInGroup should not be included in the request
and username/password should be an empty string
(instead of null)

Fixes: https://tracker.ceph.com/issues/39110
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge PR #27373 into master
Patrick Donnelly [Thu, 4 Apr 2019 19:52:55 +0000 (12:52 -0700)]
Merge PR #27373 into master

* refs/pull/27373/head:
doc: Add usage for shortcuts command in cephfs-shell

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #27303 into master
Patrick Donnelly [Thu, 4 Apr 2019 19:42:16 +0000 (12:42 -0700)]
Merge PR #27303 into master

* refs/pull/27303/head:
mds: add Octopus cephfs feature bit
mds: verify current release has a cephfs feature bit
mds: add cephfs feature bit for Nautilus
mon: generalize and refactor lambda use
qa: test featureful client with mimic base
qa: remove obsolete snap upgrade tests

Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #27238 into master
Patrick Donnelly [Thu, 4 Apr 2019 19:40:27 +0000 (12:40 -0700)]
Merge PR #27238 into master

* refs/pull/27238/head:
mds: update projected_version when upgrading snaptable

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #26881 into master
Patrick Donnelly [Thu, 4 Apr 2019 19:39:08 +0000 (12:39 -0700)]
Merge PR #26881 into master

* refs/pull/26881/head:
mds: remove SimpleLock::replicate_relax()
mds: avoid check session connection's features when issuing caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomgr/dashboard: Log `gateway_name` on `iscsi_client`
Ricardo Marques [Wed, 3 Apr 2019 08:38:15 +0000 (09:38 +0100)]
mgr/dashboard: Log `gateway_name` on `iscsi_client`

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Display number of sessions on iSCSI overview page
Ricardo Marques [Wed, 3 Apr 2019 07:56:27 +0000 (08:56 +0100)]
mgr/dashboard: Display number of sessions on iSCSI overview page

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Adds 'tcmu-runner' to the 'user:rbd' backstore descr
Ricardo Marques [Tue, 2 Apr 2019 15:59:51 +0000 (16:59 +0100)]
mgr/dashboard: Adds 'tcmu-runner' to the 'user:rbd' backstore descr

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Disable backstore dropdown
Ricardo Marques [Tue, 2 Apr 2019 14:38:04 +0000 (15:38 +0100)]
mgr/dashboard: Disable backstore dropdown

iSCSI backstore is always visible but is disabled
if only one option is available.

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Improve iSCSI overview page
Ricardo Marques [Thu, 28 Mar 2019 22:49:44 +0000 (22:49 +0000)]
mgr/dashboard: Improve iSCSI overview page

iSCSI overview page will now use information
obtained from ceph-iscsi.

Fixes: https://tracker.ceph.com/issues/39024
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #27358 from tchaikov/wip-multi-python3
Kefu Chai [Thu, 4 Apr 2019 15:50:32 +0000 (23:50 +0800)]
Merge pull request #27358 from tchaikov/wip-multi-python3

rpm,cmake: use specified python3 version if any

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
6 years agoMerge pull request #27362 from ektich/ektich-patch-1
Kefu Chai [Thu, 4 Apr 2019 15:41:00 +0000 (23:41 +0800)]
Merge pull request #27362 from ektich/ektich-patch-1

doc/rados/configuration: fix typo in mon-lookup-dns

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #27338 from tchaikov/wip-crimson-wait-for-active
Kefu Chai [Thu, 4 Apr 2019 15:27:05 +0000 (23:27 +0800)]
Merge pull request #27338 from tchaikov/wip-crimson-wait-for-active

crimson/osd: lower debug level on i/o path

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agoMerge pull request #27378 from ricardoasmarques/fix-iscsi-disk-diff
Ricardo Marques [Thu, 4 Apr 2019 14:04:39 +0000 (15:04 +0100)]
Merge pull request #27378 from ricardoasmarques/fix-iscsi-disk-diff

mgr/dashboard: Fix iSCSI disk diff calculation

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #27262 from ricardoasmarques/check-gateway-in-use
Ricardo Marques [Thu, 4 Apr 2019 14:02:26 +0000 (15:02 +0100)]
Merge pull request #27262 from ricardoasmarques/check-gateway-in-use

mgr/dashboard: Check if gateway is in use before deletion

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #27248 from ricardoasmarques/display-target-sessions
Ricardo Marques [Thu, 4 Apr 2019 13:58:53 +0000 (14:58 +0100)]
Merge pull request #27248 from ricardoasmarques/display-target-sessions

mgr/dashboard: Display the number of iSCSI active sessions

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agodoc : fixed capitalization
Servesha Dudhgaonkar [Thu, 4 Apr 2019 12:41:44 +0000 (18:11 +0530)]
doc : fixed capitalization

Signed-off-by: Servesha Dudhgaonkar <sdudhgao@redhat.com>
6 years agomgr/dashboard: Fix iSCSI disk diff calculation
Ricardo Marques [Fri, 29 Mar 2019 13:33:19 +0000 (13:33 +0000)]
mgr/dashboard: Fix iSCSI disk diff calculation

The separator is now a '/' instead of '.'

Fixes: https://tracker.ceph.com/issues/39109
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agodoc/rados/configuration/mon-lookup-dns: fix typo
Vanush "Misha" Paturyan [Thu, 4 Apr 2019 08:57:41 +0000 (09:57 +0100)]
doc/rados/configuration/mon-lookup-dns: fix typo

Signed-off-by: Vanush "Misha" Paturyan <ektich@gmail.com>
6 years agodoc: Add usage for shortcuts command in cephfs-shell
Varsha Rao [Thu, 4 Apr 2019 10:23:41 +0000 (15:53 +0530)]
doc: Add usage for shortcuts command in cephfs-shell

Signed-off-by: Varsha Rao <varao@redhat.com>
6 years agoMerge pull request #27350 from tspmelo/wip-fix-nfs-transport
Ricardo Marques [Thu, 4 Apr 2019 08:03:48 +0000 (09:03 +0100)]
Merge pull request #27350 from tspmelo/wip-fix-nfs-transport

mgr/dashboard: Fix deletion of NFS transports properties

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #27326 from dillaman/wip-librados-unitest-logging
Mykola Golub [Thu, 4 Apr 2019 07:25:42 +0000 (10:25 +0300)]
Merge pull request #27326 from dillaman/wip-librados-unitest-logging

test/librados_test_stub: ensure the log flusher thread is started

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #26016 from falcon78921/wip-doc-37957
Kefu Chai [Thu, 4 Apr 2019 06:33:24 +0000 (14:33 +0800)]
Merge pull request #26016 from falcon78921/wip-doc-37957

doc: added section on creating RESTful API user

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agorpm: pass %{python3_version} to cmake
Kefu Chai [Thu, 4 Apr 2019 04:07:25 +0000 (12:07 +0800)]
rpm: pass %{python3_version} to cmake

to force cmake to use the python3 and python3 modules for building
python3 bindings

on the debian side, it's okay to continue using "-DWITH_PYTHON3=ON", as

- cmake does normalize "ON" to 3
- debian's cmake extension lives on /usr/lib/python3/dist-packages/
  not in a specific /usr/lib/python3.x/dist-packages directory

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: check for libpython of the same version of interpreter
Kefu Chai [Thu, 4 Apr 2019 03:44:56 +0000 (11:44 +0800)]
cmake: check for libpython of the same version of interpreter

actually cython or python3-cython's dependencies should take care of it.
but we should at least get it right on our side if we check it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: use specified python3 version if any
Kefu Chai [Thu, 4 Apr 2019 03:37:00 +0000 (11:37 +0800)]
cmake: use specified python3 version if any

use might have multiple python3 installed, some of them has/have all
dependencies installed and is good enough for building Ceph. we should
not always use the latest python installed in the system and complain that
there is missing dependencies, even if user has installed all the
python3 dependencies for the older python3.

put in other words, if user only installs cython module for python3.4, but
she has both python3.6 and python3.4 in her system. we should not force
her to uninstall python3.6 for installing Ceph.

this change also aligns with MGR_PYTHON_VERSION. i am not applying the
same change to WITH_PYTHON2, because python2 is already stablized. and distros
are not likely to release new python2 releases.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomds: add Octopus cephfs feature bit
Patrick Donnelly [Tue, 2 Apr 2019 00:03:45 +0000 (17:03 -0700)]
mds: add Octopus cephfs feature bit

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: verify current release has a cephfs feature bit
Patrick Donnelly [Mon, 1 Apr 2019 23:52:34 +0000 (16:52 -0700)]
mds: verify current release has a cephfs feature bit

Fixes: http://tracker.ceph.com/issues/39077
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: add cephfs feature bit for Nautilus
Patrick Donnelly [Mon, 1 Apr 2019 23:50:43 +0000 (16:50 -0700)]
mds: add cephfs feature bit for Nautilus

Fixes: http://tracker.ceph.com/issues/39078
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomon: generalize and refactor lambda use
Patrick Donnelly [Mon, 1 Apr 2019 23:37:56 +0000 (16:37 -0700)]
mon: generalize and refactor lambda use

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa: test featureful client with mimic base
Patrick Donnelly [Mon, 1 Apr 2019 23:35:59 +0000 (16:35 -0700)]
qa: test featureful client with mimic base

Fixes: http://tracker.ceph.com/issues/39020
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa: remove obsolete snap upgrade tests
Patrick Donnelly [Mon, 1 Apr 2019 23:13:36 +0000 (16:13 -0700)]
qa: remove obsolete snap upgrade tests

Direct upgrades from Luminous to Octopus are not supported. These snap format
upgrade tests are now only going to be run in the mimic/nautilus branches.

Fixes: http://tracker.ceph.com/issues/39020
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #27353 into master
Sage Weil [Wed, 3 Apr 2019 21:07:19 +0000 (16:07 -0500)]
Merge PR #27353 into master

* refs/pull/27353/head:
include/ceph_features: fix typo

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
6 years agoMerge pull request #27293 from tspmelo/wip-nfsv4
Ricardo Marques [Wed, 3 Apr 2019 20:39:37 +0000 (21:39 +0100)]
Merge pull request #27293 from tspmelo/wip-nfsv4

mgr/dashboard: Fix NFS pseudo validation

Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #26439 from taoCH/wip-fix-librgw-empty-etag
J. Eric Ivancich [Wed, 3 Apr 2019 20:11:38 +0000 (16:11 -0400)]
Merge pull request #26439 from taoCH/wip-fix-librgw-empty-etag

rgw_file: save etag and acl info in setattr

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoinclude/ceph_features: fix typo
Sage Weil [Wed, 3 Apr 2019 19:59:47 +0000 (14:59 -0500)]
include/ceph_features: fix typo

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #27141 into master v15.0.0
Sage Weil [Wed, 3 Apr 2019 19:59:03 +0000 (14:59 -0500)]
Merge PR #27141 into master

* refs/pull/27141/head:
mon/OSDMonitor: fix osd boot feature vs require_osd_release check
include/ceph_features: retire 7 other old features
include/ceph_features: retire ERASURE_CODE_PLUGINS_V2
include/ceph_features: retire OSD_ERASURE_CODES
include/ceph_features: update comment to align with N+2 upgrades
include/ceph_features: adjust whitespace for retired and now usable features
mon: remove check for jewel mons
mds/FSMap: remove support for encoding jewel FSMap
include/ceph_features: enable SERVER_OCTOPUS
test/cli/osdmaptool/feature-set-unset-list: add octopus to output
test/cli/osdmaptool/feature-set-unset-list: change unknown feature bit
qa/releases/octopus.yaml: add octopus upgrade final step
osd/OSDMap: octopus encoding features
mon/OSDMonitor: add mon_debug_no_require_octopus
mon/OSDMonitor: allow 'osd require-osd-release octopus'
mon: add ondisk incompat octopus feature
mon/mon_types: add mon feature for octopus
include/ceph_features: SERVER_O -> SERVER_OCTOPUS

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agomgr/dashboard: Fix NFS pseudo validation
Tiago Melo [Mon, 1 Apr 2019 14:13:37 +0000 (14:13 +0000)]
mgr/dashboard: Fix NFS pseudo validation

Fixes: http://tracker.ceph.com/issues/39063
Signed-off-by: Tiago Melo <tmelo@suse.com>