]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
6 years agocommon: add ref header
Patrick Donnelly [Wed, 17 Jul 2019 19:36:36 +0000 (12:36 -0700)]
common: add ref header

This enables the use of these handy ref templates outside of Message.h.
This is necessary for a future rework of #26348.

Signed-off-by: Patrick Donnelly <pdonnell@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 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 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
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
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
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
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
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
Sebastian Wagner [Wed, 17 Jul 2019 13:37:11 +0000 (15:37 +0200)]
Merge branch 'master' into ansible_orchestrator

6 years agomgr/dashboard: tests: fix tests by mocking progress service
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.
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: 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 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 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
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 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>
6 years agoMerge pull request #28994 from smithfarm/wip-40645
Ricardo Marques [Tue, 16 Jul 2019 15:48:10 +0000 (16:48 +0100)]
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>
6 years agoqa/tasks/ceph_deploy: assume systemd and simplify shutdown wonkiness
Sage Weil [Fri, 12 Jul 2019 19:06:10 +0000 (14:06 -0500)]
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>
6 years agoMerge PR #28839 into master
Sage Weil [Tue, 16 Jul 2019 15:07:53 +0000 (10:07 -0500)]
Merge PR #28839 into master

* refs/pull/28839/head:
osd: support osd_repair_during_recovery

Reviewed-by: David Zafman <dzafman@redhat.com>
6 years agoMerge PR #28907 into master
Sage Weil [Tue, 16 Jul 2019 15:07:37 +0000 (10:07 -0500)]
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>
6 years agoMerge PR #29027 into master
Sage Weil [Tue, 16 Jul 2019 15:07:02 +0000 (10:07 -0500)]
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>
6 years agoqa/tasks/ceph_manager: make upmap thrasher behave when no pools/pgs
Sage Weil [Tue, 16 Jul 2019 15:04:29 +0000 (10:04 -0500)]
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>
6 years agomgr/dashboard: pool: make _get and _wait_for_pgs class methods
Ricardo Dias [Tue, 16 Jul 2019 14:44:59 +0000 (15:44 +0100)]
mgr/dashboard: pool: make _get and _wait_for_pgs class methods

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agoMerge pull request #28820 from trociny/wip-journal-fetch-corrupt-end
Jason Dillaman [Tue, 16 Jul 2019 14:10:29 +0000 (10:10 -0400)]
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>
6 years agoclient: do not return EEXIST for mkdirs
Patrick Donnelly [Tue, 16 Jul 2019 13:52:23 +0000 (06:52 -0700)]
client: do not return EEXIST for mkdirs

Behavior should be similar to `mkdir -p`.

Introduced-by: 26905ca82776e8119a347a9a2e8d65c272c7ed62
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28633 from p-na/wip-pna-refactor-unit-tests
Ricardo Marques [Tue, 16 Jul 2019 13:13:28 +0000 (14:13 +0100)]
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>
6 years agoMerge pull request #28999 from rafaelquint/bucketstest3
Ricardo Marques [Tue, 16 Jul 2019 13:07:28 +0000 (14:07 +0100)]
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>
6 years agomgr/dashboard: Reduce code duplication through TableActionComponent Unit Tests
Tiago Melo [Tue, 28 May 2019 17:06:25 +0000 (17:06 +0000)]
mgr/dashboard: Reduce code duplication through TableActionComponent Unit Tests

Fixes: http://tracker.ceph.com/issues/40399
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agomgr/dashboard: E2E Tests for Create, Edit, Delete, and Invalid Input on RGW Buckets
Rafael Quintero [Thu, 11 Jul 2019 18:19:44 +0000 (14:19 -0400)]
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>
6 years agoMerge pull request #28879 from Devp00l/wip-40580
Ricardo Dias [Tue, 16 Jul 2019 10:48:39 +0000 (11:48 +0100)]
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>
6 years agoMerge pull request #28916 from p-na/wip-pna-fix-tag
Ricardo Marques [Tue, 16 Jul 2019 10:16:33 +0000 (11:16 +0100)]
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>
6 years agomgr/dashboard: Add missing closing tag for container
Patrick Nawracay [Tue, 16 Jul 2019 08:51:07 +0000 (10:51 +0200)]
mgr/dashboard: Add missing closing tag for container

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agoMerge pull request #27463 from rjfd/wip-dashboard-ssl-cert
Ricardo Marques [Tue, 16 Jul 2019 08:25:38 +0000 (09:25 +0100)]
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>
6 years agoMerge pull request #28213 from sebastian-philipp/orchestrator_cache
Sebastian Wagner [Tue, 16 Jul 2019 08:17:45 +0000 (10:17 +0200)]
Merge pull request #28213 from sebastian-philipp/orchestrator_cache

