Commit Graph

99903 Commits

Author SHA1 Message Date
Kefu Chai
1e33464c0a cmake: use exact version of python if minor version is specified
`find_package(Python ${version}...)` tries to find the greater python version
which is greater than `${version}`, on fc30, at the time of writing, both
python3.8 and python3.7 are offered. but `python3-Cython` is packaged only
for python3.7. so if user installs python3.8, this will prevent user from
building Ceph. as Ceph will not be able to find Cython python module, as it
will try to run `python3.8 -m cython --version`, where python3.8 is the
greatest python version available in the system. but since cython module is
not available to python3.8, cmake will fail to find cython even if is available
to python3.7.

in this change, if user specifies a python version with minor version, we
will use the exact specified version instead of trying to use a version
greater than the specified one.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-24 00:45:22 +08:00
Kefu Chai
492efbd694 cmake: use python2 by default
and s/PYTHON_EXECUTABLE/Python_EXECUTABLE/

it's a regression introduced by 5e2bd7fc4d

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-22 16:07:56 +08:00
Kefu Chai
a1b9f60b3a
Merge pull request #29100 from tchaikov/wip-cmake-python-osx
cmake: use latest FindPython*.cmake

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-07-21 09:24:22 +08:00
Sage Weil
4f57e064f0 Merge PR #29012 into master
* refs/pull/29012/head:
	os/bluestore: proper locking for BlueFS prefetching

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-20 15:21:22 -05:00
Sage Weil
65008afcb1 Merge PR #29068 into master
* refs/pull/29068/head:
	os/bluestore: cleanup around allocator calls

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-20 15:21:01 -05:00
Sage Weil
dc32b1ac0e 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>
2019-07-20 15:20:31 -05:00
Sage Weil
3092393b43 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>
2019-07-20 15:19:47 -05:00
Sage Weil
1266eaf0f2 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>
2019-07-20 15:07:54 -05:00
Kefu Chai
79078f43e8 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>
2019-07-21 00:47:39 +08:00
Kefu Chai
606b9c1822 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>
2019-07-21 00:47:39 +08:00
Kefu Chai
5e2bd7fc4d 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>
2019-07-20 22:35:07 +08:00
Kefu Chai
893030e51a
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>
2019-07-20 11:32:09 +08:00
Kefu Chai
57d00693da
Merge pull request #28763 from tchaikov/wip-dpdk-fix-ftbfs
msg/async/dpdk: fix FTBFS

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-20 10:37:57 +08:00
Josh Durgin
234a400376
Merge pull request #29120 from neha-ojha/wip-add-write-omap
qa: add basic omap testing capability

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-19 14:46:22 -07:00
Sage Weil
7962a36849 doc/release/nautilus: 14.2.2 changes redone
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 16:01:50 -05:00
Neha Ojha
3a2abb94eb qa/suites/rados/perf: add op_size to radosbench_omap_write.yaml
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-07-19 13:16:50 -07:00
Patrick Donnelly
cd97739905
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>
2019-07-19 10:41:29 -07:00
Casey Bodley
707482beed
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>
2019-07-19 12:08:03 -04:00
Ricardo Marques
39c8542e7a
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>
2019-07-19 15:48:01 +01:00
Sage Weil
304760bfb4 qa/suites/upgrade: set pg_autoscale_mode=off on existing pools
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-19 09:46:37 -05:00
Kefu Chai
67a4a9b717
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>
2019-07-19 19:56:03 +08:00
Kefu Chai
02bf59ce09 script/sepia_bt.sh: remove stale script
this script is not actively maintained anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-19 18:37:53 +08:00
Kefu Chai
86ac0ab529
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>
2019-07-19 18:34:48 +08:00
Ricardo Marques
0394c96094
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>
2019-07-19 11:28:27 +01:00
Ricardo Dias
47639cd708
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>
2019-07-19 11:23:38 +01:00
Ricardo Dias
9cf74876c3
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>
2019-07-19 11:23:02 +01:00
Ricardo Dias
07c7850459
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>
2019-07-19 11:22:27 +01:00
Ricardo Dias
41e7f89130
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>
2019-07-19 11:21:42 +01:00
Valentin B
bfd703820f
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>
2019-07-19 12:03:55 +02:00
Sebastian Wagner
cc86d9e4a0
Merge pull request #28081 from sebastian-philipp/kubejacker-doc-update
doc/dev/kubernetes: Update

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
2019-07-19 10:22:30 +02:00
Kefu Chai
000be8e950
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>
2019-07-19 16:11:36 +08:00
Ricardo Marques
a74df9b26d mgr/dashboard: Evict a CephFS client
Fixes: https://tracker.ceph.com/issues/24892

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-07-19 09:00:15 +01:00
Ricardo Marques
6b1caa83cb 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>
2019-07-19 08:55:18 +01:00
Kiefer Chang
43a44f0693
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>
2019-07-19 15:36:06 +08:00
Rishabh Dave
4b77624070 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>
2019-07-19 10:05:18 +05:30
Patrick Donnelly
f21c7f0f58
Merge PR #29067 into master
* refs/pull/29067/head:
	qa/tasks: add exception in do_thrash()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-18 18:45:27 -07:00
Jos Collin
614eef907a
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>
2019-07-19 06:12:09 +05:30
Neha Ojha
9665aeb1e1 qa/suites/rados/perf: add objectsize to radosbench_omap_write.yaml
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-07-18 16:56:07 -07:00
Sage Weil
eaae322af7 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>
2019-07-18 16:10:08 -05:00
Patrick Donnelly
64059d6479
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>
2019-07-18 14:03:50 -07:00
Neha Ojha
83c3cb9c54 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>
2019-07-18 13:29:11 -07:00
Ali Maredia
d7e2acb86b
Merge pull request #22788 from adamyanova/wip-s3java
A task to run S3 Java tests against RGW
2019-07-18 14:37:50 -04:00
Neha Ojha
1bf14c543c qa: add basic omap testing capability
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-07-18 11:13:28 -07:00
Ricardo Marques
73bb2af22e
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>
2019-07-18 15:46:41 +01:00
Ricardo Marques
a95e7bf45a
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>
2019-07-18 15:44:41 +01:00
Sage Weil
0b3814432b 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>
2019-07-18 08:59:58 -05:00
Ricardo Marques
caea8feb01
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>
2019-07-18 14:37:19 +01:00
Ricardo Marques
ab1c42e3b1
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>
2019-07-18 14:32:23 +01:00
Ricardo Marques
acec7f906d mgr/dashboard: Increase col size on mgr module edit form
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-07-18 13:58:59 +01:00
Tiago Melo
2ee858042d mgr/dashboard: Disable event propagation in the helper icon
Fixes: http://tracker.ceph.com/issues/40715

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-18 12:24:38 +00:00