]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agomsg/async: clean up code. 30883/head
Jianpeng Ma [Tue, 15 Oct 2019 05:16:22 +0000 (13:16 +0800)]
msg/async: clean up code.

Currently, function submit_message only used by send_to, so conbine
them to one.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
5 years agoMerge PR #30871 into master
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>
5 years agoMerge PR #30836 into master
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>
5 years agoMerge PR #30872 into master
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>
5 years agoqa: more tries for mon tell when injecting msgr failures 30872/head
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>
5 years agoMerge PR #30734 into master
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>
5 years agoMerge PR #30819 into master
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>
5 years agoMerge PR #30781 into master
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>
5 years agoMerge PR #30753 into master
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>
5 years agoqa/suites/rados/singleton*: symlink to same msgr-failures
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>
5 years agomgr/telemetry: include balancer info (active=true/false, mode) 30871/head
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>
5 years agomgr/telemetry: include per-pool pg_autoscale info
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>
5 years agoMerge pull request #30694 from rjfd/wip-dashboard-fix-translations
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>
5 years agoMerge pull request #30522 from rhcs-dashboard/fix-41990-master
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

5 years agoMerge pull request #30789 from s0nea/wip-dashboard-exception-errorcodes
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>
5 years agoMerge pull request #30864 from s0nea/wip-dashboard-comment-failing-suites-out
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>

5 years agoMerge pull request #30847 from rhcs-dashboard/fix-42268-master
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>
5 years agoMerge pull request #26146 from snijhuis/master
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>
5 years agomgr/dashboard: fix typos in HACKING.rst 30847/head
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>
5 years agomgr/dashboard: comment questionable suites out 30864/head
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>
5 years agomgr/dashboard: sort QA suites alphabetically
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>
5 years agomgr/dashboard: wait a moment after module load 30789/head
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>
5 years agomgr/dashboard: reset login to admin user
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>
5 years agomgr/dashboard: check for correct DashboardException error codes
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>
5 years agoMerge pull request #30658 from ricardoasmarques/delete-item-name
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>
5 years agoMerge pull request #30815 from ricardoasmarques/remove-unused-endpoint
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>
5 years agomgr/pg_autoscaler: complete event if pool disappears 30819/head
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>
5 years agoMerge pull request #30854 from dmick/wip-fix-dict-pop
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

5 years agoMerge PR #30494 into master
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>
5 years agoMerge PR #30817 into master
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

5 years agomgr/telemetry: dict.pop() errs on nonexistent key 30854/head
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>
5 years agoMerge pull request #30742 from croit/rgw-fix-max-concurrent-ios-docs
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>
5 years agomgr/dashboard: Allow I18N when using "ng serve" 30694/head
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>
5 years agomgr/dashboard: frontend: default language option in environment
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>
5 years agomgr/dashboard: Only show available languages
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>
5 years agomgr/dashboard: endpoint to list available languages
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>
5 years agomgr/dashboard: Store selected language in cookies
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>
5 years agomgr/dashboard: Provide TRANSLATIONS directly in app.module.ts
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>
5 years agomgr/dashboard: Remove missing translation warnings during build
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>
5 years agomgr/dashboard: Remove support for older browsers.
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>
5 years agomgr/dashboard: Remove call to registerLocalData
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>
5 years agomgr/dashboard: Remove I18N from main.ts
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>
5 years agomake-dist: build dashboard frontend for each language
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>
5 years agodashboard: detect language and serve correct frontend app
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>
5 years agodoc: new Dashboard Plugin: Debug 30522/head
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>
5 years agocmake: dashboard: support locale-dependent frontend builds
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>
5 years agomgr/dashboard: frontend: add npm-run-all dependency
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>
5 years agomgr/dashboard: package.json: add build scripts for each language
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>
5 years agoMerge pull request #26524 from linuxbox2/wip-lc-days-0
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

5 years agoMerge pull request #30735 from yuvalif/fix_race_condition_in_amqp_test
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

