Commit Graph

99798 Commits

Author SHA1 Message Date
Ricardo Dias
658bd35b96
mgr/dashboard: qa: whitelist client eviction warning
This warning is caused by the recent changes to the volumes
module that cache the CephFS handles.
Commit 5c41e949af

Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-18 15:44:04 +01: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
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
Sebastian Wagner
57b96c6705
Merge branch 'master' into ansible_orchestrator 2019-07-17 15:37:11 +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
Ali Maredia
122b1b6695
Merge pull request #28861 from smanjara/wip-multi-meta
rgw/multisite: Don't allow certain radosgw-admin commands to run on non-master zone
2019-07-16 17:07:14 -04:00
Ali Maredia
e50628b58c
Merge pull request #28809 from joscollin/wip-fix-rgw-warning
rgw: Silence warning: control reaches end of non-void function
2019-07-16 16:57:51 -04:00
Patrick Donnelly
df78003054
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>
2019-07-16 13:40:10 -07:00
Boris Ranto
ef191068d6 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>
2019-07-16 19:10:51 +02:00
Sage Weil
fc597d449f 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>
2019-07-16 11:31:16 -05:00
Ricardo Marques
a043fc8568
Merge pull request #28994 from smithfarm/wip-40645
build/ops: run "npm ci" with a one-hour timeout

Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-16 16:48:10 +01:00
Sage Weil
97a45c9c2e qa/tasks/ceph_deploy: assume systemd and simplify shutdown wonkiness
The 'service' command was succeeding but not actually stopping ceph.  But
we can safely assume systemd now so get rid of the weirdness here.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-16 10:25:15 -05:00
Sage Weil
1b46267cf7 Merge PR #28839 into master
* refs/pull/28839/head:
	osd: support osd_repair_during_recovery

Reviewed-by: David Zafman <dzafman@redhat.com>
2019-07-16 10:07:53 -05:00
Sage Weil
bb72ea8eab Merge PR #28907 into master
* refs/pull/28907/head:
	mgr/progress: added the time an event has been in progress
	mgr/progress: added the time an event has been in progress
	mgr/progress: added the time an event has been in progress
	mgr/progress: added the time an event has been in progress

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-16 10:07:37 -05:00
Sage Weil
56cd62a14d Merge PR #29027 into master
* refs/pull/29027/head:
	common/options: Set concurrent bluestore rocksdb compactions to 2

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-16 10:07:02 -05:00
Sage Weil
e7ca5a92d4 qa/tasks/ceph_manager: make upmap thrasher behave when no pools/pgs
Fixes: https://tracker.ceph.com/issues/40635
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-16 10:04:35 -05:00
Jason Dillaman
353ceeb698
Merge pull request #28820 from trociny/wip-journal-fetch-corrupt-end
journal: return error after first corruption detected

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-07-16 10:10:29 -04:00
Patrick Donnelly
b049eb9bbc
client: do not return EEXIST for mkdirs
Behavior should be similar to `mkdir -p`.

Introduced-by: 26905ca827
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-16 06:52:23 -07:00
Ricardo Marques
498eec659f
Merge pull request #28633 from p-na/wip-pna-refactor-unit-tests
mgr/dashboard: Reduce code duplication through TableActionComponent UnitTests

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-16 14:13:28 +01:00
Ricardo Marques
9804db3e83
Merge pull request #28999 from rafaelquint/bucketstest3
mgr/dashboard: RGW bucket E2E Tests

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-16 14:07:28 +01:00
Tiago Melo
2da5430614 mgr/dashboard: Reduce code duplication through TableActionComponent Unit Tests
Fixes: http://tracker.ceph.com/issues/40399

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-07-16 13:52:02 +02:00
Rafael Quintero
fb025001bd mgr/dashboard: E2E Tests for Create, Edit, Delete, and Invalid Input on RGW Buckets
Fixes: https://tracker.ceph.com/issues/40372
Fixes: https://tracker.ceph.com/issues/40484
Fixes: https://tracker.ceph.com/issues/40259

Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Rafael Quintero <rquinter@redhat.com>
2019-07-16 07:11:22 -04:00
Ricardo Dias
d4049a5ad6
Merge pull request #28879 from Devp00l/wip-40580
mgr/dashboard: Fix the table mouseenter event handling test

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-16 11:48:39 +01:00
Ricardo Marques
78e580bc7c
Merge pull request #28916 from p-na/wip-pna-fix-tag
mgr/dashboard: Add linter for unclosed HTML tags

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-16 11:16:33 +01:00
Patrick Nawracay
07a97a7dee mgr/dashboard: Add missing closing tag for container
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-07-16 10:51:07 +02:00
Ricardo Marques
ec02aa9541
Merge pull request #27463 from rjfd/wip-dashboard-ssl-cert
mgr/dashboard: commands to set SSL certificate and key

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-16 09:25:38 +01:00
Sebastian Wagner
9c4795dab2
Merge pull request #28213 from sebastian-philipp/orchestrator_cache
mgr/orchestrator: Add cache for Inventory and Services