mgr/orchestrator: Add cache for Inventory and Services

Reviewed-by: Tim Serong <tserong@suse.com>
6 years agopybind/mgr/volumes: print exceptions in purge thread
Patrick Donnelly [Tue, 16 Jul 2019 01:27:31 +0000 (18:27 -0700)]
pybind/mgr/volumes: print exceptions in purge thread

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agopybind/mgr/volumes: refactor trash readdir
Patrick Donnelly [Mon, 15 Jul 2019 23:56:32 +0000 (16:56 -0700)]
pybind/mgr/volumes: refactor trash readdir

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agopybind/mgr/volumes: use existing client provided recursive mkdir
Patrick Donnelly [Mon, 15 Jul 2019 23:39:50 +0000 (16:39 -0700)]
pybind/mgr/volumes: use existing client provided recursive mkdir

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agopybind/mgr/volumes: cleanup fs removal
Patrick Donnelly [Mon, 15 Jul 2019 20:09:06 +0000 (13:09 -0700)]
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>
6 years agopybind/mgr/subvolumes: use bytes for paths
Patrick Donnelly [Wed, 10 Jul 2019 23:08:29 +0000 (16:08 -0700)]
pybind/mgr/subvolumes: use bytes for paths

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge pull request #28700 from batrick/i39620
Jos Collin [Tue, 16 Jul 2019 04:06:11 +0000 (09:36 +0530)]
Merge pull request #28700 from batrick/i39620

doc/cephfs: improve add/remove MDS section

Reviewed-by: Jos Collin <jcollin@redhat.com>
6 years agoMerge pull request #29033 from neha-ojha/wip-add-yt
Neha Ojha [Mon, 15 Jul 2019 18:31:45 +0000 (11:31 -0700)]
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>
6 years agoMerge pull request #28649 from votdev/issue_40427
Ricardo Marques [Mon, 15 Jul 2019 17:51:16 +0000 (18:51 +0100)]
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>
6 years agomon/OSDMonitor: tolerate duplicate MRemoveSnaps messages
Sage Weil [Mon, 15 Jul 2019 17:48:40 +0000 (12:48 -0500)]
mon/OSDMonitor: tolerate duplicate MRemoveSnaps messages

Fixes: http://tracker.ceph.com/issues/40774
Signed-off-by: Sage Weil <sage@redhat.com>
6 years agodoc/mgr/dashboard: update SSL configuration instructions
Ricardo Dias [Tue, 9 Apr 2019 12:46:34 +0000 (13:46 +0100)]
doc/mgr/dashboard: update SSL configuration instructions

Signed-off-by: Ricardo Dias <rdias@suse.com>
6 years agomgr/dashboard: added CLI commands to set SSL certificate and key
Ricardo Dias [Tue, 9 Apr 2019 12:42:57 +0000 (13:42 +0100)]
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>
6 years agoRevert "mgr/dashboard: Add nolockdep option to e2e-script"
Radoslaw Zarzynski [Mon, 15 Jul 2019 14:53:47 +0000 (10:53 -0400)]
Revert "mgr/dashboard: Add nolockdep option to e2e-script"

This reverts commit d92117d8ea7018c533cc422e31c09d7e45a0793a
at the rason for it has been fixed.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: refactor handling of lockdep's group name in debug locks.
Radoslaw Zarzynski [Sat, 13 Jul 2019 00:00:27 +0000 (20:00 -0400)]
common: refactor handling of lockdep's group name in debug locks.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: shared_mutex_debug doesn't use empty group name for lockdep.
Radoslaw Zarzynski [Fri, 12 Jul 2019 16:17:09 +0000 (12:17 -0400)]
common: shared_mutex_debug doesn't use empty group name for lockdep.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon, crypto: give names to OpenSSL's mutexes.
Radoslaw Zarzynski [Fri, 12 Jul 2019 13:44:38 +0000 (09:44 -0400)]
common, crypto: give names to OpenSSL's mutexes.

Fixes: http://tracker.ceph.com/issues/40698
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agocommon: tiny_vector – CPU-friendly container for mutexes & co.
Radoslaw Zarzynski [Tue, 30 Jan 2018 00:01:00 +0000 (01:01 +0100)]
common: tiny_vector – CPU-friendly container for mutexes & co.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agomgr/dashboard: Pool form uses different loading spinner
Volker Theile [Fri, 5 Jul 2019 08:40:01 +0000 (10:40 +0200)]
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>
6 years agoMerge pull request #29043 from votdev/issue_40778
Ricardo Marques [Mon, 15 Jul 2019 14:30:01 +0000 (15:30 +0100)]
Merge pull request #29043 from votdev/issue_40778

