Sage Weil
1bd6b810f6
doc/releases/nautilus: move note to 14.2.2
...
Oops! This change was merged in 404ed645d4
,
which was not part of 14.2.1 after all.
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 17:26:38 -05:00
Sage Weil
38d6f1514f
doc/releases/nautilus: typo
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 17:25:53 -05:00
Sage Weil
a4bfe96cd1
Merge PR #29069 into master
...
* refs/pull/29069/head:
qa/tasks/ceph_manager: make upmap thrasher behave when no pools/pgs
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-17 17:20:12 -05:00
Patrick Donnelly
78564dcd0e
Merge PR #29095 into master
...
* refs/pull/29095/head:
script/ptl-tool: update for python3
Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-17 12:49:05 -07:00
Sage Weil
86ef15f49d
pybind/rados: put lens array in outer scope
...
Just paranoia about the lifecycle here
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 14:38:31 -05:00
Sage Weil
fb605e10b2
pybind/rados: fix set_omap() crash on py3
...
For some reason vals was ending up NULL inside rados_write_op_omap_set
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 14:36:47 -05: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
Sage Weil
b3cc451fc2
mon/MgrMonitor: fix null deref when invalid formatter is specified
...
Fixes: https://tracker.ceph.com/issues/40804
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 13:21:04 -05: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
512d89af9a
osd: set collection pool opts on collection create, pg load
...
We need to tell the ObjectStore's Collections what the pool options are
for things like the bluestore compression mode and so on to take effect.
Apply these
- when we create new collections, due to a new pg or a split
- when we start up and open an existing collection
We already apply these changes when there is a pool change.
Fixes: https://tracker.ceph.com/issues/40483
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 12:54:28 -05:00
Sage Weil
29c52b8e16
Merge PR #29071 into master
...
* refs/pull/29071/head:
selinux: Allow ceph to read udev db
Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-17 12:00:50 -05:00
Sage Weil
deed241fcc
osd/ECTransaction,ReplicatedBackend: create op is new in octopus
...
Not nautilus!
Fixes: https://tracker.ceph.com/issues/40755
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-17 11:55:42 -05:00
Sage Weil
3515c2aa41
Merge PR #28987 into master
...
* refs/pull/28987/head:
Revert "mgr/dashboard: Add nolockdep option to e2e-script"
common: refactor handling of lockdep's group name in debug locks.
common: shared_mutex_debug doesn't use empty group name for lockdep.
common, crypto: give names to OpenSSL's mutexes.
common: tiny_vector – CPU-friendly container for mutexes & co.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-17 11:27:15 -05:00
Sage Weil
bb32b095a1
Merge PR #29051 into master
...
* refs/pull/29051/head:
mon/OSDMonitor: tolerate duplicate MRemoveSnaps messages
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-17 11:26:18 -05:00
Sebastian Wagner
36d4408e85
Merge pull request #28468 from jmolmo/ansible_orchestrator
...
mgr/ansible: RGW service
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-17 17:09:25 +02:00
Ricardo Dias
b758a82dbb
mgr: return perf_counters data timestamps in nanosecs
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 16:07:19 +01:00
Ricardo Dias
0d735159b4
mgr/dashboard: frontend: move ellipsis to before progress in task execution description
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 15:20:12 +01:00
Ricardo Dias
8728bf47db
mgr/dashboard: test_pool: fix pool unit tests
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 15:20:11 +01:00
Sebastian Wagner
0342479835
mgr/mgr_module: Allow resetting module options
...
Introduced in 4872cc5aa3
`_ceph_set_module_option` also accepts `None`, not just strings.
Fixes: http://tracker.ceph.com/issues/40779
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-17 15:41:45 +02:00
Patrick Nawracay
d5b508809e
mgr/dashboard: Add rudimentary pool create/exist/delete test
...
Fixes: http://tracker.ceph.com/issues/38093
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-07-17 15:38:57 +02:00
Sebastian Wagner
57b96c6705
Merge branch 'master' into ansible_orchestrator
2019-07-17 15:37:11 +02:00
Igor Fedotov
5218e5ee6e
os/bluestore: add slow op detector for collection listing
...
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-07-17 16:17:33 +03:00
Igor Fedotov
00af2c411d
os/bluestore: parametrize latency threshold for log_latency funcs..
...
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-07-17 16:17:29 +03:00
Igor Fedotov
2f5bd9c48f
os/bluestore: cleanup around slow op logging.
...
We don't need macros any more.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-07-17 16:15:03 +03:00
Yingxin Cheng
cb371d7d97
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>
2019-07-17 20:07:37 +08:00
Kefu Chai
8ce9e35e11
pybind: check "CEPH_LIBDIR" not "MAKEFLAGS"
...
if the used cmake generator is not "make", these environmental variables
won't be set, so let's just check for "CEPH_LIBDIR". it is set by cmake
function of `distutils_add_cython_module()` and
`distutils_install_cython_module()`
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-17 18:56:41 +08:00
Ricardo Dias
5cd8b3bb36
mgr/dashboard: tests: fix tests by mocking progress service
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:51 +01:00
Ricardo Dias
f374e274a8
mgr/dashboard: frontend/task.service: format task title for progress tasks
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:50 +01:00
Ricardo Dias
96ff50e883
mgr/dashboard: add progress module tasks to list of dashboard tasks
...
Fixes: https://tracker.ceph.com/issues/38202
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:50 +01:00
Ricardo Dias
63334ee2b2
mgr/dashboard: progress mgr module service
...
This service module implements helper methods to retrieve
tasks information from the progress mgr module.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:50 +01:00
Ricardo Dias
a3d56ebaa2
mgr/progress: persist started_at and finished_at timestamps
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:50:50 +01:00
Rishabh Dave
f290322f90
ceph_volume_client: don't convert None to str object
...
Fixes: http://tracker.ceph.com/issues/40800
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-07-17 16:07:59 +05:30
Ricardo Dias
28b57d5d1f
mgr/progress: export more event properties to json
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-07-17 11:21:41 +01:00
Volker Theile
84628f48a5
mgr/dashboard: Add SSO guard service.
...
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-07-17 12:03:09 +02:00
Ricardo Marques
961ba7ea1c
mgr/dashboard: Validate iSCSI controls min/max value
...
Fixes: https://tracker.ceph.com/issues/38018
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-07-17 10:09:04 +01:00
Volker Theile
ee80139fa0
mgr/dashboard: Allow users to change their password on the UI
...
Fixes: https://tracker.ceph.com/issues/40248
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-07-17 11:00:58 +02:00
Yingxin Cheng
1466c65bfd
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>
2019-07-17 16:37:04 +08:00
Yingxin Cheng
55bfa18fd1
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>
2019-07-17 16:37:04 +08:00
Yingxin Cheng
5cbd121c6c
test/crimson: remove duplicated logging when connected
...
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-07-17 16:37:04 +08:00
Yingxin Cheng
bce34845ca
crimson/net: set connection policy for v1 protocol
...
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2019-07-17 16:37:04 +08:00
Yingxin Cheng
bd9a4a238b
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>
2019-07-17 16:36:55 +08:00
Rishabh Dave
0d5c3a7de6
ceph_volume_client: convert string to bytes object
...
mount method in libcephfs's cython modules expects filesystem_name to
be a bytes object. Therefore, convert string to bytes object
beforehand.
Fixes: http://tracker.ceph.com/issues/40369
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-07-17 09:17:13 +05:30
Rishabh Dave
c4385ebb35
ceph_volume_client: make UTF-8 encoding explicit
...
Make it explicit in the method to_bytes() that encoding is with UTF-8.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2019-07-17 09:17:13 +05:30
Kefu Chai
92eaa76f3d
Merge pull request #28959 from tchaikov/wip-crimson-op-write
...
crimson/osd: differentiate write from writefull
Reviewed-by: Samuel Just <sjust@redhat.com>
2019-07-17 11:26:43 +08:00
Sage Weil
91c2643144
doc/releases/nautilus.rst: pool stats fix was merged for 14.2.2 after all
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-16 20:21:56 -05:00
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
Jason Dillaman
7231aab4b8
mon/mgr: add 'rbd_support' to list of always-on mgr modules
...
The 'rbd_support' mgr module provides many background functions that
are required by the 'rbd' CLI performance queries, as well as future
background long-running maintenance tasks.
Fixes: http://tracker.ceph.com/issues/40790
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-07-16 13:54:16 -04: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