]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Sebastian Wagner [Wed, 17 Jul 2019 13:37:11 +0000 (15:37 +0200)]
Merge branch 'master' into ansible_orchestrator
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Rishabh Dave [Fri, 21 Jun 2019 10:36:01 +0000 (16:06 +0530)]
test_volume_client: add positive test for ceph_volume_client method
ceph_volume_client.py's put_object_versioned() has only one test. Since
this only test is a negative test it may fail to assure that
put_object_versioned() works as expected with positive inputs even when
it completes successfully. Therefore, write a positive test for better
coverage.
Also, make sure the new test is both python 2 and python3 compatible.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Fri, 21 Jun 2019 10:33:54 +0000 (16:03 +0530)]
test_volume_client: rename test_put_object_versioned()
test_put_object_versioned() is too generic for a negative test that
specifically tests if the version is verified before writing.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Fri, 21 Jun 2019 10:13:07 +0000 (15:43 +0530)]
test_volume_client: rewrite test_put_object_versioned
The test's success depends on whether CommandFailedError exception is
raised. This manner of testing is unreliable since there's no way to
check if the exception was raised by the statement (in the embedded
Python program) the test expects to.
This implies that this test's failure may go undetected. This is primary
reason why bugs like tracker #38946 occured despite of having a test.
Fixes: http://tracker.ceph.com/issues/39510
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Tue, 9 Jul 2019 14:26:40 +0000 (19:56 +0530)]
test_volume_client: use sudo_write_file() form teuthology
Instead of defining another method to write a file as root user in
test_volume_client.py, use the method from teuthology/misc.py.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Fri, 21 Jun 2019 09:26:49 +0000 (14:56 +0530)]
test_volume_client: make test_object_versioned py3 compatible
Convert strings to bytes in the Python program embedded inside this
test. Also, in the process don't lose Python 2 compatibility.
Fixes: http://tracker.ceph.com/issues/39405
Signed-off-by: Rishabh Dave <ridave@redhat.com>
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>
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>
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>
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>
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>
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>
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>