mgr/dashboard: Form fields do not show error messages/hints.

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge PR #28951 into master
Patrick Donnelly [Mon, 15 Jul 2019 14:00:46 +0000 (07:00 -0700)]
Merge PR #28951 into master

* refs/pull/28951/head:
mds: apply configuration changes through MDSRank
common/TrackedOp: make settings atomic

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/osd/heartbeat: use v2 address also
Kefu Chai [Mon, 15 Jul 2019 07:49:35 +0000 (15:49 +0800)]
crimson/osd/heartbeat: use v2 address also

as we support v2 protocol, so no need to pick v1 address.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agomessages/MOSDRepOpReply: include necessary header
Kefu Chai [Mon, 15 Jul 2019 04:14:13 +0000 (12:14 +0800)]
messages/MOSDRepOpReply: include necessary header

for accessing the member variables of `MOSDRepOp`, we should include its
header file for its definition.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #28964 from cbodley/wip-qa-workunit-s3tests
Casey Bodley [Mon, 15 Jul 2019 13:14:41 +0000 (09:14 -0400)]
Merge pull request #28964 from cbodley/wip-qa-workunit-s3tests

qa/rgw: update run-s3tests.sh

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
6 years agomgr/dashboard: Add linter for unclosed HTML tags
Patrick Nawracay [Mon, 8 Jul 2019 09:42:45 +0000 (11:42 +0200)]
mgr/dashboard: Add linter for unclosed HTML tags

Fixes: http://tracker.ceph.com/issues/40686
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
6 years agomgr/dashboard: Form fields do not show error messages/hints.
Volker Theile [Mon, 15 Jul 2019 10:09:57 +0000 (12:09 +0200)]
mgr/dashboard: Form fields do not show error messages/hints.

Fixes: https://tracker.ceph.com/issues/40778
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #28682 from cyx1231st/wip-seastar-msgr-socket2
Kefu Chai [Mon, 15 Jul 2019 07:46:13 +0000 (15:46 +0800)]
Merge pull request #28682 from cyx1231st/wip-seastar-msgr-socket2

crimson/net: implement preemptive shutdown/close

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/osd: an MOSDOp should be waiting for min_epoch
Kefu Chai [Fri, 12 Jul 2019 06:48:37 +0000 (14:48 +0800)]
crimson/osd: an MOSDOp should be waiting for min_epoch

for MOSDOp, get_min_epoch() is an alias of get_map_epoch(), but
get_min_epoch() is symantically more correct.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agocrimson/osd: add a dedicate code path for WRITE
Kefu Chai [Wed, 10 Jul 2019 12:07:36 +0000 (20:07 +0800)]
crimson/osd: add a dedicate code path for WRITE

differentiate WRITE from WRITEALL.
and handles differnt cases of `os.oi.truncate_seq` caused by
`write_trunc` and/or `trunc` ops.

Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #26104 into master
Patrick Donnelly [Sat, 13 Jul 2019 00:18:02 +0000 (17:18 -0700)]
Merge PR #26104 into master

* refs/pull/26104/head:
client/Client: change dir's size delta to current write file size delta

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #28683 into master
Patrick Donnelly [Sat, 13 Jul 2019 00:16:53 +0000 (17:16 -0700)]
Merge PR #28683 into master

* refs/pull/28683/head:
mon/MDSMonitor: use stringstream instead of dout for mds repaired

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #28710 into master
Patrick Donnelly [Sat, 13 Jul 2019 00:16:02 +0000 (17:16 -0700)]
Merge PR #28710 into master

* refs/pull/28710/head:
cephfs-shell: Remove undefined variable files in do_rm()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #28831 into master
Patrick Donnelly [Sat, 13 Jul 2019 00:15:01 +0000 (17:15 -0700)]
Merge PR #28831 into master

* refs/pull/28831/head:
client: support the fallocate() when fuse version >= 2.9

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
6 years agoMerge PR #28906 into master
Patrick Donnelly [Sat, 13 Jul 2019 00:14:20 +0000 (17:14 -0700)]
Merge PR #28906 into master

* refs/pull/28906/head:
cephfs-shell: Fix TypeError in poutput()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: apply configuration changes through MDSRank
Patrick Donnelly [Mon, 8 Jul 2019 17:30:26 +0000 (10:30 -0700)]
mds: apply configuration changes through MDSRank

This avoids the need to acquire the mds_lock prior to responding to config
changes. The MDSRank can create a finisher context that acquires the lock
later.

Fixes: https://tracker.ceph.com/issues/40694
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agocommon/TrackedOp: make settings atomic
Patrick Donnelly [Mon, 8 Jul 2019 19:42:18 +0000 (12:42 -0700)]
common/TrackedOp: make settings atomic

