Commit Graph

99850 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Ricardo Dias 78952c900b
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>
2019-07-18 12:18:16 +01:00
Sage Weil 1bd6b810f6 doc/releases/nautilus: move note to 14.2.2
Oops! This change was merged in 404ed645d4,
which was not part of 14.2.1 after all.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 17:26:38 -05:00
Sage Weil 38d6f1514f doc/releases/nautilus: typo
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 17:25:53 -05:00
Sage Weil a4bfe96cd1 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>
2019-07-17 17:20:12 -05:00
Patrick Donnelly 78564dcd0e
Merge PR #29095 into master
* refs/pull/29095/head:
	script/ptl-tool: update for python3

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-17 12:49:05 -07:00
Patrick Donnelly 22ed9709a9
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>
2019-07-17 11:53:58 -07:00
Patrick Donnelly 1cc086ad5b
script/ptl-tool: update for python3
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-17 11:14:31 -07:00
Sage Weil 29c52b8e16 Merge PR #29071 into master
* refs/pull/29071/head:
	selinux: Allow ceph to read udev db

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-17 12:00:50 -05:00
Sage Weil deed241fcc 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>
2019-07-17 11:55:42 -05:00
Sage Weil 3515c2aa41 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>
2019-07-17 11:27:15 -05:00
Sage Weil bb32b095a1 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>
2019-07-17 11:26:18 -05:00
Sebastian Wagner 36d4408e85
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>
2019-07-17 17:09:25 +02:00
Ricardo Dias b758a82dbb
mgr: return perf_counters data timestamps in nanosecs
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 16:07:19 +01:00
Ricardo Dias 0d735159b4
mgr/dashboard: frontend: move ellipsis to before progress in task execution description
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 15:20:12 +01:00
Ricardo Dias 8728bf47db
mgr/dashboard: test_pool: fix pool unit tests
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 15:20:11 +01:00
Patrick Nawracay d5b508809e mgr/dashboard: Add rudimentary pool create/exist/delete test
Fixes: http://tracker.ceph.com/issues/38093

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-07-17 15:38:57 +02:00
Sebastian Wagner 57b96c6705
Merge branch 'master' into ansible_orchestrator 2019-07-17 15:37:11 +02:00
Ricardo Dias 5cd8b3bb36
mgr/dashboard: tests: fix tests by mocking progress service
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:51 +01:00
Ricardo Dias f374e274a8
mgr/dashboard: frontend/task.service: format task title for progress tasks
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:50 +01:00
Ricardo Dias 96ff50e883
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>
2019-07-17 11:50:50 +01:00
Ricardo Dias 63334ee2b2
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>
2019-07-17 11:50:50 +01:00
Ricardo Dias a3d56ebaa2
mgr/progress: persist started_at and finished_at timestamps
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:50 +01:00
Ricardo Dias 28b57d5d1f
mgr/progress: export more event properties to json
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:21:41 +01:00
Volker Theile 84628f48a5 mgr/dashboard: Add SSO guard service.
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-07-17 12:03:09 +02:00
Ricardo Marques 961ba7ea1c mgr/dashboard: Validate iSCSI controls min/max value
Fixes: https://tracker.ceph.com/issues/38018

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-07-17 10:09:04 +01:00
Volker Theile ee80139fa0 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>
2019-07-17 11:00:58 +02:00
Kefu Chai 92eaa76f3d
Merge pull request #28959 from tchaikov/wip-crimson-op-write
crimson/osd: differentiate write from writefull

Reviewed-by: Samuel Just <sjust@redhat.com>
2019-07-17 11:26:43 +08:00
Sage Weil 91c2643144 doc/releases/nautilus.rst: pool stats fix was merged for 14.2.2 after all
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-16 20:21:56 -05:00