]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agocommon,tools: make sure the destination buffer can handle the size of the string 29316/head
songweibin [Thu, 25 Jul 2019 11:44:08 +0000 (19:44 +0800)]
common,tools: make sure the destination buffer can handle the size of the string

fix klocwork issues:
Width is not specified for 's' conversion specifier.
This can result in an overflow of the buffer
provided in argument 3 of a call to 'sscanf'

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agosrc/tools: initialize variables before the goto statement
songweibin [Thu, 25 Jul 2019 11:12:05 +0000 (19:12 +0800)]
src/tools: initialize variables before the goto statement

CID 172143 (#15 of 15): Branch past initialization (PW.BRANCH_PAST_INITIALIZATION)
1. branch_past_initialization:
2. name_at_decl_position: variable "oid" (declared at line 220)
3. name_at_decl_position: variable "exkeys" (declared at line 241)
4. name_at_decl_position: variable "exvals" (declared at line 242)
5. name_at_decl_position: variable "safe" (declared at line 278)

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agosrc/mount: check before dereference buf
songweibin [Thu, 25 Jul 2019 11:05:33 +0000 (19:05 +0800)]
src/mount: check before dereference buf

CID 180671 (#1 of 1): Dereference null return value (NULL_RETURNS)

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agosrc/crush: check before dereference out2
songweibin [Thu, 25 Jul 2019 10:55:39 +0000 (18:55 +0800)]
src/crush: check before dereference out2

CID 174874 (#2 of 2): Dereference after null check (FORWARD_NULL)
30. var_deref_op: Dereference null pointer out2.

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agosrc/test: s/strcpy/strncpy
songweibin [Thu, 25 Jul 2019 07:21:43 +0000 (15:21 +0800)]
src/test: s/strcpy/strncpy

fix klocwork issues:
function 'strcpy' does not check buffer boundaries but outputs to buffer 'watcher.addr' of fixed size (256)

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agoMerge pull request #28764 from rhcs-dashboard/rgw-bucket-placement-target
Ricardo Marques [Mon, 22 Jul 2019 08:04:53 +0000 (09:04 +0100)]
Merge pull request #28764 from rhcs-dashboard/rgw-bucket-placement-target

mgr/dashboard: select placement target on RGW bucket creation

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #29100 from tchaikov/wip-cmake-python-osx
Kefu Chai [Sun, 21 Jul 2019 01:24:22 +0000 (09:24 +0800)]
Merge pull request #29100 from tchaikov/wip-cmake-python-osx

cmake: use latest FindPython*.cmake

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge PR #29012 into master
Sage Weil [Sat, 20 Jul 2019 20:21:22 +0000 (15:21 -0500)]
Merge PR #29012 into master

* refs/pull/29012/head:
os/bluestore: proper locking for BlueFS prefetching

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #29068 into master
Sage Weil [Sat, 20 Jul 2019 20:21:01 +0000 (15:21 -0500)]
Merge PR #29068 into master

* refs/pull/29068/head:
os/bluestore: cleanup around allocator calls

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #29072 into master
Sage Weil [Sat, 20 Jul 2019 20:20:31 +0000 (15:20 -0500)]
Merge PR #29072 into master

* refs/pull/29072/head:
qa/suites/upgrade: set pg_autoscale_mode=off on existing pools
mon/MgrMonitor: make pg_autoscaler always on
qa/tasks/ceph.conf.template: osd_pool_default_pg_autoscale_mode = off

Reviewed-by: Sébastien Han <seb@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #29085 into master
Sage Weil [Sat, 20 Jul 2019 20:19:47 +0000 (15:19 -0500)]
Merge PR #29085 into master

* refs/pull/29085/head:
os/bluestore: add slow op detector for collection listing
os/bluestore: parametrize latency threshold for log_latency funcs..
os/bluestore: cleanup around slow op logging.

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #29145 into master
Sage Weil [Sat, 20 Jul 2019 20:07:54 +0000 (15:07 -0500)]
Merge PR #29145 into master

* refs/pull/29145/head:
doc/release/nautilus: 14.2.2 changes redone

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
6 years agodoc/dev/macos.rst: update to be in sync with master 29100/head
Kefu Chai [Thu, 18 Jul 2019 01:59:10 +0000 (09:59 +0800)]
doc/dev/macos.rst: update to be in sync with master

* we've moved to cmake 3.5, so no need to hack for newer cmake
* nss dependency is dropped, no need to install it anymore
* pass clang and clang++ using cmake variable to be more consistent
* pass CMAKE_EXE_LINKER_FLAGS as `/usr/local/opt/llvm/lib` is
  not in default library paths.
* mention https://github.com/boostorg/atomic/issues/15

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: pass PYTHON_VERSION explicitly
Kefu Chai [Thu, 18 Jul 2019 01:46:51 +0000 (09:46 +0800)]
cmake: pass PYTHON_VERSION explicitly

allow `distutils_*()` functions to choose the python according to this
parameter, instead of implicitly using the variable of ${PYTHON_VERSION}
inherited from the caller.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocmake: update FindPython* modules
Kefu Chai [Thu, 18 Jul 2019 01:02:15 +0000 (09:02 +0800)]
cmake: update FindPython* modules

use the ones shiped from the latest cmake. which

* enables us to find the recent python intepreter and development files,
* find intepreter and development in a single `find_pacakge()` command,
  simpler this way and less error prone.

and to accomodate this change:

* all `PYTHON${PYTHON_VERSION}_*` variables are renamed to
  `Python${PYTHON_VERSION}_*` if we use `find_package(Python2...)` or
  `find_package(Python3...)` to find python2 or python3 instead of using
  `find_package(Python...)`.
* use "2" explicitly when using python2, as `Python_*` variables are not
  defined anymore
* when compiling python support of ceph-mgr, continue using `Python_*`
  variables. because we find the python interpreter and development
  files using `find_pacakge(Python...)` for ceph-mgr.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29080 from tchaikov/wip-pybind
Kefu Chai [Sat, 20 Jul 2019 03:32:09 +0000 (11:32 +0800)]
Merge pull request #29080 from tchaikov/wip-pybind

pybind: check "CEPH_LIBDIR" not "MAKEFLAGS"

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28763 from tchaikov/wip-dpdk-fix-ftbfs
Kefu Chai [Sat, 20 Jul 2019 02:37:57 +0000 (10:37 +0800)]
Merge pull request #28763 from tchaikov/wip-dpdk-fix-ftbfs

msg/async/dpdk: fix FTBFS

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #29120 from neha-ojha/wip-add-write-omap
Josh Durgin [Fri, 19 Jul 2019 21:46:22 +0000 (14:46 -0700)]
Merge pull request #29120 from neha-ojha/wip-add-write-omap

qa: add basic omap testing capability

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agodoc/release/nautilus: 14.2.2 changes redone 29145/head
Sage Weil [Fri, 19 Jul 2019 21:01:50 +0000 (16:01 -0500)]
doc/release/nautilus: 14.2.2 changes redone

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa/suites/rados/perf: add op_size to radosbench_omap_write.yaml 29120/head
Neha Ojha [Fri, 19 Jul 2019 20:16:50 +0000 (13:16 -0700)]
qa/suites/rados/perf: add op_size to radosbench_omap_write.yaml

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #29123 into master
Patrick Donnelly [Fri, 19 Jul 2019 17:41:29 +0000 (10:41 -0700)]
Merge PR #29123 into master

* refs/pull/29123/head:
test_sessionmap: use sudo_write_file() from teuthology.misc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28946 from cbodley/wip-rgw-list-v1-close-section
Casey Bodley [Fri, 19 Jul 2019 16:08:03 +0000 (12:08 -0400)]
Merge pull request #28946 from cbodley/wip-rgw-list-v1-close-section

rgw: add missing close_section in send_versioned_response

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
6 years agoMerge pull request #29101 from valentinbajrami/master
Ricardo Marques [Fri, 19 Jul 2019 14:48:01 +0000 (15:48 +0100)]
Merge pull request #29101 from valentinbajrami/master

mgr/dashboard: Improve e2e script

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Rafael Quintero <rquinter@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoqa/suites/upgrade: set pg_autoscale_mode=off on existing pools 29072/head
Sage Weil [Thu, 18 Jul 2019 14:44:46 +0000 (09:44 -0500)]
qa/suites/upgrade: set pg_autoscale_mode=off on existing pools

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/dashboard: select placement target on RGW bucket creation 28764/head
alfonsomthd [Fri, 19 Jul 2019 14:02:44 +0000 (16:02 +0200)]
mgr/dashboard: select placement target on RGW bucket creation

* Select a placement target from the zone that the RGW daemon is running on.

Fixes: https://tracker.ceph.com/issues/40567
Signed-off-by: alfonsomthd <almartin@redhat.com>
6 years agoMerge pull request #29129 from tchaikov/wip-remove-sepia-bt.sh
Kefu Chai [Fri, 19 Jul 2019 11:56:03 +0000 (19:56 +0800)]
Merge pull request #29129 from tchaikov/wip-remove-sepia-bt.sh

script/sepia_bt.sh: remove stale script

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
6 years agoscript/sepia_bt.sh: remove stale script 29129/head
Kefu Chai [Fri, 19 Jul 2019 10:32:53 +0000 (18:32 +0800)]
script/sepia_bt.sh: remove stale script

this script is not actively maintained anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29057 from cyx1231st/wip-seastar-msgr-loggingv2
Kefu Chai [Fri, 19 Jul 2019 10:34:48 +0000 (18:34 +0800)]
Merge pull request #29057 from cyx1231st/wip-seastar-msgr-loggingv2

crimson/net: clean-up and fixes of messenger

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #29105 from tspmelo/wip-prevent-propagation
Ricardo Marques [Fri, 19 Jul 2019 10:28:27 +0000 (11:28 +0100)]
Merge pull request #29105 from tspmelo/wip-prevent-propagation

mgr/dashboard: Disable event propagation in the helper icon

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #29107 from ricardoasmarques/label-col-size-mgr-module-form
Ricardo Dias [Fri, 19 Jul 2019 10:23:38 +0000 (11:23 +0100)]
Merge pull request #29107 from ricardoasmarques/label-col-size-mgr-module-form

mgr/dashboard: Increase column size on mgr module form

Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #29112 from ricardoasmarques/iscsi-gateway-status-health-page
Ricardo Dias [Fri, 19 Jul 2019 10:23:02 +0000 (11:23 +0100)]
Merge pull request #29112 from ricardoasmarques/iscsi-gateway-status-health-page

mgr/dashboard: Show iSCSI gateways status in the health page

Reviewed-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #28942 from ricardoasmarques/validate-iscsi-controls
Ricardo Dias [Fri, 19 Jul 2019 10:22:27 +0000 (11:22 +0100)]
Merge pull request #28942 from ricardoasmarques/validate-iscsi-controls

mgr/dashboard: Validate iSCSI controls min/max value

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #28898 from ricardoasmarques/cephfs-client-evict
Ricardo Dias [Fri, 19 Jul 2019 10:21:42 +0000 (11:21 +0100)]
Merge pull request #28898 from ricardoasmarques/cephfs-client-evict

mgr/dashboard: Evict a CephFS client

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Improve e2e script 29101/head
Valentin B [Fri, 12 Jul 2019 10:15:09 +0000 (12:15 +0200)]
mgr/dashboard: Improve e2e script

Passing -r flag to jq to remove quotes. sed not needed
Using $() command substitution instead of the legacy and unsafe backticks `...`

Signed-off-by: Valentin Bajrami <valentin.bajrami@gmail.com>
6 years agoMerge pull request #28081 from sebastian-philipp/kubejacker-doc-update
Sebastian Wagner [Fri, 19 Jul 2019 08:22:30 +0000 (10:22 +0200)]
Merge pull request #28081 from sebastian-philipp/kubejacker-doc-update

doc/dev/kubernetes: Update

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
6 years agoMerge pull request #29125 from bk201/wip-40827
Kefu Chai [Fri, 19 Jul 2019 08:11:36 +0000 (16:11 +0800)]
Merge pull request #29125 from bk201/wip-40827

mgr/dashboard: fix tox test failure

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: Evict a CephFS client 28898/head
Ricardo Marques [Thu, 4 Jul 2019 15:56:24 +0000 (16:56 +0100)]
mgr/dashboard: Evict a CephFS client

Fixes: https://tracker.ceph.com/issues/24892
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Show iSCSI gateways status in the health page 29112/head
Ricardo Marques [Thu, 18 Jul 2019 14:37:21 +0000 (15:37 +0100)]
mgr/dashboard: Show iSCSI gateways status in the health page

Fixes: https://tracker.ceph.com/issues/39028
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: fix tox test failure 29125/head
Kiefer Chang [Fri, 19 Jul 2019 07:30:36 +0000 (15:30 +0800)]
mgr/dashboard: fix tox test failure

`api/task` now also returns tasks in progress module.
Mock related function for tests.

Fixes: https://tracker.ceph.com/issues/40827
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
6 years agotest_sessionmap: use sudo_write_file() from teuthology.misc 29123/head
Rishabh Dave [Fri, 19 Jul 2019 04:35:18 +0000 (10:05 +0530)]
test_sessionmap: use sudo_write_file() from teuthology.misc

Instead of defining a method to write files within the testsuite, use
sudo_write_file() from teuthology.misc.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
6 years agoMerge PR #29067 into master
Patrick Donnelly [Fri, 19 Jul 2019 01:45:27 +0000 (18:45 -0700)]
Merge PR #29067 into master

* refs/pull/29067/head:
qa/tasks: add exception in do_thrash()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa/tasks: add exception in do_thrash() 29067/head
Jos Collin [Tue, 16 Jul 2019 23:11:49 +0000 (04:41 +0530)]
qa/tasks: add exception in do_thrash()

Fixes the bug during DaemonWatchdog testing:

Traceback (most recent call last):
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-daemonwatchdog-testing13/qa/tasks/daemonwatchdog.py", line 38, in _run
    self.watch()
  File "/home/teuthworker/src/github.com_ceph_ceph-c_wip-daemonwatchdog-testing13/qa/tasks/daemonwatchdog.py", line 112, in watch
    if thrasher.e is not None:
AttributeError: MonitorThrasher instance has no attribute 'e'

Signed-off-by: Jos Collin <jcollin@redhat.com>
6 years agoqa/suites/rados/perf: add objectsize to radosbench_omap_write.yaml
Neha Ojha [Thu, 18 Jul 2019 23:56:07 +0000 (16:56 -0700)]
qa/suites/rados/perf: add objectsize to radosbench_omap_write.yaml

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #29011 into master
Sage Weil [Thu, 18 Jul 2019 21:10:08 +0000 (16:10 -0500)]
Merge PR #29011 into master

* refs/pull/29011/head:
doc/releases/nautilus: move note to 14.2.2
doc/releases/nautilus: typo
doc/releases/nautilus.rst: pool stats fix was merged for 14.2.2 after all
doc: release notes for nautilus 14.2.2

Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #28692 into master
Patrick Donnelly [Thu, 18 Jul 2019 21:03:50 +0000 (14:03 -0700)]
Merge PR #28692 into master

* refs/pull/28692/head:
test_volume_client: add positive test for ceph_volume_client method
test_volume_client: rename test_put_object_versioned()
test_volume_client: rewrite test_put_object_versioned
test_volume_client: use sudo_write_file() form teuthology
test_volume_client: make test_object_versioned py3 compatible

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoqa/suites/rados/perf: add radosbench_omap_write.yaml
Neha Ojha [Thu, 18 Jul 2019 18:09:29 +0000 (11:09 -0700)]
qa/suites/rados/perf: add radosbench_omap_write.yaml

This excercises the --write-omap option in the radosbench task.

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #22788 from adamyanova/wip-s3java
Ali Maredia [Thu, 18 Jul 2019 18:37:50 +0000 (14:37 -0400)]
Merge pull request #22788 from adamyanova/wip-s3java

A task to run S3 Java tests against RGW

6 years agoqa: add basic omap testing capability
Neha Ojha [Fri, 28 Jun 2019 21:40:27 +0000 (14:40 -0700)]
qa: add basic omap testing capability

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #29048 from rjfd/wip-dashboard-progress-tasks
Ricardo Marques [Thu, 18 Jul 2019 14:46:41 +0000 (15:46 +0100)]
Merge pull request #29048 from rjfd/wip-dashboard-progress-tasks

mgr/dashboard: integrate progress mgr module events into dashboard tasks list

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #28006 from Devp00l/wip-39482
Ricardo Marques [Thu, 18 Jul 2019 14:44:41 +0000 (15:44 +0100)]
Merge pull request #28006 from Devp00l/wip-39482

mgr/dashboard: Watch for pool pg's increase and decrease

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge PR #29092 into master
Sage Weil [Thu, 18 Jul 2019 13:59:58 +0000 (08:59 -0500)]
Merge PR #29092 into master

* refs/pull/29092/head:
osd/ECTransaction,ReplicatedBackend: create op is new in octopus

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jianpeng Ma <jianpeng.ma@intel.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #28935 from votdev/issue_40248
Ricardo Marques [Thu, 18 Jul 2019 13:37:19 +0000 (14:37 +0100)]
Merge pull request #28935 from votdev/issue_40248

mgr/dashboard: Allow users to change their password on the UI

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
6 years agoMerge pull request #28928 from p-na/wip-pna-e2e-pools
Ricardo Marques [Thu, 18 Jul 2019 13:32:23 +0000 (14:32 +0100)]
Merge pull request #28928 from p-na/wip-pna-e2e-pools

mgr/dashboard: Write E2E tests for pool creation, deletion and verification

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Rafael Quintero <rquinter@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Increase col size on mgr module edit form 29107/head
Ricardo Marques [Thu, 18 Jul 2019 12:58:59 +0000 (13:58 +0100)]
mgr/dashboard: Increase col size on mgr module edit form

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Disable event propagation in the helper icon 29105/head
Tiago Melo [Thu, 18 Jul 2019 12:24:38 +0000 (12:24 +0000)]
mgr/dashboard: Disable event propagation in the helper icon

Fixes: http://tracker.ceph.com/issues/40715
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #28882 from rjfd/wip-mgr-perf-counter-timestamp
Ricardo Dias [Thu, 18 Jul 2019 11:18:16 +0000 (12:18 +0100)]
Merge pull request #28882 from rjfd/wip-mgr-perf-counter-timestamp

mgr: return perf_counters data timestamps in nanosecs

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
6 years agodoc/releases/nautilus: move note to 14.2.2 29011/head
Sage Weil [Wed, 17 Jul 2019 22:26:38 +0000 (17:26 -0500)]
doc/releases/nautilus: move note to 14.2.2

Oops! This change was merged in 404ed645d42471b675f11fb7d11f46c006248152,
which was not part of 14.2.1 after all.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agodoc/releases/nautilus: typo
Sage Weil [Wed, 17 Jul 2019 22:25:53 +0000 (17:25 -0500)]
doc/releases/nautilus: typo

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #29069 into master
Sage Weil [Wed, 17 Jul 2019 22:20:12 +0000 (17:20 -0500)]
Merge PR #29069 into master

* refs/pull/29069/head:
qa/tasks/ceph_manager: make upmap thrasher behave when no pools/pgs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #29095 into master
Patrick Donnelly [Wed, 17 Jul 2019 19:49:05 +0000 (12:49 -0700)]
Merge PR #29095 into master

* refs/pull/29095/head:
script/ptl-tool: update for python3

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #28900 into master
Patrick Donnelly [Wed, 17 Jul 2019 18:53:58 +0000 (11:53 -0700)]
Merge PR #28900 into master

* refs/pull/28900/head:
doc: Update troubleshooting.rst
doc: drop kernel-client-troubleshooting.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoscript/ptl-tool: update for python3 29095/head
Patrick Donnelly [Wed, 17 Jul 2019 18:14:31 +0000 (11:14 -0700)]
script/ptl-tool: update for python3

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #29071 into master
Sage Weil [Wed, 17 Jul 2019 17:00:50 +0000 (12:00 -0500)]
Merge PR #29071 into master

* refs/pull/29071/head:
selinux: Allow ceph to read udev db

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoosd/ECTransaction,ReplicatedBackend: create op is new in octopus 29092/head
Sage Weil [Wed, 17 Jul 2019 16:55:42 +0000 (11:55 -0500)]
osd/ECTransaction,ReplicatedBackend: create op is new in octopus

Not nautilus!

Fixes: https://tracker.ceph.com/issues/40755
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #28987 into master
Sage Weil [Wed, 17 Jul 2019 16:27:15 +0000 (11:27 -0500)]
Merge PR #28987 into master

* refs/pull/28987/head:
Revert "mgr/dashboard: Add nolockdep option to e2e-script"
common: refactor handling of lockdep's group name in debug locks.
common: shared_mutex_debug doesn't use empty group name for lockdep.
common, crypto: give names to OpenSSL's mutexes.
common: tiny_vector – CPU-friendly container for mutexes & co.

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #29051 into master
Sage Weil [Wed, 17 Jul 2019 16:26:18 +0000 (11:26 -0500)]
Merge PR #29051 into master

* refs/pull/29051/head:
mon/OSDMonitor: tolerate duplicate MRemoveSnaps messages

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #28468 from jmolmo/ansible_orchestrator
Sebastian Wagner [Wed, 17 Jul 2019 15:09:25 +0000 (17:09 +0200)]
Merge pull request #28468 from jmolmo/ansible_orchestrator

mgr/ansible: RGW service

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
6 years agomgr: return perf_counters data timestamps in nanosecs 28882/head
Ricardo Dias [Thu, 4 Jul 2019 14:09:35 +0000 (15:09 +0100)]
mgr: return perf_counters data timestamps in nanosecs

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: frontend: move ellipsis to before progress in task execution description 28006/head
Ricardo Dias [Wed, 17 Jul 2019 11:37:53 +0000 (12:37 +0100)]
mgr/dashboard: frontend: move ellipsis to before progress in task execution description

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: test_pool: fix pool unit tests
Ricardo Dias [Tue, 16 Jul 2019 14:45:45 +0000 (15:45 +0100)]
mgr/dashboard: test_pool: fix pool unit tests

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: Add rudimentary pool create/exist/delete test 28928/head
Patrick Nawracay [Mon, 1 Jul 2019 15:42:55 +0000 (17:42 +0200)]
mgr/dashboard: Add rudimentary pool create/exist/delete test

Fixes: http://tracker.ceph.com/issues/38093
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoMerge branch 'master' into ansible_orchestrator 28468/head
Sebastian Wagner [Wed, 17 Jul 2019 13:37:11 +0000 (15:37 +0200)]
Merge branch 'master' into ansible_orchestrator

6 years agoos/bluestore: add slow op detector for collection listing 29085/head
Igor Fedotov [Wed, 17 Jul 2019 12:39:52 +0000 (15:39 +0300)]
os/bluestore: add slow op detector for collection listing

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoos/bluestore: parametrize latency threshold for log_latency funcs..
Igor Fedotov [Wed, 17 Jul 2019 11:53:19 +0000 (14:53 +0300)]
os/bluestore: parametrize latency threshold for log_latency funcs..

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agoos/bluestore: cleanup around slow op logging.
Igor Fedotov [Wed, 17 Jul 2019 11:35:58 +0000 (14:35 +0300)]
os/bluestore: cleanup around slow op logging.

We don't need macros any more.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
6 years agocrimson/net: apply strict checks when handle addresses 29057/head
Yingxin Cheng [Tue, 16 Jul 2019 08:53:40 +0000 (16:53 +0800)]
crimson/net: apply strict checks when handle addresses

* Apply strict checks at each step of addresses exchange, make sure we
  fail early when notice inconsistent addresses sent from peer;
* Throw error::bad_peer_address for address validation from peer;
* Stop learning my address before sending it out for peer as identity;
* Fix potential racing when try to learn my address by submit to core 0;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agopybind: check "CEPH_LIBDIR" not "MAKEFLAGS" 29080/head
Kefu Chai [Wed, 17 Jul 2019 10:46:43 +0000 (18:46 +0800)]
pybind: check "CEPH_LIBDIR" not "MAKEFLAGS"

if the used cmake generator is not "make", these environmental variables
won't be set, so let's just check for "CEPH_LIBDIR". it is set by cmake
function of `distutils_add_cython_module()` and
`distutils_install_cython_module()`

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomgr/dashboard: tests: fix tests by mocking progress service 29048/head
Ricardo Dias [Mon, 15 Jul 2019 15:12:36 +0000 (16:12 +0100)]
mgr/dashboard: tests: fix tests by mocking progress service

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: frontend/task.service: format task title for progress tasks
Ricardo Dias [Mon, 15 Jul 2019 14:11:07 +0000 (15:11 +0100)]
mgr/dashboard: frontend/task.service: format task title for progress tasks

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: add progress module tasks to list of dashboard tasks
Ricardo Dias [Mon, 15 Jul 2019 14:08:39 +0000 (15:08 +0100)]
mgr/dashboard: add progress module tasks to list of dashboard tasks

Fixes: https://tracker.ceph.com/issues/38202
Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: progress mgr module service
Ricardo Dias [Mon, 15 Jul 2019 14:07:42 +0000 (15:07 +0100)]
mgr/dashboard: progress mgr module service

This service module implements helper methods to retrieve
tasks information from the progress mgr module.

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/progress: persist started_at and finished_at timestamps
Ricardo Dias [Mon, 15 Jul 2019 14:07:00 +0000 (15:07 +0100)]
mgr/progress: persist started_at and finished_at timestamps

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/progress: export more event properties to json
Ricardo Dias [Mon, 15 Jul 2019 08:46:03 +0000 (09:46 +0100)]
mgr/progress: export more event properties to json

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: Add SSO guard service. 28935/head
Volker Theile [Wed, 17 Jul 2019 09:18:48 +0000 (11:18 +0200)]
mgr/dashboard: Add SSO guard service.

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Validate iSCSI controls min/max value 28942/head
Ricardo Marques [Tue, 9 Jul 2019 14:12:24 +0000 (15:12 +0100)]
mgr/dashboard: Validate iSCSI controls min/max value

Fixes: https://tracker.ceph.com/issues/38018
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Allow users to change their password on the UI
Volker Theile [Tue, 9 Jul 2019 07:57:44 +0000 (09:57 +0200)]
mgr/dashboard: Allow users to change their password on the UI

Fixes: https://tracker.ceph.com/issues/40248
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agocrimson/net: fix crimson-osd msgr policies
Yingxin Cheng [Tue, 16 Jul 2019 08:48:17 +0000 (16:48 +0800)]
crimson/net: fix crimson-osd msgr policies

Also add checks to make sure we have a valid target address with
lossless policy.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: use target_addr to store the address to reconnect
Yingxin Cheng [Tue, 16 Jul 2019 08:29:30 +0000 (16:29 +0800)]
crimson/net: use target_addr to store the address to reconnect

With lossless policy, we will use target_addr to reconnect to peer,
which would be more useful when we switch to entity_addrvec_t.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agotest/crimson: remove duplicated logging when connected
Yingxin Cheng [Tue, 16 Jul 2019 08:20:06 +0000 (16:20 +0800)]
test/crimson: remove duplicated logging when connected

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: set connection policy for v1 protocol
Yingxin Cheng [Tue, 16 Jul 2019 08:18:14 +0000 (16:18 +0800)]
crimson/net: set connection policy for v1 protocol

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: use set_ephemeral_port() for non-bound port
Yingxin Cheng [Tue, 16 Jul 2019 08:11:57 +0000 (16:11 +0800)]
crimson/net: use set_ephemeral_port() for non-bound port

Ephemeral port is different from the bound port when connecting, and
different from the peer_addr port when accepting.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agoMerge pull request #28959 from tchaikov/wip-crimson-op-write
Kefu Chai [Wed, 17 Jul 2019 03:26:43 +0000 (11:26 +0800)]
Merge pull request #28959 from tchaikov/wip-crimson-op-write

crimson/osd: differentiate write from writefull

Reviewed-by: Samuel Just <sjust@redhat.com>
6 years agodoc/releases/nautilus.rst: pool stats fix was merged for 14.2.2 after all
Sage Weil [Wed, 17 Jul 2019 01:21:56 +0000 (20:21 -0500)]
doc/releases/nautilus.rst: pool stats fix was merged for 14.2.2 after all

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #28861 from smanjara/wip-multi-meta
Ali Maredia [Tue, 16 Jul 2019 21:07:14 +0000 (17:07 -0400)]
Merge pull request #28861 from smanjara/wip-multi-meta

rgw/multisite: Don't allow certain radosgw-admin commands to run on non-master zone

6 years agoMerge pull request #28809 from joscollin/wip-fix-rgw-warning
Ali Maredia [Tue, 16 Jul 2019 20:57:51 +0000 (16:57 -0400)]
Merge pull request #28809 from joscollin/wip-fix-rgw-warning

rgw: Silence warning: control reaches end of non-void function

6 years agoMerge PR #28003 into master
Patrick Donnelly [Tue, 16 Jul 2019 20:40:03 +0000 (13:40 -0700)]
Merge PR #28003 into master

* refs/pull/28003/head:
client: do not return EEXIST for mkdirs
pybind/mgr/volumes: print exceptions in purge thread
pybind/mgr/volumes: refactor trash readdir
pybind/mgr/volumes: use existing client provided recursive mkdir
pybind/mgr/volumes: cleanup fs removal
pybind/mgr/subvolumes: use bytes for paths
pybind/mgr/volumes: remove unused property
test: add basic purge queue validation test
mgr / volumes: schedule purge job for volumes on init
mgr / volumes: purge queue for async subvolume delete
mgr / volumes: maintain connection pool for fs volumes
mgr / volumes: wrap rmtree() call within try..except block
mgr / volumes: use negative error codes everywhere
test: cleanup removing all subvolumes before removing subvolume group

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoselinux: Allow ceph to read udev db 29071/head
Boris Ranto [Tue, 16 Jul 2019 17:10:48 +0000 (19:10 +0200)]
selinux: Allow ceph to read udev db

We are using libudev and reading the udev db files because of that. We
need to allow ceph to access these files in the SELinux policy.

Signed-off-by: Boris Ranto <branto@redhat.com>
6 years agomon/MgrMonitor: make pg_autoscaler always on
Sage Weil [Tue, 16 Jul 2019 17:10:32 +0000 (12:10 -0500)]
mon/MgrMonitor: make pg_autoscaler always on

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoqa/tasks/ceph.conf.template: osd_pool_default_pg_autoscale_mode = off
Sage Weil [Wed, 24 Apr 2019 13:36:55 +0000 (08:36 -0500)]
qa/tasks/ceph.conf.template: osd_pool_default_pg_autoscale_mode = off

Otherwise we'll get pg count warnings in almost every test.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoMerge PR #29030 into master
Sage Weil [Tue, 16 Jul 2019 16:31:16 +0000 (11:31 -0500)]
Merge PR #29030 into master

* refs/pull/29030/head:
qa/tasks/ceph_deploy: assume systemd and simplify shutdown wonkiness

Reviewed-by: Alfredo Deza <adeza@redhat.com>