]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agomgr/dashboard: select placement target on RGW bucket creation 28764/head
alfonsomthd [Fri, 19 Jul 2019 14:02:44 +0000 (16:02 +0200)]
mgr/dashboard: select placement target on RGW bucket creation

* Select a placement target from the zone that the RGW daemon is running on.

Fixes: https://tracker.ceph.com/issues/40567
Signed-off-by: alfonsomthd <almartin@redhat.com>
6 years agoMerge pull request #29057 from cyx1231st/wip-seastar-msgr-loggingv2
Kefu Chai [Fri, 19 Jul 2019 10:34:48 +0000 (18:34 +0800)]
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>
6 years agoMerge pull request #29105 from tspmelo/wip-prevent-propagation
Ricardo Marques [Fri, 19 Jul 2019 10:28:27 +0000 (11:28 +0100)]
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>
6 years agoMerge pull request #29107 from ricardoasmarques/label-col-size-mgr-module-form
Ricardo Dias [Fri, 19 Jul 2019 10:23:38 +0000 (11:23 +0100)]
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>
6 years agoMerge pull request #29112 from ricardoasmarques/iscsi-gateway-status-health-page
Ricardo Dias [Fri, 19 Jul 2019 10:23:02 +0000 (11:23 +0100)]
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>
6 years agoMerge pull request #28942 from ricardoasmarques/validate-iscsi-controls
Ricardo Dias [Fri, 19 Jul 2019 10:22:27 +0000 (11:22 +0100)]
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>
6 years agoMerge pull request #28898 from ricardoasmarques/cephfs-client-evict
Ricardo Dias [Fri, 19 Jul 2019 10:21:42 +0000 (11:21 +0100)]
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>
6 years agoMerge pull request #28081 from sebastian-philipp/kubejacker-doc-update
Sebastian Wagner [Fri, 19 Jul 2019 08:22:30 +0000 (10:22 +0200)]
Merge pull request #28081 from sebastian-philipp/kubejacker-doc-update

doc/dev/kubernetes: Update

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
6 years agoMerge pull request #29125 from bk201/wip-40827
Kefu Chai [Fri, 19 Jul 2019 08:11:36 +0000 (16:11 +0800)]
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>
6 years agomgr/dashboard: Evict a CephFS client 28898/head
Ricardo Marques [Thu, 4 Jul 2019 15:56:24 +0000 (16:56 +0100)]
mgr/dashboard: Evict a CephFS client

Fixes: https://tracker.ceph.com/issues/24892
Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Show iSCSI gateways status in the health page 29112/head
Ricardo Marques [Thu, 18 Jul 2019 14:37:21 +0000 (15:37 +0100)]
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>
6 years agomgr/dashboard: fix tox test failure 29125/head
Kiefer Chang [Fri, 19 Jul 2019 07:30:36 +0000 (15:30 +0800)]
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>
6 years agoMerge PR #29067 into master
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>
6 years agoqa/tasks: add exception in do_thrash() 29067/head
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>
6 years agoMerge PR #29011 into master
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>
6 years agoMerge PR #28692 into master
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>
6 years agoMerge pull request #22788 from adamyanova/wip-s3java
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

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 agomgr/dashboard: Increase col size on mgr module edit form 29107/head
Ricardo Marques [Thu, 18 Jul 2019 12:58:59 +0000 (13:58 +0100)]
mgr/dashboard: Increase col size on mgr module edit form

Signed-off-by: Ricardo Marques <rimarques@suse.com>
6 years agomgr/dashboard: Disable event propagation in the helper icon 29105/head
Tiago Melo [Thu, 18 Jul 2019 12:24:38 +0000 (12:24 +0000)]
mgr/dashboard: Disable event propagation in the helper icon

Fixes: http://tracker.ceph.com/issues/40715
Signed-off-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 agodoc/releases/nautilus: move note to 14.2.2 29011/head
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>
6 years agodoc/releases/nautilus: typo
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>
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 29095/head
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 29092/head
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 28882/head
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 28006/head
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 28928/head
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 28468/head
Sebastian Wagner [Wed, 17 Jul 2019 13:37:11 +0000 (15:37 +0200)]
Merge branch 'master' into ansible_orchestrator

6 years agocrimson/net: apply strict checks when handle addresses 29057/head
Yingxin Cheng [Tue, 16 Jul 2019 08:53:40 +0000 (16:53 +0800)]
crimson/net: apply strict checks when handle addresses

* Apply strict checks at each step of addresses exchange, make sure we
  fail early when notice inconsistent addresses sent from peer;
* Throw error::bad_peer_address for address validation from peer;
* Stop learning my address before sending it out for peer as identity;
* Fix potential racing when try to learn my address by submit to core 0;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agomgr/dashboard: tests: fix tests by mocking progress service 29048/head
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. 28935/head
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: Validate iSCSI controls min/max value 28942/head
Ricardo Marques [Tue, 9 Jul 2019 14:12:24 +0000 (15:12 +0100)]
mgr/dashboard: Validate iSCSI controls min/max value