To avoid locks on configuration changes.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agodoc/cephfs: improve add/remove MDS section
Patrick Donnelly [Sat, 22 Jun 2019 00:17:01 +0000 (17:17 -0700)]
doc/cephfs: improve add/remove MDS section

Include hardware details and update language for modern tools.

Fixes: http://tracker.ceph.com/issues/39620
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agodoc/dev/developer_guide/index.rst: add youtube references
Neha Ojha [Fri, 12 Jul 2019 23:27:56 +0000 (16:27 -0700)]
doc/dev/developer_guide/index.rst: add youtube references

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge PR #28978 into master
Sage Weil [Fri, 12 Jul 2019 22:21:05 +0000 (17:21 -0500)]
Merge PR #28978 into master

* refs/pull/28978/head:
qa/tasks/mgr/dashboard/test_health: fix test_full_health test
mon: use per-pool stats only when all OSDs are reporting
osd: report whether we have per-pool stats
osd/osd_types: osd_stat_t: include num_per_pool_osds member

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
6 years agoMerge PR #29003 into master
Sage Weil [Fri, 12 Jul 2019 22:20:47 +0000 (17:20 -0500)]
Merge PR #29003 into master

* refs/pull/29003/head:
qa/standalone/scrub/osd-scrub-snaps.sh: adjust expected output
osd/SnapMapper: to_raw_key: use hobject pool member, not SnapMapper:pool
ceph-objectstore-tool: fix use of SnapSet::snaps
qa/standalone/scrub/osd-scrub-snaps: fix kv grep

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #29013 into master
Sage Weil [Fri, 12 Jul 2019 22:20:21 +0000 (17:20 -0500)]
Merge PR #29013 into master

* refs/pull/29013/head:
qa/tasks/ceph_manager: 5s -> 15s for 'osd out' to be visible

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #28998 from alfredodeza/wip-rm40664
Andrew Schoen [Fri, 12 Jul 2019 18:17:38 +0000 (13:17 -0500)]
Merge pull request #28998 from alfredodeza/wip-rm40664

ceph-volume  zap always skips block.db, leaves them around

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agocommon/options: Set concurrent bluestore rocksdb compactions to 2
Mark Nelson [Fri, 12 Jul 2019 16:45:17 +0000 (12:45 -0400)]
common/options: Set concurrent bluestore rocksdb compactions to 2

Signed-off-by: Mark Nelson <mnelson@redhat.com>
6 years agomgr/dashboard: controllers/grafana is not Python3 compatible (#28956)
Lenz Grimmer [Fri, 12 Jul 2019 15:02:42 +0000 (17:02 +0200)]
mgr/dashboard: controllers/grafana is not Python3 compatible (#28956)

mgr/dashboard: controllers/grafana is not Python3 compatible

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #28979 from falcon78921/wip-doc-18197
Jason Dillaman [Fri, 12 Jul 2019 15:00:34 +0000 (11:00 -0400)]
Merge pull request #28979 from falcon78921/wip-doc-18197

doc: updated OpenStack rbd documentation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoqa/standalone/scrub/osd-scrub-snaps.sh: adjust expected output
Sage Weil [Thu, 11 Jul 2019 22:23:57 +0000 (17:23 -0500)]
qa/standalone/scrub/osd-scrub-snaps.sh: adjust expected output

SnapSet now dumps just seq, not a (fake) SnapContext.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoosd/SnapMapper: to_raw_key: use hobject pool member, not SnapMapper:pool
Sage Weil [Thu, 11 Jul 2019 22:21:23 +0000 (17:21 -0500)]
osd/SnapMapper: to_raw_key: use hobject pool member, not SnapMapper:pool

Some callers (ceph-objectstore-tool) instantiate SnapMapper with a bogus
pool id (0) and want to use it to adjust mappings.  We have the hobj
available, so use its pool member instead.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agoceph-objectstore-tool: fix use of SnapSet::snaps
Sage Weil [Thu, 11 Jul 2019 22:20:19 +0000 (17:20 -0500)]
ceph-objectstore-tool: fix use of SnapSet::snaps

Instead, use clone_snaps to identify clones.

Signed-off-by: Sage Weil <sage@redhat.com>
6 years agomgr/dashboard: Minor fixes (#29009)
Lenz Grimmer [Fri, 12 Jul 2019 14:01:11 +0000 (16:01 +0200)]
mgr/dashboard: Minor fixes (#29009)

mgr/dashboard: Minor fixes

- Fix radio input display
- Fix the close button on initiators card
- Fix missing 'fa-' prefix in spinner icon
- Fix label font-weight

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>