Sage Weil
71d74aa8c6
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>
2019-10-11 14:16:42 -05:00
Sage Weil
cbaa6c079b
qa/suites/rados/singleton*: symlink to same msgr-failures
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-11 09:10:48 -05:00
Ricardo Dias
a398f985d4
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>
2019-10-11 14:33:31 +01:00
Ricardo Dias
994cc103df
Merge pull request #30522 from rhcs-dashboard/fix-41990-master
...
mgr/dashboard: add debug mode
2019-10-11 14:30:21 +01:00
Ricardo Dias
fefb6b2971
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>
2019-10-11 14:28:59 +01:00
Ricardo Dias
048f0543b2
Merge pull request #30864 from s0nea/wip-dashboard-comment-failing-suites-out
...
mgr/dashboard: comment failing QA suites out
Ricardo Dias <rdias@suse.com>
2019-10-11 14:27:50 +01:00
Ricardo Dias
d45f2da40f
Merge pull request #30847 from rhcs-dashboard/fix-42268-master
...
mgr/dashboard: fix typos in HACKING.rst
Reviewed-by: Ricardo Marques <rimarques@suse.com>
2019-10-11 14:06:53 +01:00
Kefu Chai
44a32df391
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>
2019-10-11 21:04:53 +08:00
Ernesto Puerta
0ab9fbd542
mgr/dashboard: fix typos in HACKING.rst
...
Fixes: https://tracker.ceph.com/issues/42268
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2019-10-11 11:11:10 +02:00
Tatjana Dehler
a747efad29
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>
2019-10-11 10:58:41 +02:00
Tatjana Dehler
9eb64d758f
mgr/dashboard: sort QA suites alphabetically
...
Sort QA suites alphabetically to recognize a missing
suite faster.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2019-10-11 10:56:45 +02:00
Tatjana Dehler
dcb70a3c0d
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>
2019-10-11 10:46:26 +02:00
Tatjana Dehler
a14163a589
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>
2019-10-11 10:46:26 +02:00
Tatjana Dehler
4dd83fd6aa
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>
2019-10-11 10:46:26 +02:00
Ricardo Dias
a7fbcf381b
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>
2019-10-11 09:30:44 +01:00
Ricardo Dias
3d5a854065
Merge pull request #30815 from ricardoasmarques/remove-unused-endpoint
...
mgr/dashboard: Remove unused RBD "configuration" endpoint
Reviewed-by: Stephan Müller <smueller@suse.com>
2019-10-11 09:14:43 +01:00
Dan Mick
80dcf3c637
Merge pull request #30854 from dmick/wip-fix-dict-pop
...
mgr/telemetry: dict.pop() errs on nonexistent key
2019-10-10 16:48:58 -07:00
Patrick Donnelly
729eda7cce
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>
2019-10-10 16:37:27 -07:00
Sage Weil
984f0204c1
Merge PR #30817 into master
...
* refs/pull/30817/head:
qa/suites/rados/thrash-old-clients: exclude ceph-daemon on nautilus installs
2019-10-10 18:10:41 -05:00
Dan Mick
19028f0d9d
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>
2019-10-10 15:18:51 -07:00
Casey Bodley
8cd683aa60
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>
2019-10-10 12:35:14 -04:00
Tiago Melo
c6d657980c
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>
2019-10-10 16:03:32 +01:00
Ricardo Dias
754e26f776
mgr/dashboard: frontend: default language option in environment
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-10-10 16:03:32 +01:00
Tiago Melo
50f10a9420
mgr/dashboard: Only show available languages
...
Read locale from LOCALE_ID, this is defined during build.
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-10-10 16:03:32 +01:00
Ricardo Dias
193e5d8dd2
mgr/dashboard: endpoint to list available languages
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-10-10 16:03:32 +01:00
Tiago Melo
1098265127
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>
2019-10-10 16:03:32 +01:00
Tiago Melo
d0a8ee9bc6
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>
2019-10-10 16:03:32 +01:00
Tiago Melo
69bca2437d
mgr/dashboard: Remove missing translation warnings during build
...
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-10-10 16:03:31 +01:00
Tiago Melo
0393dc9332
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>
2019-10-10 16:03:31 +01:00
Tiago Melo
e483cc4510
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>
2019-10-10 16:03:31 +01:00
Tiago Melo
8c485fe100
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>
2019-10-10 16:03:31 +01:00
Ricardo Dias
5bf5e340e4
make-dist: build dashboard frontend for each language
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-10-10 16:03:31 +01:00
Ricardo Dias
1bdb87f6c0
dashboard: detect language and serve correct frontend app
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-10-10 16:03:31 +01:00
Ernesto Puerta
928bb30952
doc: new Dashboard Plugin: Debug
...
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2019-10-10 17:01:23 +02:00
Ricardo Dias
3fe39d4899
cmake: dashboard: support locale-dependent frontend builds
...
Fixes: https://tracker.ceph.com/issues/41988
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-10-10 15:30:54 +01:00
Ricardo Dias
5adc755201
mgr/dashboard: frontend: add npm-run-all dependency
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-10-10 15:30:54 +01:00
Ricardo Dias
4169abc672
mgr/dashboard: package.json: add build scripts for each language
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-10-10 15:30:54 +01:00
Matt Benjamin
d7ac40e55d
Merge pull request #26524 from linuxbox2/wip-lc-days-0
...
rgw: lifecycle days may be 0
2019-10-10 10:27:23 -04:00
Yuval Lifshitz
c286238c71
Merge pull request #30735 from yuvalif/fix_race_condition_in_amqp_test
...
rgw/amqp: fix race condition in AMQP unit test
2019-10-10 16:35:28 +03:00
Nathan Cutler
bcdf11a0ce
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>
2019-10-10 14:25:43 +02:00
Nathan Cutler
a2515ec5cd
ceph-backport.sh: do not say "1 commits"
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-10 14:22:28 +02:00
Nathan Cutler
d6bad1d186
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>
2019-10-10 14:22:28 +02:00
Nathan Cutler
549b82c11f
ceph-backport.sh: set SCRIPT_VERSION using --update-version
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-10 14:22:28 +02:00
Nathan Cutler
4866621bca
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>
2019-10-10 14:22:28 +02:00
Nathan Cutler
ea97a5a02b
ceph-backport.sh: guess component label
...
If component label is not provided explicitly on the command line, attempt to
guess it.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-10-10 14:22:25 +02:00
Tatjana Dehler
3126702c5d
Merge pull request #29447 from rafaelquint/osdtest2
...
mgr/dashboard: Verify fields on OSDs page
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-10-10 13:05:16 +02:00
Ernesto Puerta
5405c08ee8
mgr/dashboard: log request uuid
...
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2019-10-10 12:58:56 +02:00
Ernesto Puerta
343874a97a
mgr/dashboard: add Debug plugin
...
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2019-10-10 12:58:56 +02:00
Ernesto Puerta
f439a760bb
mgr/dashboard: add new plugin hooks
...
New plugin hooks are: `init` and `update_cherrypy_config`.
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2019-10-10 12:58:56 +02:00
Ernesto Puerta
3999f99c9a
mgr/dashboard: doc plugin infra changes
...
Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2019-10-10 12:58:56 +02:00