5 years agoMerge pull request #30725 from smithfarm/wip-more-cbs-2
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>
5 years agoceph-backport.sh: do not say "1 commits" 30725/head
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>
5 years agoceph-backport.sh: correctly add note to backport tracker
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>
5 years agoceph-backport.sh: set SCRIPT_VERSION using --update-version
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>
5 years agoceph-backport.sh: implement --update-version and --version options
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>
5 years agoceph-backport.sh: guess component label
Nathan Cutler [Sun, 6 Oct 2019 19:32:42 +0000 (21:32 +0200)]
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>
5 years agoMerge pull request #29447 from rafaelquint/osdtest2
Tatjana Dehler [Thu, 10 Oct 2019 11:05:16 +0000 (13:05 +0200)]
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>
5 years agomgr/dashboard: log request uuid
Ernesto Puerta [Thu, 10 Oct 2019 09:23:40 +0000 (11:23 +0200)]
mgr/dashboard: log request uuid

Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agomgr/dashboard: add Debug plugin
Ernesto Puerta [Thu, 10 Oct 2019 09:24:54 +0000 (11:24 +0200)]
mgr/dashboard: add Debug plugin

Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agomgr/dashboard: add new plugin hooks
Ernesto Puerta [Thu, 10 Oct 2019 09:21:52 +0000 (11:21 +0200)]
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>
5 years agomgr/dashboard: doc plugin infra changes
Ernesto Puerta [Thu, 10 Oct 2019 09:20:45 +0000 (11:20 +0200)]
mgr/dashboard: doc plugin infra changes

Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agomgr/dashboard: add SimplePlugin helper
Ernesto Puerta [Thu, 10 Oct 2019 09:19:59 +0000 (11:19 +0200)]
mgr/dashboard: add SimplePlugin helper

Helper added to simplify common tasks when creating a new plugin
(OPTIONS, COMMANDS, etc).

Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agomgr/dashboard: add new interfaces to plugin
Ernesto Puerta [Thu, 10 Oct 2019 09:17:43 +0000 (11:17 +0200)]
mgr/dashboard: add new interfaces to plugin

New plugin Mixins (`CanCherrypy`) and Interfaces (`Initializable`,
`ConfiguresCherryPy`) have been added to plugin interfaces.

Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agomgr/dashboard: add Mixins and @final to plugins
Ernesto Puerta [Thu, 10 Oct 2019 09:16:13 +0000 (11:16 +0200)]
mgr/dashboard: add Mixins and @final to plugins

Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoMerge pull request #30400 from rhcs-dashboard/fix-41867-master
Ricardo Marques [Thu, 10 Oct 2019 10:45:13 +0000 (11:45 +0100)]
Merge pull request #30400 from rhcs-dashboard/fix-41867-master

mgr: change perf-counter precision to float

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #30814 from Devp00l/wip-42077
Tatjana Dehler [Thu, 10 Oct 2019 10:15:49 +0000 (12:15 +0200)]
Merge pull request #30814 from Devp00l/wip-42077

mgr/dashboard: Fixes random cephfs tab test failure

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agoMerge pull request #30834 from tchaikov/wip-crimson/pg-lease
Kefu Chai [Thu, 10 Oct 2019 09:28:52 +0000 (17:28 +0800)]
Merge pull request #30834 from tchaikov/wip-crimson/pg-lease

crimson/osd: should handle pg_lease messages

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoosd/PeeringState: send pg_info2 if release >= octopus 30836/head
Kefu Chai [Thu, 10 Oct 2019 08:45:10 +0000 (16:45 +0800)]
osd/PeeringState: send pg_info2 if release >= octopus

in octopus, we start using pg_info2 instead of pg_info. the latter is
being deprecated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: Remove unused RBD "configuration" endpoint 30815/head
Ricardo Marques [Wed, 9 Oct 2019 16:19:37 +0000 (17:19 +0100)]
mgr/dashboard: Remove unused RBD "configuration" endpoint

Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agomgr: add new Command helper
Ernesto Puerta [Thu, 10 Oct 2019 09:07:10 +0000 (11:07 +0200)]
mgr: add new Command helper

Fixes: https://tracker.ceph.com/issues/41990
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
5 years agomgr/dashboard: Fixes random cephfs tab test failure 30814/head
Stephan Müller [Wed, 9 Oct 2019 15:47:36 +0000 (17:47 +0200)]
mgr/dashboard: Fixes random cephfs tab test failure

Fixes: https://tracker.ceph.com/issues/42077
Signed-off-by: Stephan Müller <smueller@suse.com>
5 years agorgw/amqp: fix race condition in AMQP unit test 30735/head
Yuval Lifshitz [Sun, 6 Oct 2019 08:31:35 +0000 (11:31 +0300)]
rgw/amqp: fix race condition in AMQP unit test

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
5 years agocrimson/osd: always init BufferedRecoveryMessages w/ octopus 30834/head
Kefu Chai [Thu, 10 Oct 2019 07:02:59 +0000 (15:02 +0800)]
crimson/osd: always init BufferedRecoveryMessages w/ octopus

