]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Yuri Weinstein [Tue, 9 Apr 2019 14:37:45 +0000 (07:37 -0700)]
Merge pull request #27232 from pdvian/wip-38774-nautilus
nautilus: rgw: nfs: svc-enable RGWLib
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Tue, 9 Apr 2019 14:37:16 +0000 (07:37 -0700)]
Merge pull request #27239 from smithfarm/wip-38956-nautilus
nautilus: backport krbd discard qa fixes to stable branches
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Yuri Weinstein [Tue, 9 Apr 2019 14:36:39 +0000 (07:36 -0700)]
Merge pull request #27127 from smithfarm/wip-38862-nautilus
nautilus: build/ops: Running ceph under Pacemaker control not supported by SUSE Linux Enterprise
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Tue, 9 Apr 2019 02:09:13 +0000 (19:09 -0700)]
Merge pull request #27394 from s0nea/wip-39124-nautilus
nautilus: mgr/dashboard: update vstart to use new ssl_server_port
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Yuri Weinstein [Tue, 9 Apr 2019 02:08:29 +0000 (19:08 -0700)]
Merge pull request #27398 from Devp00l/wip-39041-nautilus
nautilus: mgr/dashboard: FixtureHelper
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Yuri Weinstein [Tue, 9 Apr 2019 02:07:54 +0000 (19:07 -0700)]
Merge pull request #27405 from Devp00l/wip-39058-nautilus
nautilus: mgr/dashboard: Back button component
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Yuri Weinstein [Mon, 8 Apr 2019 16:38:35 +0000 (09:38 -0700)]
Merge pull request #27283 from pdvian/wip-38878-nautilus
nautilus: mgr/dashboard: Add date range and log search functionality
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Yuri Weinstein [Mon, 8 Apr 2019 16:38:07 +0000 (09:38 -0700)]
Merge pull request #27389 from ricardoasmarques/wip-38984-nautilus
nautilus: mgr/dashboard: PreventDefault isn't working on 400 errors
Reviewed-by: Stephan Müller <smueller@suse.com>
Yuri Weinstein [Mon, 8 Apr 2019 16:37:10 +0000 (09:37 -0700)]
Merge pull request #27393 from s0nea/wip-39001-nautilus
nautilus: mgr/dashboard: Add separate option to config SSL port
Reviewed-by: Volker Theile <vtheile@suse.com>
Yuri Weinstein [Mon, 8 Apr 2019 16:36:34 +0000 (09:36 -0700)]
Merge pull request #27395 from Devp00l/wip-issue-38960
nautilus: mgr/dashboard: Fixes tooltip behavior
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Yuri Weinstein [Fri, 5 Apr 2019 20:05:59 +0000 (13:05 -0700)]
Merge pull request #27128 from smithfarm/wip-38865-nautilus
nautilus: ceph-mgr: ImportError: Interpreter change detected - this module can only be loaded into one interprer per process.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 5 Apr 2019 20:05:29 +0000 (13:05 -0700)]
Merge pull request #27227 from pdvian/wip-38855-nautilus
nautilus: mgr/balancer: Python 3 compatibility fix
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Yuri Weinstein [Fri, 5 Apr 2019 20:04:29 +0000 (13:04 -0700)]
Merge pull request #27302 from pdvian/wip-38906-nautilus
nautilus: osd/PGLog.h: print olog_can_rollback_to before deciding to rollback
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Fri, 5 Apr 2019 20:03:48 +0000 (13:03 -0700)]
Merge pull request #27319 from sebastian-philipp/wip-39083-nautilus
nautilus: mgr/deepsea: use ceph_volume output in get_inventory()
Reviewed-by: Tim Serong <tserong@suse.com>
Yuri Weinstein [Fri, 5 Apr 2019 20:03:04 +0000 (13:03 -0700)]
Merge pull request #27346 from liewegas/wip-cluster-log-to-file-nautilus
nautilus: mon: add cluster log to file option
Yuri Weinstein [Fri, 5 Apr 2019 20:02:09 +0000 (13:02 -0700)]
Merge pull request #27347 from liewegas/wip-ok-to-stop-nautilus
nautilus: mon: ok-to-stop commands for mon and mds
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Fri, 5 Apr 2019 16:55:08 +0000 (09:55 -0700)]
Merge pull request #27361 from s0nea/wip-38864-nautilus
nautilus: mgr/dashboard: Fix env vars of `run-tox.sh`
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Yuri Weinstein [Fri, 5 Apr 2019 16:54:25 +0000 (09:54 -0700)]
Merge pull request #27363 from s0nea/wip-39002-nautilus
nautilus: mgr/dashboard: Filter iSCSI target images based on required features
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Yuri Weinstein [Fri, 5 Apr 2019 16:53:17 +0000 (09:53 -0700)]
Merge pull request #27368 from s0nea/wip-39104-nautilus
nautilus: dashboard: NFS: failed to disable NFSv3 in export create
Reviewed-by: Tiago Melo <tmelo@suse.com>
Yuri Weinstein [Fri, 5 Apr 2019 16:52:50 +0000 (09:52 -0700)]
Merge pull request #27370 from s0nea/wip-39105-nautilus
nautilus: mgr/dashboard: Cannot submit NFS export form when NFSv4 is not selected
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Yuri Weinstein [Fri, 5 Apr 2019 16:51:50 +0000 (09:51 -0700)]
Merge pull request #27371 from s0nea/wip-39106-nautilus
nautilus: mgr/dashboard: NFS Squash field should be required
Reviewed-by: Tiago Melo <tmelo@suse.com>
Yuri Weinstein [Fri, 5 Apr 2019 16:51:22 +0000 (09:51 -0700)]
Merge pull request #27372 from s0nea/wip-39107-nautilus
nautilus: mgr/dashboard: Error creating NFS export without UDP
Reviewed-by: Tiago Melo <tmelo@suse.com>
Stephan Müller [Mon, 25 Mar 2019 16:29:02 +0000 (17:29 +0100)]
mgr/dashboard: Update messages.xlf
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit
0e05674509e339fc336052a92fec87f06a411f63 )
Stephan Müller [Fri, 8 Mar 2019 15:32:13 +0000 (16:32 +0100)]
mgr/dashboard: Back button component
Fixes: https://tracker.ceph.com/issues/38937
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit
ad960f1aa7c08b56b691fc1c8ad0348f7ede1f1b )
Stephan Müller [Wed, 13 Feb 2019 13:22:27 +0000 (14:22 +0100)]
mgr/dashboard: FixtureHelper
Fixes: https://tracker.ceph.com/issues/38933
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit
ef1d17ddbd2a88e3956888bc98568794500eeba6 )
Stephan Müller [Wed, 20 Feb 2019 11:26:44 +0000 (12:26 +0100)]
mgr/dashboard: Fixes tooltip behavior
The problem was that the tool tip element was added to the current parent
element which caused the CSS to make the last
button in a button group look like the fore last button as a rectangle
but the last element should have a rounded corner.
Fixes: https://tracker.ceph.com/issues/38932
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit
4b23b78 )
Ernesto Puerta [Fri, 29 Mar 2019 13:06:25 +0000 (14:06 +0100)]
mgr/dashboard: udpate vstart to use new ssl port
Fixes: https://tracker.ceph.com/issues/39030
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit
5792c0377a0495030de1a7a8cd5e10f46e91358d )
Volker Theile [Tue, 12 Mar 2019 13:12:55 +0000 (14:12 +0100)]
mgr/dashboard: Add separate option to config SSL port
There is a need to introduce this new config option because the MgrModule::get_module_option() and MgrModule::get_localized_module_option() method will be refactored soon and will not support the default parameter anymore. Instead the default value must be configured in the MODULE_OPTIONS. Currently we misuse the server_port depending on if SSL is enabled or not.
Fixes: https://tracker.ceph.com/issues/38331
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit
86f47f6bfda6c2d45c97801a522a200225abc3d4 )
Stephan Müller [Thu, 21 Feb 2019 10:53:46 +0000 (11:53 +0100)]
mgr/dashboard: Make preventDefault work with 400 errors
The problem was that, if a error with the status code 400 was
received by the error interceptor the "timeoutId" was not tracked,
therefor "preventDefault" didn't prevent anything as "timeoutId"
was undefined.
Fixes: https://tracker.ceph.com/issues/38418
Signed-off-by: Stephan Müller <smueller@suse.com>
(cherry picked from commit
5aa984cc6c5a737e2dfcc7806f0fe48d1b41d1c5 )
Yuri Weinstein [Thu, 4 Apr 2019 19:47:12 +0000 (12:47 -0700)]
Merge pull request #27258 from pdvian/wip-38861-nautilus
nautilus: backport krbd discard qa fixes to nautilus
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Yuri Weinstein [Thu, 4 Apr 2019 19:46:35 +0000 (12:46 -0700)]
Merge pull request #27287 from s0nea/wip-39052-nautilus
nautilus: mgr/dashboard add polish language
Reviewed-by: Sebastian Krah <skrah@suse.com>
Kefu Chai [Thu, 4 Apr 2019 16:26:55 +0000 (00:26 +0800)]
Merge pull request #27382 from tchaikov/nautilus-multi-python3
nautilus: rpm,cmake: use specified python3 version if any
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Kefu Chai [Thu, 4 Apr 2019 04:07:25 +0000 (12:07 +0800)]
rpm: pass %{python3_version} to cmake
to force cmake to use the python3 and python3 modules for building
python3 bindings
on the debian side, it's okay to continue using "-DWITH_PYTHON3=ON", as
- cmake does normalize "ON" to 3
- debian's cmake extension lives on /usr/lib/python3/dist-packages/
not in a specific /usr/lib/python3.x/dist-packages directory
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
7681a38ce51743a19ec5679d49b362f04e271ddb )
Kefu Chai [Thu, 4 Apr 2019 03:44:56 +0000 (11:44 +0800)]
cmake: check for libpython of the same version of interpreter
actually cython or python3-cython's dependencies should take care of it.
but we should at least get it right on our side if we check it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
c961e002d22ab7ceec20f1019f8c558ec9fcce6c )
Kefu Chai [Thu, 4 Apr 2019 03:37:00 +0000 (11:37 +0800)]
cmake: use specified python3 version if any
use might have multiple python3 installed, some of them has/have all
dependencies installed and is good enough for building Ceph. we should
not always use the latest python installed in the system and complain that
there is missing dependencies, even if user has installed all the
python3 dependencies for the older python3.
put in other words, if user only installs cython module for python3.4, but
she has both python3.6 and python3.4 in her system. we should not force
her to uninstall python3.6 for installing Ceph.
this change also aligns with MGR_PYTHON_VERSION. i am not applying the
same change to WITH_PYTHON2, because python2 is already stablized. and distros
are not likely to release new python2 releases.
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
d8c13e86048b7aac458f3eda101f9778e3d45dcf )
Tiago Melo [Wed, 3 Apr 2019 18:52:07 +0000 (18:52 +0000)]
mgr/dashboard: Fix deletion of NFS transports properties
Fixes: http://tracker.ceph.com/issues/39090
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit
a304f5db9f1ccf66dfac5d7ba00bc710660770cf )
Tiago Melo [Mon, 1 Apr 2019 14:50:44 +0000 (14:50 +0000)]
mgr/dashboard: Fix NFS squash default value
Fixes: http://tracker.ceph.com/issues/39064
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit
0084299273bd3702b55038d02523a7ad3a1f49cc )
Tiago Melo [Mon, 1 Apr 2019 14:13:37 +0000 (14:13 +0000)]
mgr/dashboard: Fix NFS pseudo validation
Fixes: http://tracker.ceph.com/issues/39063
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit
4139d4b58e37b29f7d84e641ce0c9fd0ee346b8f )
Tiago Melo [Thu, 28 Mar 2019 14:02:29 +0000 (13:02 -0100)]
mgr/dashboard: Fix deletion of NFS protocol properties
Fixes: http://tracker.ceph.com/issues/38997
Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit
f47791e32a2fbd6d2114c33d90f16086ba6b5af9 )
Ricardo Marques [Mon, 25 Mar 2019 22:24:24 +0000 (22:24 +0000)]
mgr/dashboard: iscsi: feature names in error messages
Required/supported RBD features should be included in
the error messages.
Signed-off-by: Ricardo Marques <rimarques@suse.com>
(cherry picked from commit
f570f8a19ddc656c6df911eece77f7ed23720680 )
Ricardo Marques [Fri, 22 Mar 2019 18:53:29 +0000 (18:53 +0000)]
mgr/dashboard: Validate iSCSI images features
Will also filter the list of available images.
Fixes: https://tracker.ceph.com/issues/38074
Signed-off-by: Ricardo Marques <rimarques@suse.com>
(cherry picked from commit
f272429e83aebb1e27cba1db3da6aeaf94506aa5 )
Patrick Nawracay [Fri, 15 Mar 2019 10:21:52 +0000 (10:21 +0000)]
mgr/dashboard: Fix env vars of `run-tox.sh`
Fixes: http://tracker.ceph.com/issues/38798
Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
(cherry picked from commit
5dee0b6a87753d8b7ff295f9a29c6eb407d17ccd )
Yuri Weinstein [Wed, 3 Apr 2019 19:28:59 +0000 (12:28 -0700)]
Merge pull request #27191 from theanalyst/nautilus-scheduler-cmake
nautilus: rgw: build async scheduler only when beast is built
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Yuri Weinstein [Wed, 3 Apr 2019 19:26:29 +0000 (12:26 -0700)]
Merge pull request #27296 from theanalyst/nautilus-sse-c-fixes
nautilus: sse c fixes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Mon, 1 Apr 2019 15:20:46 +0000 (10:20 -0500)]
mon/MonMap: add min_quorum_size() helper
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
c143b9a3db4492e5a2ee7919b22581955fc2a119 )
Sage Weil [Sat, 23 Mar 2019 21:49:33 +0000 (16:49 -0500)]
mon/MDSMonitor: add 'mds ok-to-stop' command
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
aa33a26e32d270286ee110f57cfcf63df63fa913 )
Sage Weil [Sat, 23 Mar 2019 20:52:04 +0000 (15:52 -0500)]
mon: add 'mon ok-to-{stop,add-offline,rm}' commands
Helpers to decide when it is safe to stop a mon, add a mon that is
not started, or remove a mon. (Adding and start a mon would always
be safe, but it takes time to sync, so it's not really possible to do
quickly.)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
cfba0acc01230423252f674d11929bf505dc1ec7 )
Sage Weil [Wed, 3 Apr 2019 14:57:40 +0000 (09:57 -0500)]
Merge PR #27314 into nautilus
* refs/pull/27314/head:
mon: quiet devname log noise
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 3 Apr 2019 14:56:58 +0000 (09:56 -0500)]
Merge PR #27320 into nautilus
* refs/pull/27320/head:
valgrind.supp: add clauses for uninitialised gcm.Xi in OpenSSL.
src/valgrind.supp: replace with the teuthology's whitelist.
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sage Weil [Wed, 3 Apr 2019 12:18:50 +0000 (07:18 -0500)]
mon/LogMonitor: add mon_cluster_log_to_file bool option
Allow cluster logging to a file to be disabled via a boolean. Default
to true to avoid any change in behavior.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
978ac6e2f8e9fe4cc20410c6b45b1a164e22c4ea )
Radoslaw Zarzynski [Mon, 25 Mar 2019 18:34:05 +0000 (19:34 +0100)]
valgrind.supp: add clauses for uninitialised gcm.Xi in OpenSSL.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit
35274eba7a90ffed05561737cb935bb3dc049c2d )
Radoslaw Zarzynski [Fri, 29 Mar 2019 02:19:32 +0000 (03:19 +0100)]
src/valgrind.supp: replace with the teuthology's whitelist.
This change drops src/valgrind.supp file and transplates
the current teuthology's whitelist into qa/valgrind.supp.
This commit has sibiling in the teuthology repo dropping
the file there.
The rationale behind the entire change is duplication of these
files between two repos, their inconsistencies and confusion.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit
d10ab9ebfdb4aa5ae285f1e2b89fd490584b0cb3 )
Yuri Weinstein [Tue, 2 Apr 2019 15:41:47 +0000 (08:41 -0700)]
Merge pull request #27261 from s0nea/wip-38969-nautilus
nautilus: mgr: Configure Py root logger for Mgr modules
Reviewed-by: Volker Theile <vtheile@suse.com>
Yuri Weinstein [Tue, 2 Apr 2019 15:40:38 +0000 (08:40 -0700)]
Merge pull request #27267 from s0nea/wip-38988-nautilus
nautilus: mgr/dashboard: Add refresh interval to the dashboard landing page
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Tim Serong [Fri, 15 Mar 2019 04:52:23 +0000 (15:52 +1100)]
mgr/deepsea: use ceph_volume output in get_inventory()
DeepSea is being updated to use ceph_volume internally (see
https://github.com/SUSE/DeepSea/pull/1517). Once this is done,
the mgr_orch.get_inventory runner will just be returning the
raw ceph_volume output, so this commit updates the DeepSea mgr
module to match.
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit
b0f9c4b5101f92b9e68a6512a9c05bfd345baf2d )
Tim Serong [Thu, 14 Mar 2019 11:48:44 +0000 (22:48 +1100)]
mgr/deepsea: log salt job failures
If a request to salt succeeds, but the event comes back with some internal
failure (e.g.: an exception was thrown inside the salt runner), we need to
log this so the admin can find out what on earth went wrong.
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit
78c3d65ca9092bdab51ae1e6b6beb3ee37e72938 )
Tim Serong [Thu, 14 Mar 2019 10:10:38 +0000 (21:10 +1100)]
mgr/deepsea: use empty strings rather than None for option defaults
This makes the _config_valid() function work properly; the option
defaults are being strinified somewhere, so we need to use empty
strings rather than None (which becomes "None"), in order to check
if they're set or not.
Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit
e81f109bf93317b998d3ea31d64381d9f491a6ef )
Sage Weil [Tue, 2 Apr 2019 13:49:01 +0000 (08:49 -0500)]
mon: quiet devname log noise
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
3221381d9fb924e397c3d031c7d4751490409bca )
Sage Weil [Tue, 2 Apr 2019 01:53:40 +0000 (20:53 -0500)]
Merge PR #27167 into nautilus
* refs/pull/27167/head:
mgr/diskprediction_cloud: Correct base64 encode translate table
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Tue, 2 Apr 2019 01:53:25 +0000 (20:53 -0500)]
Merge PR #27216 into nautilus
* refs/pull/27216/head:
msg/async v2: make v2 work on rdma.
Reviewed-by: Ricardo Dias <rdias@suse.com>
Sage Weil [Tue, 2 Apr 2019 01:52:46 +0000 (20:52 -0500)]
Merge PR #27220 into nautilus
* refs/pull/27220/head:
osd/PG: move '}' to the proper place
doc: Document new pg state and changes to auto repair behavior
osd, test: Add num_shards_repaired to osd_stat_t for pushes with repair set 3(3)
osd: Track num_objects_repaired in pg stats 2(3)
test, osd: Improvements to auto_repair 1(3)
test: osd-scrub-repair.sh: use corrupt_and_repair_lrc for lrc tests
osd: Publish stats after all changes made
osd: Fixes for 64-bit PG state
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Tue, 2 Apr 2019 01:52:16 +0000 (20:52 -0500)]
Merge PR #27240 into nautilus
* refs/pull/27240/head:
mgr/diskprediction_cloud: Correct base64 encode translate table
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Tue, 2 Apr 2019 01:52:00 +0000 (20:52 -0500)]
Merge PR #27278 into nautilus
* refs/pull/27278/head:
log,global: do not start flusher thread until after we have our mon config
log: buffer log entries until flusher thread starts
log: open log file from flusher thread
common/ceph_context: fix log_to_file observer
common: add bool log_to_file option
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Neha Ojha [Thu, 21 Mar 2019 22:12:20 +0000 (15:12 -0700)]
osd/PGLog.h: print olog_can_rollback_to before deciding to rollback
This is particularly important as the crt might have changed before
being passed to merge_object_divergent_entries().
Fixes: http://tracker.ceph.com/issues/38894
Signed-off-by: Neha Ojha <nojha@redhat.com>
(cherry picked from commit
aa49c57f3942c676d333e1841886881af125ea01 )
Yuri Weinstein [Mon, 1 Apr 2019 20:45:25 +0000 (13:45 -0700)]
Merge pull request #27237 from s0nea/issue_38265_backport
nautilus: mgr/dashboard/qa: Improve tasks.mgr.test_dashboard.TestDashboard.test_standby
Reviewed-by: Volker Theile <vtheile@suse.com>
Yuri Weinstein [Mon, 1 Apr 2019 20:44:51 +0000 (13:44 -0700)]
Merge pull request #27246 from s0nea/wip-38974-nautilus
nautilus: ERROR: test_disable (tasks.mgr.dashboard.test_mgr_module.MgrModuleTelemetryTest)
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Yuri Weinstein [Mon, 1 Apr 2019 20:43:50 +0000 (13:43 -0700)]
Merge pull request #27260 from pdvian/wip-38866-nautilus
nautilus: mgr/dashboard: fix sparkline component
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Casey Bodley [Wed, 27 Mar 2019 17:52:59 +0000 (13:52 -0400)]
rgw: fixup_range() clamps offsets to valid part range
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
4b3bac20d550cae274c07a1d555751483dde463b )
Abhishek Lekshmanan [Wed, 27 Mar 2019 12:45:27 +0000 (13:45 +0100)]
test_rgw_crypto: add invalid ranges beyond obj boundary
This is just to assert we're not doing an invalid memory access
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
b34a00de0f6ecea6d97fd80f65d2a2dca0876e6e )
Abhishek Lekshmanan [Tue, 26 Mar 2019 18:12:15 +0000 (19:12 +0100)]
tests: rgw crypto tests with partlen vector
4 tests are added when either obj_size for an aligned object, and when an object
is not aligned to a boundary (1 B last part), or part_size is not aligned to a
boundary. Comments on boundary case explains the logic on choosing whether to
align to a 4095B boundary or not
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
1bf59f68db608084a1e7a05aca4cca8a8ab76062 )
Abhishek Lekshmanan [Tue, 26 Mar 2019 18:11:28 +0000 (19:11 +0100)]
test_rgw_crypt: BlockCryptNone takes a block_size param
So that block sizes like 4096 can be tested
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
9e13a42daaba26751f56f2454f9ec314d7d0d460 )
Abhishek Lekshmanan [Tue, 26 Mar 2019 18:10:04 +0000 (19:10 +0100)]
rgw_crypt: make decrypt's parts_len protected
This is so that testing classes can set this and use that to test the branches
in fixup_range tests
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
78b37a5ccd67c464f3c6e61568e9e827c327ad6d )
Abhishek Lekshmanan [Mon, 25 Mar 2019 14:24:15 +0000 (15:24 +0100)]
rgw_crypt: take care of start & end boundaries when parsing range
As http range header is inclusive of start and end ranges, this otherwise breaks
at ranges close to multipart boundaries
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit
9c92b56d77932283ccc0336645dc3b76bd0fffa2 )
Casey Bodley [Fri, 22 Mar 2019 13:57:33 +0000 (09:57 -0400)]
rgw: decrypt filter does not cross multipart boundaries
multipart uploads with sse encrypts each part separately, using an
initialization vector based on the part offset
decryption must respect the same part boundaries, and start each part
with a fresh initialization vector. this means that the decrypt filter
must flush data up to part boundaries before starting the next
Fixes: http://tracker.ceph.com/issues/38700
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit
b782902954abd20e49c0ed1c14cebee4c8ab6f88 )
Sage Weil [Mon, 1 Apr 2019 15:30:48 +0000 (10:30 -0500)]
Merge PR #27253 into nautilus
* refs/pull/27253/head:
qa/tests added mimic-x-singleton suite to rados as symlink
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Wed, 27 Mar 2019 01:28:56 +0000 (09:28 +0800)]
osd/PG: move '}' to the proper place
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit
0fb951963ff9d03a592bad0d4442049603195e25 )
David Zafman [Sat, 23 Mar 2019 00:01:45 +0000 (17:01 -0700)]
doc: Document new pg state and changes to auto repair behavior
Fixes: http://tracker.ceph.com/issues/38616
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
769cdc8294c74b33fe99dd2cdb071b0ebcc9ae69 )
David Zafman [Tue, 19 Mar 2019 20:55:36 +0000 (13:55 -0700)]
osd, test: Add num_shards_repaired to osd_stat_t for pushes with repair set 3(3)
Fixes: http://tracker.ceph.com/issues/38616
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
57abdb11fae9f94417e1ee6c9427a33f729a9703 )
David Zafman [Thu, 14 Mar 2019 23:29:50 +0000 (16:29 -0700)]
osd: Track num_objects_repaired in pg stats 2(3)
Leave repair pg state on until recovery finishes or a new scrub starts
Fixes: http://tracker.ceph.com/issues/38616
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
d2ca3d2feb442f97ca89023c7d01178d96f517a6 )
David Zafman [Wed, 13 Mar 2019 05:22:53 +0000 (22:22 -0700)]
test, osd: Improvements to auto_repair 1(3)
Allow auto_repair for replicated bluestore pools
Regular scrub within auto repair parameters will trigger deep scrub
New state failed_repair if PG repair attempt could not fix everything
Set failed_repair if not possible to repair anything
Fixes: http://tracker.ceph.com/issues/38616
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
2202e5d0b107795837ce79ffce2a980e8c12fc62 )
David Zafman [Wed, 20 Mar 2019 01:05:11 +0000 (18:05 -0700)]
test: osd-scrub-repair.sh: use corrupt_and_repair_lrc for lrc tests
Fix for argument handling of create_ec_pool()
Always pass a value for allow_overwrites for consistency
Caused by:
3ca750d41dfe33c6efea4abc96d2bd426a9742b9
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
315d32488963705f28cd51a327281b8940d1e7cd )
David Zafman [Thu, 14 Mar 2019 00:18:16 +0000 (17:18 -0700)]
osd: Publish stats after all changes made
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
06e6ebc7836d0bc65361a7857ba8cf4a31040bc2 )
David Zafman [Thu, 14 Mar 2019 00:17:35 +0000 (17:17 -0700)]
osd: Fixes for 64-bit PG state
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit
12bff373d29f4cec8932aa1460da98dca711ec91 )
Sebastian Krah [Thu, 28 Mar 2019 14:35:46 +0000 (15:35 +0100)]
mgr/dashboard: Add polish translation
Add polish translation.
Removed 5 unused trans-units.
Fixes: https://tracker.ceph.com/issues/38236
Signed-off-by: Sebastian Krah <skrah@suse.com>
(cherry picked from commit
53d84ad5d36f99a3d8c49ec1f8b60aa0ed4d248c )
guodan1 [Thu, 31 Jan 2019 12:36:57 +0000 (20:36 +0800)]
mgr/dashboard: Add date range and log search functionality
Fixes: http://tracker.ceph.com/issues/37387t st
Signed-off-by: guodan1 <guodan1@lenovo.com>
(cherry picked from commit
faaca31e533a36a9c391c288365f24c50a6fb4cf )
Sage Weil [Sat, 30 Mar 2019 13:37:40 +0000 (08:37 -0500)]
Merge PR #27225 into nautilus
* refs/pull/27225/head:
osd/OSDMap: add log for better debugging
osd/OSDMap: calc_pg_upmaps - restrict optimization to origin pools only
crush: add root_bucket to identify underfull buckets
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Sat, 30 Mar 2019 13:37:24 +0000 (08:37 -0500)]
Merge PR #27217 into nautilus
* refs/pull/27217/head:
common/config: parse --default-$option as a default value
Reviewed-by: Sébastien Han <seb@redhat.com>
Sage Weil [Sat, 30 Mar 2019 13:36:46 +0000 (08:36 -0500)]
Merge PR #27215 into nautilus
* refs/pull/27215/head:
mon/MonClient: do not dereference auth_supported.end()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Sat, 30 Mar 2019 13:36:14 +0000 (08:36 -0500)]
Merge PR #27197 into nautilus
* refs/pull/27197/head:
msg: default to debug_ms=0
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Sat, 30 Mar 2019 13:35:23 +0000 (08:35 -0500)]
Merge PR #27139 into nautilus
* refs/pull/27139/head:
os/bluestore: unconditionally cap chunks returned by allocator to 2^31
os/bluestore: start using 64-bit intervals for bitmap allocator
os/bluestore: make bluestore interval base template.
tests/fastbmap_alloc: UT to reproduce 4G allocation bug
os/bluestore: os/bluestore: implement dump for bitmap allocator
os/bluestore be more tolerant to lack of space for bluefs.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Mar 2019 15:58:30 +0000 (10:58 -0500)]
log,global: do not start flusher thread until after we have our mon config
We want to respect the settings in the mon config that affect logging before
we enable the flusher thread. That allows us to set (via the monitor) things
like log_to_file=false or log_to_syslog=true.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
cd6a5b9c40779956629803f222c365bdb291a169 )
Sage Weil [Fri, 22 Mar 2019 15:56:45 +0000 (10:56 -0500)]
log: buffer log entries until flusher thread starts
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
4af24e57aafd8774da4b1d2c7e3b17dcae1c18a0 )
Sage Weil [Fri, 22 Mar 2019 15:56:12 +0000 (10:56 -0500)]
log: open log file from flusher thread
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
16c5d828fa93b1a5bdf9c396d7c0ce236b46df9b )
Sage Weil [Fri, 22 Mar 2019 15:54:50 +0000 (10:54 -0500)]
common/ceph_context: fix log_to_file observer
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
d8810ab58241b80776e2564bce911299341f73e7 )
Sage Weil [Tue, 19 Mar 2019 10:48:00 +0000 (05:48 -0500)]
common: add bool log_to_file option
This allows us to disable and reenable logging to a file while preservng
the default log_file location. This is analogous to log_to_stderr,
log_to_syslog, log_to_graylog, etc.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
18df18aa4d69232f1e898c99522aad7444c9ff12 )
Yuri Weinstein [Thu, 28 Mar 2019 22:26:32 +0000 (15:26 -0700)]
qa/tests added mimic-x-singleton suite to rados as symlink
replaces https://github.com/ceph/ceph/pull/27131
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
guodan1 [Fri, 18 Jan 2019 06:33:43 +0000 (14:33 +0800)]
mgr/dashboar: Add refresh nterval to the dashboard landing page
Fixes: http://tracker.ceph.com/issues/26872
Signed-off-by: guodan1 <guodan1@lenovo.com>
(cherry picked from commit
58e9d48259ad7ac562ffb85bc22b3d6fba6120e1 )
Volker Theile [Fri, 22 Mar 2019 12:01:02 +0000 (13:01 +0100)]
mgr: Configure Py root logger for Mgr modules
Add the CPlusPlusHandler to the Python root logger, thus the Mgr module itself and all 3rd party libraries will log to the Ceph log. This may help to identify problems in used 3rd party libraries.
Fixes: https://tracker.ceph.com/issues/38888
Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit
b0be9475f1d9be9538183e636569ec851801dccb )
alfonsomthd [Fri, 15 Mar 2019 13:54:04 +0000 (14:54 +0100)]
mgr/dashboard: fix sparkline component
Fixes: https://tracker.ceph.com/issues/38768
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit
36997f93a9fe1b56646bb1f6574ac204467a74ff )
Ilya Dryomov [Mon, 18 Mar 2019 19:06:20 +0000 (20:06 +0100)]
qa: add krbd_discard_granularity.t test
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit
a337cc58cdee1d0443744eef2a43d86738b3124d )