Reviewed-by: Tim Serong <tserong@suse.com>
2019-07-16 10:17:45 +02:00
Patrick Donnelly
ecf8502395
pybind/mgr/volumes: print exceptions in purge thread
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-15 21:42:17 -07:00
Patrick Donnelly
e71e9187ec
pybind/mgr/volumes: refactor trash readdir
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-15 21:42:17 -07:00
Patrick Donnelly
e9c314abd0
pybind/mgr/volumes: use existing client provided recursive mkdir
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-15 21:42:17 -07:00
Patrick Donnelly
7cc4b72305
pybind/mgr/volumes: cleanup fs removal
In Nautilus, the simplest sequence is:

    fs fail name
    fs rm name --yes-i-really-mean-it

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-15 21:42:17 -07:00
Patrick Donnelly
3d63cd947f
pybind/mgr/subvolumes: use bytes for paths
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-15 21:42:13 -07:00
Jos Collin
35657ce8e7
Merge pull request #28700 from batrick/i39620
doc/cephfs: improve add/remove MDS section

Reviewed-by: Jos Collin <jcollin@redhat.com>
2019-07-16 09:36:11 +05:30
Neha Ojha
f537db9583
Merge pull request #29033 from neha-ojha/wip-add-yt
doc/dev/developer_guide/index.rst: add youtube references

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
2019-07-15 11:31:45 -07:00
Ricardo Marques
1f2430a547
Merge pull request #28649 from votdev/issue_40427
mgr/dashboard: Pool form uses different loading spinner

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-15 18:51:16 +01:00
Sage Weil
1624883890 mon/OSDMonitor: tolerate duplicate MRemoveSnaps messages
Fixes: http://tracker.ceph.com/issues/40774
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-15 12:48:40 -05:00
Ricardo Dias
69895dd516
doc/mgr/dashboard: update SSL configuration instructions
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-15 15:56:14 +01:00
Ricardo Dias
7648d294bf
mgr/dashboard: added CLI commands to set SSL certificate and key
Fixes: https://tracker.ceph.com/issues/39123

Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-15 15:56:14 +01:00
Radoslaw Zarzynski
8ba6775350 Revert "mgr/dashboard: Add nolockdep option to e2e-script"
This reverts commit d92117d8ea
at the rason for it has been fixed.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-07-15 10:53:47 -04:00
Radoslaw Zarzynski
0844a209aa common: refactor handling of lockdep's group name in debug locks.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-07-15 10:53:45 -04:00
Radoslaw Zarzynski
2118ca4bd5 common: shared_mutex_debug doesn't use empty group name for lockdep.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-07-15 10:53:45 -04:00
Radoslaw Zarzynski
c466a625f7 common, crypto: give names to OpenSSL's mutexes.
Fixes: http://tracker.ceph.com/issues/40698
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-07-15 10:53:45 -04:00
Radoslaw Zarzynski
82e7b78269 common: tiny_vector – CPU-friendly container for mutexes & co.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-07-15 10:53:45 -04:00
Volker Theile
3606ea21be mgr/dashboard: Pool form uses different loading spinner
Use the 'cd-loading-panel' element to display the loading progress.

Fixes: https://tracker.ceph.com/issues/40427

Signed-off-by: Volker Theile <vtheile@suse.com>
2019-07-15 16:45:46 +02:00