we don't need to be compatible with pre-octopus releases

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: use in-class initialization to init member variables
Kefu Chai [Thu, 10 Oct 2019 07:02:05 +0000 (15:02 +0800)]
crimson/osd: use in-class initialization to init member variables

for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocrimson/osd: should handle pg_lease and pg_lease_ack
Kefu Chai [Thu, 10 Oct 2019 06:50:58 +0000 (14:50 +0800)]
crimson/osd: should handle pg_lease and pg_lease_ack

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30787 from zhangdaolong/master
Kefu Chai [Thu, 10 Oct 2019 06:04:56 +0000 (14:04 +0800)]
Merge pull request #30787 from zhangdaolong/master

doc, qa: remove invalid option mon_pg_warn_max_per_osd

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #30724 into master
Sage Weil [Thu, 10 Oct 2019 02:30:44 +0000 (21:30 -0500)]
Merge PR #30724 into master

* refs/pull/30724/head:
mgr/telemetry: bump content revision and add a release note
telemetry/server: add device report endpoint
mgr/telemetry: include device telemetry
mgr/devicehealth: factor _get_device_metrics out of show_device_metrics
mgr/devicehealth: pull out MAX_SAMPLES

Reviewed-by: Dan Mick <dmick@redhat.com>
5 years agomgr/telemetry: bump content revision and add a release note 30724/head
Sage Weil [Fri, 4 Oct 2019 21:20:31 +0000 (16:20 -0500)]
mgr/telemetry: bump content revision and add a release note

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agotelemetry/server: add device report endpoint
Sage Weil [Fri, 4 Oct 2019 20:17:07 +0000 (15:17 -0500)]
telemetry/server: add device report endpoint

Add a standalone endpoint to report device telemetry.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agomgr/telemetry: include device telemetry
Sage Weil [Fri, 4 Oct 2019 20:03:53 +0000 (15:03 -0500)]
mgr/telemetry: include device telemetry

- anonymize device id
- anonymize host names
- strip out the serial number

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #30809 into master
Patrick Donnelly [Wed, 9 Oct 2019 20:30:20 +0000 (13:30 -0700)]
Merge PR #30809 into master

* refs/pull/30809/head:
qa: tolerate ECONNRESET errcode during logrotate

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #30738 into master
Sage Weil [Wed, 9 Oct 2019 19:13:40 +0000 (14:13 -0500)]
Merge PR #30738 into master

* refs/pull/30738/head:
mgr/alerts: raise health alert if smtplib has a problem
mgr/alerts: simple module to send health alerts

Reviewed-by: Tim Serong <tserong@suse.com>
5 years agoMerge pull request #30793 from ricardoasmarques/rbd-parent-namespace
Jason Dillaman [Wed, 9 Oct 2019 19:04:40 +0000 (15:04 -0400)]
Merge pull request #30793 from ricardoasmarques/rbd-parent-namespace

pybind/rbd: parent_info should return pool namespace

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoqa/suites/rados/thrash-old-clients: exclude ceph-daemon on nautilus installs 30817/head
Sage Weil [Wed, 9 Oct 2019 18:12:26 +0000 (13:12 -0500)]
qa/suites/rados/thrash-old-clients: exclude ceph-daemon on nautilus installs

i did the original addition by grepping for ceph-mgr-ssh, but that's
included in nautilus so I missed this one!

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30800 from liewegas/wip-container-image
Jason Dillaman [Wed, 9 Oct 2019 17:05:26 +0000 (13:05 -0400)]
Merge pull request #30800 from liewegas/wip-container-image

common: rename 'image' to 'container_image'

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #30619 from dang/wip-dang-zipper-2
Daniel Gryniewicz [Wed, 9 Oct 2019 16:38:27 +0000 (12:38 -0400)]
Merge pull request #30619 from dang/wip-dang-zipper-2

rgw: Project Zipper - Bucketlist

5 years agoMerge pull request #30811 from rzarzynski/wip-script-run-cbt-on-classical
Kefu Chai [Wed, 9 Oct 2019 15:01:39 +0000 (23:01 +0800)]
Merge pull request #30811 from rzarzynski/wip-script-run-cbt-on-classical

script/run-cbt.sh: add support for ceph-osd testing.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoscript/run-cbt.sh: add support for ceph-osd testing. 30811/head
Radoslaw Zarzynski [Wed, 9 Oct 2019 13:25:50 +0000 (15:25 +0200)]
script/run-cbt.sh: add support for ceph-osd testing.