Fixes: https://tracker.ceph.com/issues/38018
Signed-off-by: Ricardo Marques <rimarques@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 agocrimson/net: fix crimson-osd msgr policies
Yingxin Cheng [Tue, 16 Jul 2019 08:48:17 +0000 (16:48 +0800)]
crimson/net: fix crimson-osd msgr policies

Also add checks to make sure we have a valid target address with
lossless policy.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: use target_addr to store the address to reconnect
Yingxin Cheng [Tue, 16 Jul 2019 08:29:30 +0000 (16:29 +0800)]
crimson/net: use target_addr to store the address to reconnect

With lossless policy, we will use target_addr to reconnect to peer,
which would be more useful when we switch to entity_addrvec_t.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agotest/crimson: remove duplicated logging when connected
Yingxin Cheng [Tue, 16 Jul 2019 08:20:06 +0000 (16:20 +0800)]
test/crimson: remove duplicated logging when connected

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: set connection policy for v1 protocol
Yingxin Cheng [Tue, 16 Jul 2019 08:18:14 +0000 (16:18 +0800)]
crimson/net: set connection policy for v1 protocol

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: use set_ephemeral_port() for non-bound port
Yingxin Cheng [Tue, 16 Jul 2019 08:11:57 +0000 (16:11 +0800)]
crimson/net: use set_ephemeral_port() for non-bound port

Ephemeral port is different from the bound port when connecting, and
different from the peer_addr port when accepting.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.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 agodoc/releases/nautilus.rst: pool stats fix was merged for 14.2.2 after all
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>
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 29071/head
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 29030/head
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 29069/head
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 28003/head
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 28633/head
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 agocrimson/net: printable accept address
Yingxin Cheng [Tue, 16 Jul 2019 08:02:16 +0000 (16:02 +0800)]
crimson/net: printable accept address

entity_addr_t::TYPE_NONE is not printable, change to TYPE_ANY.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: unify loggings for message exchange
Yingxin Cheng [Thu, 11 Jul 2019 13:10:00 +0000 (21:10 +0800)]
crimson/net: unify loggings for message exchange

* remove duplicated information in message logs,
  because connection prefix already contains information about:
  "[my_name(my_logic_name) my_addr >> peer_name peer_addr]"
* unify message logs for both v1 and v2;
* continue to use familiar identifiers to highlight message logs:
  - received messages identified by "<== #seq === msg (type)";
  - sent messages identified by "--> #seq === msg (type)";

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: clean up loggings in v2 protocol
Yingxin Cheng [Thu, 11 Jul 2019 12:38:25 +0000 (20:38 +0800)]
crimson/net: clean up loggings in v2 protocol

Defind log levels in V2 Protocol:
* error level, something error that cause connection to terminate:
  - fatal errors;
  - bugs;
* warn level: something unusual that identifies connection fault or replacement:
  - unstable network;
  - incompatible peer;
  - auth failure;
  - connection race;
  - connection reset;
* info level, something very important to show connection lifecycle,
  which doesn't happen very frequently;
* debug level, important logs for debugging, including:
  - all the messages sent/received (-->/<==);
  - all the frames exchanged (WRITE/GOT);
  - important fields updated (UPDATE);
  - connection state transitions (TRIGGER);
* trace level, trivial logs showing:
  - the exact bytes being sent/received (SEND/RECV(bytes));
  - detailed information of sub-frames;
  - integrity checks;
  - etc.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: cleanup, rename _peer_addr to _my_addr_from_peer
Yingxin Cheng [Tue, 16 Jul 2019 11:39:30 +0000 (19:39 +0800)]
crimson/net: cleanup, rename _peer_addr to _my_addr_from_peer

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: abort with unhandled exceptions from dispatcher
Yingxin Cheng [Tue, 16 Jul 2019 11:38:51 +0000 (19:38 +0800)]
crimson/net: abort with unhandled exceptions from dispatcher

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: cleanup, fix spelling error
Yingxin Cheng [Tue, 16 Jul 2019 11:36:54 +0000 (19:36 +0800)]
crimson/net: cleanup, fix spelling error

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agocrimson/net: cleanup, return void from unexpected_tag()
Yingxin Cheng [Tue, 16 Jul 2019 11:34:32 +0000 (19:34 +0800)]
crimson/net: cleanup, return void from unexpected_tag()

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agomgr/dashboard: E2E Tests for Create, Edit, Delete, and Invalid Input on RGW Buckets 28999/head
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 agocrimson/net: unify the usage of entity_type_t and entity_name_t
Yingxin Cheng [Thu, 11 Jul 2019 09:47:20 +0000 (17:47 +0800)]
crimson/net: unify the usage of entity_type_t and entity_name_t

* use standard entity_type_t(uint8_t) in favor of peer_type_t(int);
* use standard ceph_entity_type_name() to print where possible;
* use peer_name to encapsulate peer_type and peer_id in Connection.h;
* clean related interfaces in Messenger and Connection;
* print peer_name in Connection logging prefix;

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
6 years agomgr/dashboard: Add missing closing tag for container 28916/head
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 29051/head
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 27463/head
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>