]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Pritha Srivastava [Wed, 18 Sep 2019 08:01:57 +0000 (13:31 +0530)]
Deleting tail/multipart objects inline when send chain to gc fails.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Mon, 14 Oct 2019 04:09:03 +0000 (09:39 +0530)]
Correcting the value of rgw_gc_max_queue_size.
queue head size must be subtracted from osd_max_object_size
to get rgw_gc_max_queue_size.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Sun, 13 Oct 2019 15:41:12 +0000 (21:11 +0530)]
Changing rgw_gc_num_urgent_data_entries to rgw_gc_max_deferred,
and rgw_gc_max_urgent_data_size to rgw_gc_max_deferred_entries_size.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Casey Bodley [Wed, 9 Oct 2019 18:46:20 +0000 (14:46 -0400)]
test/rgw: run ceph_test_rgw_gc_log in rgw verify suite
since it requires a running ceph cluster, it can't run in 'make check'
as a unittest. add it to the rgw/verify suite instead
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Wed, 9 Oct 2019 17:33:40 +0000 (13:33 -0400)]
test/rgw: ceph_test_rgw_gc_log doesn't segfault on startup
errors thrown during Environment::SetUp() will prevent the test cases
from running and causing segfaults
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Pritha Srivastava [Fri, 4 Oct 2019 08:10:36 +0000 (13:40 +0530)]
Refactored methods in rgw gc based on gc log helpers.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Casey Bodley [Tue, 1 Oct 2019 17:19:52 +0000 (13:19 -0400)]
rgw: add gc log helpers and unit tests
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Pritha Srivastava [Thu, 3 Oct 2019 07:37:15 +0000 (13:07 +0530)]
Making remove queue entries synchronous and draining
all ios before deleting queue entries.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Casey Bodley [Tue, 24 Sep 2019 18:44:44 +0000 (14:44 -0400)]
rgw: async_defer_chain() that detects transition to cls_rgw_gc
this replaces the defer_chain() function with optional asynchrony with
one that's only async. in the pre-transition case, it arranges for a
librados callback to detect the transition and retry against cls_rgw_gc
the RGWRados::gc_aio_operate() interface now requires the caller to pass
in an AioCompletion to support async_defer_chain()'s custom callback
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Pritha Srivastava [Tue, 23 Jul 2019 05:13:36 +0000 (10:43 +0530)]
Added code for upgrade scenario.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Mon, 29 Jul 2019 07:31:25 +0000 (13:01 +0530)]
Modified code to have the max urgent data size fixed.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Mon, 22 Jul 2019 07:28:34 +0000 (12:58 +0530)]
Re-arranged files to move gc related code under a new cls module.
Moved gc related cls code to cls_rgw_gc module and
Renaming the test folder and files from cls_queue to cls_rgw_gc
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Thu, 11 Jul 2019 15:24:11 +0000 (20:54 +0530)]
Restructuring code.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Thu, 13 Jun 2019 05:01:19 +0000 (10:31 +0530)]
rgw: Integrate rgw gc with queue ops.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Mon, 1 Jul 2019 07:46:45 +0000 (13:16 +0530)]
Modified existing and added new test cases.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Mon, 1 Jul 2019 05:24:03 +0000 (10:54 +0530)]
Removing dequeue operation.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Tue, 25 Jun 2019 10:34:06 +0000 (16:04 +0530)]
Moving out gc related queue code to another module(cls_rgw_queue).
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Thu, 2 May 2019 09:41:41 +0000 (15:11 +0530)]
Added cls ops for queue, gc(using queue) and test cases.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Pritha Srivastava [Thu, 20 Jun 2019 08:00:45 +0000 (13:30 +0530)]
Adding cls interface for CEPH_OSD_OP_ZERO.
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Ricardo Marques [Tue, 15 Oct 2019 12:17:23 +0000 (13:17 +0100)]
Merge pull request #30595 from p-se/wip-pna-extend-smart-types
mgr/dashboard: extend types of `smart` response
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Mykola Golub [Tue, 15 Oct 2019 11:20:12 +0000 (14:20 +0300)]
Merge pull request #30558 from dillaman/wip-41555
rbd-mirror: image status should report remote status
Reviewed-by: Mykola Golub <mgolub@suse.com>
Ricardo Marques [Tue, 15 Oct 2019 10:23:54 +0000 (11:23 +0100)]
Merge pull request #30671 from tspmelo/wip-i18n-vars
mgr/dashboard: Fix translation of variables
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Kefu Chai [Tue, 15 Oct 2019 09:15:24 +0000 (17:15 +0800)]
Merge pull request #30803 from cyx1231st/wip-seastar-msgr-failover
test/crimson: v2 failover tests with ack/keepalive
Reviewed-by: Kefu Chai <kchai@redhat.com>
Laura Paduano [Tue, 15 Oct 2019 08:12:19 +0000 (10:12 +0200)]
Merge pull request #30779 from rhcs-dashboard/tox-ini-fixes
mgr/dashboard: tox.ini fixes
Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Yuval Lifshitz [Tue, 15 Oct 2019 06:57:27 +0000 (09:57 +0300)]
Merge pull request #30600 from yuvalif/boto3_extensions_examples
rgw/examples: adding examples for boto3 extensions to AWS S3
Kefu Chai [Tue, 15 Oct 2019 01:35:32 +0000 (09:35 +0800)]
Merge pull request #30874 from uweigand/add-cycles-ibmz
Cycles: Add support for IBM Z
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 15 Oct 2019 00:59:12 +0000 (17:59 -0700)]
Merge PR #30816 into master
* refs/pull/30816/head:
qa: use small default pg count for CephFS pools
*: remove config of "mon pg warn min per osd" in testing
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Patrick Donnelly [Mon, 14 Oct 2019 20:03:35 +0000 (13:03 -0700)]
Merge PR #30641 into master
* refs/pull/30641/head:
pybind/cephfs: add cephfs python API removexattr()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Patrick Donnelly [Mon, 14 Oct 2019 20:01:36 +0000 (13:01 -0700)]
Merge PR #30873 into master
* refs/pull/30873/head:
qa: get rid of iterkeys for py3 compatibility
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Patrick Donnelly [Mon, 14 Oct 2019 19:58:45 +0000 (12:58 -0700)]
Merge PR #30744 into master
* refs/pull/30744/head:
mds: Reorganize class members in MDLog header
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 14 Oct 2019 19:33:19 +0000 (12:33 -0700)]
Merge PR #30206 into master
* refs/pull/30206/head:
test: add test_statx for new statx()
client: add statx in cephfs.pyx
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Mon, 14 Oct 2019 19:15:50 +0000 (12:15 -0700)]
Merge PR #29626 into master
* refs/pull/29626/head:
client: fix return code handling from _lseek
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Mon, 14 Oct 2019 18:26:46 +0000 (11:26 -0700)]
Merge PR #30585 into master
* refs/pull/30585/head:
docs/cephfs-shell: update doc about pyscript
cephfs-shell: make compatible with cmd2 versions after 0.9.13
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Varsha Rao <varao@redhat.com>
Patrick Donnelly [Wed, 9 Oct 2019 17:41:35 +0000 (10:41 -0700)]
qa: use small default pg count for CephFS pools
The pg count needs to be a power-of-two since
dff5697464edb9931d5dfa08cd4a30f85c1f237e .
Also, mon_pg_warn_min_per_osd is disabled by default now (or set to a
low value in vstart/testing) so there's no need to base the pg count on
this value.
Ideally someday we can remove this so that the default cluster value is
used but we need to keep this for deployments of older versions of Ceph.
Fixes: https://tracker.ceph.com/issues/42228
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Yuval Lifshitz [Wed, 2 Oct 2019 15:40:07 +0000 (18:40 +0300)]
rgw/examples: adding info on boto3 extensions to docs
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
Kefu Chai [Mon, 14 Oct 2019 16:05:06 +0000 (00:05 +0800)]
Merge pull request #30830 from tchaikov/wip/rpm-install-deps/python_provide
install-deps, rpm: use python_provide macro and cleanups
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Matt Benjamin [Mon, 14 Oct 2019 15:36:07 +0000 (11:36 -0400)]
Merge pull request #30151 from ofriedma/wip-ofriedma-lc-twice
fix rgw lc does not delete objects that do not have exactly the same tags as the rule
Kefu Chai [Mon, 14 Oct 2019 14:56:15 +0000 (22:56 +0800)]
Merge pull request #30723 from vumrao/wip-vumrao-42111
mon/OSDMonitor: add check for crush rule size in pool set size command
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 14 Oct 2019 14:38:03 +0000 (22:38 +0800)]
Merge pull request #30706 from vshankar/wip-42169
mgr: missing lock release in DaemonServer::handle_report()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Kefu Chai [Mon, 14 Oct 2019 14:33:59 +0000 (22:33 +0800)]
Merge pull request #29908 from batrick/rhel7.7
qa: add RHEL 7.7 and use as RHEL7 default
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
Kefu Chai [Mon, 14 Oct 2019 14:31:51 +0000 (22:31 +0800)]
Merge pull request #30637 from dongbula/add-maxread-for-rados-listomapkeys
tools: add maxread in rados listomapkeys
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 14 Oct 2019 14:30:05 +0000 (22:30 +0800)]
Merge pull request #30737 from tchaikov/wip-os/bluestore/cleanup
os/bluestore: cleanups
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Kefu Chai [Mon, 14 Oct 2019 14:26:36 +0000 (22:26 +0800)]
Merge pull request #30792 from kshtsk/wip-python3-no-iteritems-ceph-task
tasks/ceph: get rid of iteritems for python3
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Sat, 12 Oct 2019 18:35:07 +0000 (13:35 -0500)]
Merge PR #30871 into master
* refs/pull/30871/head:
mgr/telemetry: include balancer info (active=true/false, mode)
mgr/telemetry: include per-pool pg_autoscale info
Reviewed-by: Dan Mick <dmick@redhat.com>
Sage Weil [Sat, 12 Oct 2019 18:32:52 +0000 (13:32 -0500)]
Merge PR #30836 into master
* refs/pull/30836/head:
osd/PeeringState: send pg_info2 if release >= octopus
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Sat, 12 Oct 2019 18:31:21 +0000 (13:31 -0500)]
Merge PR #30872 into master
* refs/pull/30872/head:
qa: more tries for mon tell when injecting msgr failures
qa/suites/rados/singleton*: symlink to same msgr-failures
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 11 Oct 2019 14:11:15 +0000 (09:11 -0500)]
qa: more tries for mon tell when injecting msgr failures
With failure injection the default 2 tries isn't quite enough
Signed-off-by: Sage Weil <sage@redhat.com>
Ulrich Weigand [Fri, 11 Oct 2019 18:21:01 +0000 (20:21 +0200)]
Cycles: Add support for IBM Z
Patch provided by Yaakov Selkowitz <yselkowi@redhat.com>.
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Kyr Shatskyy [Fri, 11 Oct 2019 15:57:47 +0000 (17:57 +0200)]
qa: get rid of iterkeys for py3 compatibility
Fixes: https://tracker.ceph.com/issues/42287
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Sage Weil [Fri, 11 Oct 2019 15:27:15 +0000 (10:27 -0500)]
Merge PR #30734 into master
* refs/pull/30734/head:
mgr/ssh: pass crash agent keyring to deploy
ceph-daemon: deploy: require crash_keyring too
ceph-daemon: deploy crash unit on local host during bootstrap
ceph-daemon: create crash dir and pass through to daemon containers
ceph-crash: try to post as either client.crash[.$hostname] or client.admin
mon/MonCap: add 'crash' profile
Reviewed-by: Dan Mick <dmick@redhat.com>
Sage Weil [Fri, 11 Oct 2019 14:38:33 +0000 (09:38 -0500)]
Merge PR #30819 into master
* refs/pull/30819/head:
mgr/pg_autoscaler: complete event if pool disappears
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Fri, 11 Oct 2019 14:37:49 +0000 (09:37 -0500)]
Merge PR #30781 into master
* refs/pull/30781/head:
cmake: detect linker support
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Fri, 11 Oct 2019 14:36:54 +0000 (09:36 -0500)]
Merge PR #30753 into master
* refs/pull/30753/head:
os/bluestore: set STATE_KV_SUBMITTED properly.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 11 Oct 2019 14:10:48 +0000 (09:10 -0500)]
qa/suites/rados/singleton*: symlink to same msgr-failures
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 11 Oct 2019 14:03:04 +0000 (09:03 -0500)]
mgr/telemetry: include balancer info (active=true/false, mode)
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 11 Oct 2019 13:57:43 +0000 (08:57 -0500)]
mgr/telemetry: include per-pool pg_autoscale info
Mode and target size
Signed-off-by: Sage Weil <sage@redhat.com>
Ricardo Dias [Fri, 11 Oct 2019 13:33:31 +0000 (14:33 +0100)]
Merge pull request #30694 from rjfd/wip-dashboard-fix-translations
mgr/dashboard: internationalization support with AOT enabled
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Ricardo Dias [Fri, 11 Oct 2019 13:30:21 +0000 (14:30 +0100)]
Merge pull request #30522 from rhcs-dashboard/fix-41990-master
mgr/dashboard: add debug mode
Ricardo Dias [Fri, 11 Oct 2019 13:28:59 +0000 (14:28 +0100)]
Merge pull request #30789 from s0nea/wip-dashboard-exception-errorcodes
mgr/dashboard: fix existing issues in user integration tests
Reviewed-by: Stephan Müller <smueller@suse.com>
Ricardo Dias [Fri, 11 Oct 2019 13:27:50 +0000 (14:27 +0100)]
Merge pull request #30864 from s0nea/wip-dashboard-comment-failing-suites-out
mgr/dashboard: comment failing QA suites out
Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 11 Oct 2019 13:06:53 +0000 (14:06 +0100)]
Merge pull request #30847 from rhcs-dashboard/fix-42268-master
mgr/dashboard: fix typos in HACKING.rst
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Kefu Chai [Fri, 11 Oct 2019 13:04:53 +0000 (21:04 +0800)]
Merge pull request #26146 from snijhuis/master
mgr: zabbix triggers never triggered due to wrong trigger function
Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Dmitriy Rabotjagov <noonedeadpunk@ya.ru>
Ernesto Puerta [Thu, 10 Oct 2019 15:11:39 +0000 (17:11 +0200)]
mgr/dashboard: fix typos in HACKING.rst
Fixes: https://tracker.ceph.com/issues/42268
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Tatjana Dehler [Fri, 11 Oct 2019 08:58:41 +0000 (10:58 +0200)]
mgr/dashboard: comment questionable suites out
We're currently facing some issues with our integration
tests. Because of that we agreed on commenting questionable
suites out to be able to run all other suites on open pull
requests.
'test_health' and 'test_perf_counters' are commented out
because they led to issues in relation to
https://tracker.ceph.com/issues/41538
As soon as the issue has been fixed, we need to re-add
these two suites again.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Tatjana Dehler [Wed, 9 Oct 2019 13:58:28 +0000 (15:58 +0200)]
mgr/dashboard: sort QA suites alphabetically
Sort QA suites alphabetically to recognize a missing
suite faster.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Tatjana Dehler [Fri, 11 Oct 2019 08:45:53 +0000 (10:45 +0200)]
mgr/dashboard: wait a moment after module load
After a dashboard module load we need to wait (10 secs)
for the module to be back again. Otherwise the module
might not be able to answer requests properly. It could
lead to issues in some cases, e.g.: 'Failed to establish
a new connection: [Errno 111] Connection refused'.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Tatjana Dehler [Wed, 9 Oct 2019 13:39:31 +0000 (15:39 +0200)]
mgr/dashboard: reset login to admin user
After logging in with a separate testuser, especially a read-only
user, we need to reset the login to the admin user. This is important
in order to be able to continue with further tests. If not doing so
further tests might fail with the following error response:
{"status": "401 Unauthorized",
"detail": "You are not authorized to access that resource", ...}
Fixes: https://tracker.ceph.com/issues/42226,
https://tracker.ceph.com/issues/42227
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Tatjana Dehler [Tue, 8 Oct 2019 13:07:18 +0000 (15:07 +0200)]
mgr/dashboard: check for correct DashboardException error codes
We need to check for the correct error codes.
Otherwise the integration tests are going to fail.
Fixes: https://tracker.ceph.com/issues/42222
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Ricardo Dias [Fri, 11 Oct 2019 08:30:44 +0000 (09:30 +0100)]
Merge pull request #30658 from ricardoasmarques/delete-item-name
mgr/dashboard: Provide the name of the object being deleted
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Ricardo Dias [Fri, 11 Oct 2019 08:14:43 +0000 (09:14 +0100)]
Merge pull request #30815 from ricardoasmarques/remove-unused-endpoint
mgr/dashboard: Remove unused RBD "configuration" endpoint
Reviewed-by: Stephan Müller <smueller@suse.com>
Sage Weil [Wed, 9 Oct 2019 19:09:19 +0000 (14:09 -0500)]
mgr/pg_autoscaler: complete event if pool disappears
Fixes: 091dc321b10c8432192a8f76823a0ea97096885d
Fixes: https://tracker.ceph.com/issues/42249
Signed-off-by: Sage Weil <sage@redhat.com>
Dan Mick [Thu, 10 Oct 2019 23:48:58 +0000 (16:48 -0700)]
Merge pull request #30854 from dmick/wip-fix-dict-pop
mgr/telemetry: dict.pop() errs on nonexistent key
Patrick Donnelly [Thu, 10 Oct 2019 23:37:27 +0000 (16:37 -0700)]
Merge PR #30494 into master
* refs/pull/30494/head:
cmake: Allow cephfs and ceph-mds to be build when building on FreeBSD
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 10 Oct 2019 23:10:41 +0000 (18:10 -0500)]
Merge PR #30817 into master
* refs/pull/30817/head:
qa/suites/rados/thrash-old-clients: exclude ceph-daemon on nautilus installs
Dan Mick [Thu, 10 Oct 2019 22:18:51 +0000 (15:18 -0700)]
mgr/telemetry: dict.pop() errs on nonexistent key
I suggested this in a review, but failed to correctly understand
what happens when the key doesn't exist. Test for it.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Patrick Donnelly [Wed, 9 Oct 2019 18:06:40 +0000 (11:06 -0700)]
*: remove config of "mon pg warn min per osd" in testing
Follows:
609ab5aa850b147dd0ea799ff14ac594951cf748
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Casey Bodley [Thu, 10 Oct 2019 16:35:14 +0000 (12:35 -0400)]
Merge pull request #30742 from croit/rgw-fix-max-concurrent-ios-docs
radosgw-admin: update help for max-concurrent-ios
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Tiago Melo [Mon, 7 Oct 2019 17:25:13 +0000 (17:25 +0000)]
mgr/dashboard: Allow I18N when using "ng serve"
"ng serve" doesn't support i18n flags, so we need to define all language
specific settings in angular.json.
Then we can use them with the configuration flag, p.e.:
"ng serve --configuration=pt-BR"
We can also use this configurations for non production build, p.e.:
"ng build --configuration=pt-BR"
Set some global options, that will be shared by all configurations.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Ricardo Dias [Mon, 7 Oct 2019 11:48:58 +0000 (12:48 +0100)]
mgr/dashboard: frontend: default language option in environment
Signed-off-by: Ricardo Dias <rdias@suse.com>
Tiago Melo [Wed, 2 Oct 2019 11:06:23 +0000 (11:06 +0000)]
mgr/dashboard: Only show available languages
Read locale from LOCALE_ID, this is defined during build.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Ricardo Dias [Tue, 1 Oct 2019 16:02:26 +0000 (17:02 +0100)]
mgr/dashboard: endpoint to list available languages
Signed-off-by: Ricardo Dias <rdias@suse.com>
Tiago Melo [Tue, 1 Oct 2019 13:21:16 +0000 (13:21 +0000)]
mgr/dashboard: Store selected language in cookies
This will allow the backend access to this information in all requests.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Wed, 2 Oct 2019 10:51:07 +0000 (10:51 +0000)]
mgr/dashboard: Provide TRANSLATIONS directly in app.module.ts
Remove LOCALE_ID from provide list, since this is now defined during build.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Tue, 1 Oct 2019 13:18:34 +0000 (13:18 +0000)]
mgr/dashboard: Remove missing translation warnings during build
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Tue, 1 Oct 2019 13:17:41 +0000 (13:17 +0000)]
mgr/dashboard: Remove support for older browsers.
This will reduce in half the time needed to compile the frontend.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Tue, 1 Oct 2019 13:16:16 +0000 (13:16 +0000)]
mgr/dashboard: Remove call to registerLocalData
Since we configure the locale during the build phase,
there is no need to set it dynamically.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Tue, 1 Oct 2019 13:11:59 +0000 (13:11 +0000)]
mgr/dashboard: Remove I18N from main.ts
With AOT I18N there is no need to provide I18N from the main.ts file.
Signed-off-by: Tiago Melo <tmelo@suse.com>
Ricardo Dias [Tue, 1 Oct 2019 13:55:31 +0000 (14:55 +0100)]
make-dist: build dashboard frontend for each language
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Mon, 30 Sep 2019 14:53:41 +0000 (15:53 +0100)]
dashboard: detect language and serve correct frontend app
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ernesto Puerta [Thu, 10 Oct 2019 09:25:49 +0000 (11:25 +0200)]
doc: new Dashboard Plugin: Debug
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Ricardo Dias [Mon, 30 Sep 2019 14:52:40 +0000 (15:52 +0100)]
cmake: dashboard: support locale-dependent frontend builds
Fixes: https://tracker.ceph.com/issues/41988
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 4 Oct 2019 14:51:26 +0000 (15:51 +0100)]
mgr/dashboard: frontend: add npm-run-all dependency
Signed-off-by: Ricardo Dias <rdias@suse.com>
Ricardo Dias [Fri, 4 Oct 2019 14:48:41 +0000 (15:48 +0100)]
mgr/dashboard: package.json: add build scripts for each language
Signed-off-by: Ricardo Dias <rdias@suse.com>
Matt Benjamin [Thu, 10 Oct 2019 14:27:23 +0000 (10:27 -0400)]
Merge pull request #26524 from linuxbox2/wip-lc-days-0
rgw: lifecycle days may be 0
Yuval Lifshitz [Thu, 10 Oct 2019 13:35:28 +0000 (16:35 +0300)]
Merge pull request #30735 from yuvalif/fix_race_condition_in_amqp_test
rgw/amqp: fix race condition in AMQP unit test
Nathan Cutler [Thu, 10 Oct 2019 12:25:43 +0000 (14:25 +0200)]
Merge pull request #30725 from smithfarm/wip-more-cbs-2
ceph-backport.sh: automate setting of milestone and component label, implement --version option
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Nathan Cutler [Mon, 7 Oct 2019 19:56:39 +0000 (21:56 +0200)]
ceph-backport.sh: do not say "1 commits"
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 7 Oct 2019 19:40:12 +0000 (21:40 +0200)]
ceph-backport.sh: correctly add note to backport tracker
Before this commit, the JSON was wrong and Redmine silently ignored the note.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 7 Oct 2019 11:56:37 +0000 (13:56 +0200)]
ceph-backport.sh: set SCRIPT_VERSION using --update-version
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Mon, 7 Oct 2019 11:33:26 +0000 (13:33 +0200)]
ceph-backport.sh: implement --update-version and --version options
--update-version (intended for use by script maintainer only) will derive
version number from the output of "git describe" and set the SCRIPT_VERSION
variable inside the script.
--version will display a version number message and exit immediately thereafter.
Signed-off-by: Nathan Cutler <ncutler@suse.com>