The patch brings `--classical` switch to the `run-cbt.sh`
script. Its purpose is to automate the apple-to-apple
comparison between OSD implementations. In both cases
memstore is selected and the same benchmarks are used.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #30747 from rjfd/wip-dashboard-task-controller-race
Kefu Chai [Wed, 9 Oct 2019 12:53:35 +0000 (20:53 +0800)]
Merge pull request #30747 from rjfd/wip-dashboard-task-controller-race

mgr/dashboard: tasks: only unblock controller thread after TaskManager thread

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
5 years agoqa: tolerate ECONNRESET errcode during logrotate 30809/head
Venky Shankar [Wed, 9 Oct 2019 04:52:20 +0000 (00:52 -0400)]
qa: tolerate ECONNRESET errcode during logrotate

Fixes: http://tracker.ceph.com/issues/41800
Signed-off-by: Venky Shankar <vshankar@redhat.com>
5 years agopybind/rbd: deprecate `parent_info` 30793/head
Ricardo Marques [Wed, 9 Oct 2019 09:51:21 +0000 (10:51 +0100)]
pybind/rbd: deprecate `parent_info`

`parent_info` is not returning the parent pool namespace
so `get_parent_image_spec` should be used instead.

Signed-off-by: Ricardo Marques <rimarques@suse.com>
5 years agodoc, qa:remove invalid option mon_pg_warn_max_per_osd 30787/head
zhangdaolong [Tue, 8 Oct 2019 11:15:43 +0000 (19:15 +0800)]
doc, qa:remove invalid option mon_pg_warn_max_per_osd

The older mon_pg_warn_max_per_osd option has been removed in v12.2.1 Luminous
https://ceph.com/releases/v12-2-1-luminous-released/

Fixes: https://tracker.ceph.com/issues/42221
Signed-off-by: zhang daolong <zhangdaolong@fiberhome.com>
5 years agoMerge pull request #30682 from badone/wip-bz1749874-pid-in-large-omap-log
Brad Hubbard [Wed, 9 Oct 2019 07:31:24 +0000 (17:31 +1000)]
Merge pull request #30682 from badone/wip-bz1749874-pid-in-large-omap-log

osd/PG: Add PG to large omap log message

Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
5 years agoMerge pull request #30645 from tchaikov/wip-doc/man/ceph/config
Kefu Chai [Wed, 9 Oct 2019 07:20:25 +0000 (15:20 +0800)]
Merge pull request #30645 from tchaikov/wip-doc/man/ceph/config

doc/man/ceph: document 'ceph config'

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoMerge pull request #30250 from tchaikov/wip-do-cmake.sh
Kefu Chai [Wed, 9 Oct 2019 06:52:44 +0000 (14:52 +0800)]
Merge pull request #30250 from tchaikov/wip-do-cmake.sh

do_cmake.sh: remove -DCMAKE_BUILD_TYPE=Debug from cmake options

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #30799 from badone/wip-change-cmake-to-debug-default
Kefu Chai [Wed, 9 Oct 2019 06:43:24 +0000 (14:43 +0800)]
Merge pull request #30799 from badone/wip-change-cmake-to-debug-default

cmake: Do a debug build by default

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30794 from rzarzynski/wip-test-cbt-randread
Kefu Chai [Wed, 9 Oct 2019 06:40:41 +0000 (14:40 +0800)]
Merge pull request #30794 from rzarzynski/wip-test-cbt-randread

test/crimson: cbt test does rand-reads instead of seq-reads.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30726 from tchaikov/wip-musl-alphine
Kefu Chai [Wed, 9 Oct 2019 04:46:26 +0000 (12:46 +0800)]
Merge pull request #30726 from tchaikov/wip-musl-alphine

test: define ALLPERMS if not yet

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agodo_cmake.sh: remove -DCMAKE_BUILD_TYPE=Debug from cmake options 30250/head
Kefu Chai [Wed, 9 Oct 2019 04:26:06 +0000 (12:26 +0800)]
do_cmake.sh: remove -DCMAKE_BUILD_TYPE=Debug from cmake options

so we can use do_cmake.sh for building release builds, which are
required for performance tests.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocmake: Do a debug build by default 30799/head
Brad Hubbard [Wed, 9 Oct 2019 01:52:33 +0000 (11:52 +1000)]
cmake: Do a debug build by default

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>