]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agomgr/dashboard: Fix e2e host test 30377/head
Tiago Melo [Fri, 13 Sep 2019 11:02:40 +0000 (11:02 +0000)]
mgr/dashboard: Fix e2e host test

There is a random problem with mds service listing
that is causing a e2e test to fail.

This will temporarily fix this problem.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Increase the global value of jasmine timeout (#30359)
Lenz Grimmer [Fri, 13 Sep 2019 12:18:09 +0000 (12:18 +0000)]
mgr/dashboard: Increase the global value of jasmine timeout (#30359)

mgr/dashboard: Increase the global value of jasmine timeout

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
5 years agoMerge pull request #29761 from wjwithagen/wjw-fix-venv-python-version
Kefu Chai [Fri, 13 Sep 2019 08:59:27 +0000 (16:59 +0800)]
Merge pull request #29761 from wjwithagen/wjw-fix-venv-python-version

test/venv: do not hardwire to py2.7 for tox tests

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: Fix calculation of PG Status percentage (#30343)
Lenz Grimmer [Fri, 13 Sep 2019 08:45:20 +0000 (08:45 +0000)]
mgr/dashboard: Fix calculation of PG Status percentage (#30343)

mgr/dashboard: Fix calculation of PG Status percentage

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
5 years agoMerge pull request #30285 from IlsooByun/slow_op_report
Kefu Chai [Fri, 13 Sep 2019 07:53:30 +0000 (15:53 +0800)]
Merge pull request #30285 from IlsooByun/slow_op_report

mgr: do not reset reported if a new metric is not collected

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30112 from liewegas/wip-autoscaler-on
Kefu Chai [Fri, 13 Sep 2019 04:15:05 +0000 (12:15 +0800)]
Merge pull request #30112 from liewegas/wip-autoscaler-on

common: default pg_autoscale_mode=on for new pools

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #29574 into master
Patrick Donnelly [Thu, 12 Sep 2019 23:24:14 +0000 (16:24 -0700)]
Merge PR #29574 into master

* refs/pull/29574/head:
mds: Reorganize class members in FSMapUser header

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #29883 into master
Patrick Donnelly [Thu, 12 Sep 2019 23:23:26 +0000 (16:23 -0700)]
Merge PR #29883 into master

* refs/pull/29883/head:
mds: Reorganize class members in InoTable header

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #30090 into master
Patrick Donnelly [Thu, 12 Sep 2019 23:20:49 +0000 (16:20 -0700)]
Merge PR #30090 into master

* refs/pull/30090/head:
mds: Reorganize class members in Anchor header

Reviewed-by: Jos Collin <jcollin@redhat.com>
5 years agoMerge PR #30143 into master
Patrick Donnelly [Thu, 12 Sep 2019 23:20:02 +0000 (16:20 -0700)]
Merge PR #30143 into master

* refs/pull/30143/head:
mds: Reorganize class members in LocalLock header

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #30205 into master
Patrick Donnelly [Thu, 12 Sep 2019 23:19:11 +0000 (16:19 -0700)]
Merge PR #30205 into master

* refs/pull/30205/head:
mds: Reorganize class members in LogEvent header

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
5 years agoMerge PR #30191 into master
Sage Weil [Thu, 12 Sep 2019 16:45:47 +0000 (11:45 -0500)]
Merge PR #30191 into master

* refs/pull/30191/head:
cls/hello: disable write returning data clobbering demo
messages/MOSDOpReply: assert no write result payloads
osd/PrimaryLogPG: assert write result == 0
osd/PrimaryLogPG: pass TMAPGET errors up
osd/PrimaryLogPG: set result=0 for successful writes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #29792 from sebastian-philipp/orchestrator-api-replace
Sebastian Wagner [Thu, 12 Sep 2019 15:46:27 +0000 (17:46 +0200)]
Merge pull request #29792 from sebastian-philipp/orchestrator-api-replace

mgr/orchestrator: Document OSD replacement

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
5 years agocommon: default pg_autoscale_mode=on for new pools 30112/head
Sage Weil [Tue, 3 Sep 2019 15:54:47 +0000 (10:54 -0500)]
common: default pg_autoscale_mode=on for new pools

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agocls/hello: disable write returning data clobbering demo 30191/head
Sage Weil [Tue, 10 Sep 2019 12:08:56 +0000 (07:08 -0500)]
cls/hello: disable write returning data clobbering demo

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #29820 into master
Sage Weil [Thu, 12 Sep 2019 14:57:12 +0000 (09:57 -0500)]
Merge PR #29820 into master

* refs/pull/29820/head:
osd/PeeringState: log_weirdness during peering
osd/PeeringState: send new message types
osd/PeeringState: give require_osd_release to BufferedRecoveryMessages
osd: add new notify, query, and info messages
osd/PeeringState: use send_info() for replica activation ack
osd/PeeringState: remove old info_map member
osd/PeeringState: send infos via message_map (not info_map)
osd/PeeringState: remove old query_map member
osd/PeeringState: send queries via message_map (not query_map)
osd/PeeringState: use return value from discover_all_missing
osd/PeeringState: give PeeringCtxWrapper a BufferedRecoveryMessages ref
osd/PeeringState: send notifies via message_map (not notify_list)
osd/PeeringState: add message_map to PeeringCtx/BufferedRecoveryMessages
osd: dispatch_context inside PG lock

Reviewed-by: Samuel Just <sjust@redhat.com>
5 years agoMerge pull request #30146 from ivancich/wip-fix-min-unordered-bkt-list
J. Eric Ivancich [Thu, 12 Sep 2019 14:47:19 +0000 (10:47 -0400)]
Merge pull request #30146 from ivancich/wip-fix-min-unordered-bkt-list

rgw: fix minimum of unordered bucket listing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
5 years agomgr/dashboard: Display the duration of each e2e test 30359/head
Tiago Melo [Thu, 12 Sep 2019 14:21:06 +0000 (14:21 +0000)]
mgr/dashboard: Display the duration of each e2e test

Now we are able to see which tests are taking
too much time and may need improvements.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Increase the global value of jasmine timeout
Tiago Melo [Thu, 12 Sep 2019 09:00:17 +0000 (09:00 +0000)]
mgr/dashboard: Increase the global value of jasmine timeout

Some tests are taking longer than the default jasmine timeout to finish
and are causing a failure.

This commit will increase the timeout to 5 minutes,
removing the need to increase it for each failing test.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #30106 from smithfarm/wip-more-cbs
Nathan Cutler [Thu, 12 Sep 2019 10:04:25 +0000 (12:04 +0200)]
Merge pull request #30106 from smithfarm/wip-more-cbs

script/ceph-backport.sh: make the script idempotent

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agomgr/dashboard: key-value-table doesn't render booleans (#30203)
Lenz Grimmer [Thu, 12 Sep 2019 09:59:14 +0000 (09:59 +0000)]
mgr/dashboard: key-value-table doesn't render booleans (#30203)

 mgr/dashboard: key-value-table doesn't render booleans

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agomgr/dashboard: Fix error message not displayed in pool form (#30137)
Lenz Grimmer [Thu, 12 Sep 2019 09:15:24 +0000 (09:15 +0000)]
mgr/dashboard: Fix error message not displayed in pool form (#30137)

mgr/dashboard: Fix error message not displayed in pool form

Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #28936 from tchaikov/wip-unaligned-access
Kefu Chai [Thu, 12 Sep 2019 04:49:49 +0000 (12:49 +0800)]
Merge pull request #28936 from tchaikov/wip-unaligned-access

cmake: check for unaligned access

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #28939 from trociny/wip-37529
Jason Dillaman [Thu, 12 Sep 2019 02:19:35 +0000 (22:19 -0400)]
Merge pull request #28939 from trociny/wip-37529

rbd-mirror: add namespace support

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #30192 from dzafman/wip-41669
David Zafman [Wed, 11 Sep 2019 21:20:24 +0000 (14:20 -0700)]
Merge pull request #30192 from dzafman/wip-41669

Make dumping of reservation info congruent between scrub and recovery

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #30347 from neha-ojha/wip-add-backend
Neha Ojha [Wed, 11 Sep 2019 20:58:58 +0000 (13:58 -0700)]
Merge pull request #30347 from neha-ojha/wip-add-backend

qa/suites/rados/perf: test min recommended osd_memory_target

Reviewed-by: Mark Nelson <mnelson@redhat.com>
5 years agoMerge pull request #30319 from zhangsw/rgw-fix-zone-rm
Casey Bodley [Wed, 11 Sep 2019 20:50:04 +0000 (16:50 -0400)]
Merge pull request #30319 from zhangsw/rgw-fix-zone-rm

rgw: fix incorrect "radosgw-admin zonegroup rm" info.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoqa/suites/rados/perf: test min recommended osd_memory_target 30347/head
Neha Ojha [Wed, 11 Sep 2019 17:24:06 +0000 (10:24 -0700)]
qa/suites/rados/perf: test min recommended osd_memory_target

Add bluestore-basic-min-osd-mem-target.yaml to objectstore.

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #30346 into master
Patrick Donnelly [Wed, 11 Sep 2019 17:21:30 +0000 (10:21 -0700)]
Merge PR #30346 into master

* refs/pull/30346/head:
script: raw_input was renamed to input in py3

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoscript: raw_input was renamed to input in py3 30346/head
Patrick Donnelly [Wed, 11 Sep 2019 17:00:46 +0000 (10:00 -0700)]
script: raw_input was renamed to input in py3

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #30014 into master
Patrick Donnelly [Wed, 11 Sep 2019 16:59:51 +0000 (09:59 -0700)]
Merge PR #30014 into master

* refs/pull/30014/head:
doc: update CephFS overview in introductory page
doc: filesystem to file system

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge pull request #30221 from cbodley/wip-rgw-dns-name-iends-with
Casey Bodley [Wed, 11 Sep 2019 15:28:42 +0000 (11:28 -0400)]
Merge pull request #30221 from cbodley/wip-rgw-dns-name-iends-with

rgw: fix dns name comparison for virtual hosting

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #30310 from rzarzynski/wip-crimson-op_effects
Kefu Chai [Wed, 11 Sep 2019 15:27:25 +0000 (23:27 +0800)]
Merge pull request #30310 from rzarzynski/wip-crimson-op_effects

crimson/osd: extend OpsExecuter to carry about op effects.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/dashboard: Fix calculation of PG Status percentage 30343/head
Tiago Melo [Wed, 11 Sep 2019 14:53:23 +0000 (14:53 +0000)]
mgr/dashboard: Fix calculation of PG Status percentage

We were reading a wrong value for the total of PGs.

Fixes: https://tracker.ceph.com/issues/41536
Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: E2E enhancements (#30017)
Lenz Grimmer [Wed, 11 Sep 2019 14:32:55 +0000 (14:32 +0000)]
mgr/dashboard: E2E enhancements (#30017)

mgr/dashboard: E2E enhancements

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #29606 from sseshasa/bluestoreCfgObserver
Sridhar Seshasayee [Wed, 11 Sep 2019 13:48:32 +0000 (19:18 +0530)]
Merge pull request #29606 from sseshasa/bluestoreCfgObserver

os/bluestore: Add config observer for osd memory specific options.

5 years agoMerge pull request #29793 from sebastian-philipp/ansible-default-realm-zonegroup
Sebastian Wagner [Wed, 11 Sep 2019 12:57:47 +0000 (14:57 +0200)]
Merge pull request #29793 from sebastian-philipp/ansible-default-realm-zonegroup

mgr/ansible: Change default realm and zonegroup

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
5 years agoMerge pull request #30321 from tchaikov/wip-run-cbt.sh
Kefu Chai [Wed, 11 Sep 2019 11:53:28 +0000 (19:53 +0800)]
Merge pull request #30321 from tchaikov/wip-run-cbt.sh

script/run-cbt.sh: always use python3

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agomgr/dashboard: Update protractor dependencies 30017/head
Tiago Melo [Wed, 11 Sep 2019 01:55:11 +0000 (01:55 +0000)]
mgr/dashboard: Update protractor dependencies

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Enable waitforAngular in E2E
Tiago Melo [Tue, 10 Sep 2019 14:44:47 +0000 (14:44 +0000)]
mgr/dashboard: Enable waitforAngular in E2E

Convert waitForTableData into a method,
using it as a decorator was causing problems.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Add protractor-fast-fail plugin
Tiago Melo [Tue, 10 Sep 2019 12:26:31 +0000 (12:26 +0000)]
mgr/dashboard: Add protractor-fast-fail plugin

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Add click call inside waitClickable
Tiago Melo [Mon, 9 Sep 2019 16:03:16 +0000 (16:03 +0000)]
mgr/dashboard: Add click call inside waitClickable

All waitClickable calls were being followed by a click.
This will remove the need for the click call.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Fix error in pool list component
Tiago Melo [Wed, 4 Sep 2019 13:33:23 +0000 (13:33 +0000)]
mgr/dashboard: Fix error in pool list component

Sometimes the pools list result comes without the tiers field.
This was causing an error in the code.

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Fix random failure in images e2e test
Tiago Melo [Tue, 3 Sep 2019 10:53:05 +0000 (10:53 +0000)]
mgr/dashboard: Fix random failure in images e2e test

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Remove duplicated method
Tiago Melo [Mon, 2 Sep 2019 10:17:38 +0000 (10:17 +0000)]
mgr/dashboard: Remove duplicated method

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Remove helper.po.ts
Tiago Melo [Thu, 29 Aug 2019 20:32:17 +0000 (20:32 +0000)]
mgr/dashboard: Remove helper.po.ts

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Remove E2E warning
Tiago Melo [Thu, 29 Aug 2019 18:52:13 +0000 (18:52 +0000)]
mgr/dashboard: Remove E2E warning

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Extract delete method into page-helper
Tiago Melo [Thu, 29 Aug 2019 18:19:56 +0000 (18:19 +0000)]
mgr/dashboard: Extract delete method into page-helper

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Use suites in protractor
Tiago Melo [Thu, 29 Aug 2019 17:21:26 +0000 (17:21 +0000)]
mgr/dashboard: Use suites in protractor

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Split user-mgmt e2e files
Tiago Melo [Thu, 29 Aug 2019 16:52:29 +0000 (16:52 +0000)]
mgr/dashboard: Split user-mgmt e2e files

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Move some e2e into new "ui" folder
Tiago Melo [Thu, 29 Aug 2019 16:50:55 +0000 (16:50 +0000)]
mgr/dashboard: Move some e2e into new "ui" folder

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agomgr/dashboard: Improve clickCheckbox with some waits
Tiago Melo [Thu, 29 Aug 2019 15:50:51 +0000 (15:50 +0000)]
mgr/dashboard: Improve clickCheckbox with some waits

Signed-off-by: Tiago Melo <tmelo@suse.com>
5 years agoscript/ceph-backport.sh: help the user set up the script 30106/head
Nathan Cutler [Fri, 6 Sep 2019 13:46:37 +0000 (15:46 +0200)]
script/ceph-backport.sh: help the user set up the script

This commit adds several options:

    --setup
    --setup-advice
    --usage-advice
    --troubleshooting-advice

It replaces the "comment block at the beginning of the script" which was lamely
masquerading as documentation.

It also implements heuristic deduction of GitHub remotes.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoscript/ceph-backport.sh: check Backport ticket assignee
Nathan Cutler [Fri, 6 Sep 2019 21:38:46 +0000 (23:38 +0200)]
script/ceph-backport.sh: check Backport ticket assignee

Don't work on tickets assigned to someone else.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agomgr/dashboard: Improve images e2e test (#30212)
Lenz Grimmer [Wed, 11 Sep 2019 10:24:06 +0000 (10:24 +0000)]
mgr/dashboard: Improve images e2e test (#30212)

mgr/dashboard: Improve images e2e test

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
5 years agomgr/dashboard: Wait for breadcrumb text is present in e2e tests (#30267)
Lenz Grimmer [Wed, 11 Sep 2019 10:22:09 +0000 (10:22 +0000)]
mgr/dashboard: Wait for breadcrumb text is present in e2e tests (#30267)

mgr/dashboard: Wait for breadcrumb text is present in e2e tests

5 years agomgr/dashboard: Rendering datatable causes Angular runtime error (#30209)
Lenz Grimmer [Wed, 11 Sep 2019 10:20:52 +0000 (10:20 +0000)]
mgr/dashboard: Rendering datatable causes Angular runtime error (#30209)

mgr/dashboard: Rendering datatable causes Angular runtime error

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoscript/run-cbt.sh: always use python3 30321/head
Kefu Chai [Wed, 11 Sep 2019 09:19:02 +0000 (17:19 +0800)]
script/run-cbt.sh: always use python3

run-cbt.sh will be used by the "ceph-perf-pull-requests" jenkins job,
which will prepare the runtime dependencies by installing python3
modules.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30318 from tchaikov/wip-run-make.sh
Kefu Chai [Wed, 11 Sep 2019 10:14:47 +0000 (18:14 +0800)]
Merge pull request #30318 from tchaikov/wip-run-make.sh

script/run-make.sh: do not pass cmake options twice

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agorgw: fix incorrect "radosgw-admin zonegroup rm" info. 30319/head
zhang Shaowen [Tue, 23 Jul 2019 11:18:05 +0000 (19:18 +0800)]
rgw: fix incorrect "radosgw-admin zonegroup rm" info.

Signed-off-by: zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
5 years agoscript/run-make.sh: do not pass cmake options twice 30318/head
Kefu Chai [Wed, 11 Sep 2019 07:52:16 +0000 (15:52 +0800)]
script/run-make.sh: do not pass cmake options twice

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30292 from Reperator/wip-doc-dashboard-fix-typo
Lenz Grimmer [Wed, 11 Sep 2019 07:17:46 +0000 (07:17 +0000)]
Merge pull request #30292 from Reperator/wip-doc-dashboard-fix-typo

doc: Fixes typo for ceph dashboard command.

5 years agoMerge pull request #30281 from sebastian-philipp/doc-orchestrator-feature-update
Sebastian Wagner [Wed, 11 Sep 2019 06:56:47 +0000 (08:56 +0200)]
Merge pull request #30281 from sebastian-philipp/doc-orchestrator-feature-update

doc/orchestrator: Sync status with reality

Reviewed-by: Tim Serong <tserong@suse.com>
5 years agoMerge pull request #30231 from xiexingguo/wip-blue-balance
Xie Xingguo [Wed, 11 Sep 2019 06:27:44 +0000 (14:27 +0800)]
Merge pull request #30231 from xiexingguo/wip-blue-balance

os/bluestore: add bluestore_bluefs_max_free; smooth space balancing a bit

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30315 from tchaikov/wip-crimson-perf-test
Kefu Chai [Wed, 11 Sep 2019 05:36:09 +0000 (13:36 +0800)]
Merge pull request #30315 from tchaikov/wip-crimson-perf-test

test/crimson: add acceptable section to tests

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agocmake: check for unaligned access 28936/head
Kefu Chai [Tue, 9 Jul 2019 07:27:59 +0000 (15:27 +0800)]
cmake: check for unaligned access

C and C++ allow us to cast a pointer with an alignment requirement to
one with a different alignment requirement. but if the destination
type's alignment is greater/stricter than the source type, the behavior
is undefined. on amd64, it's allowed. and on aarch64, GCC offers an
option named `-munaligned-access` to enable this behavior. so we cannot
take this as guaranteed.

in denc.h and messenger implementations, we just cast the pointers to
the type we want to access without memcpy(), which is, strictly
speaking, not quite standard compliant.

so, to be on the safe side, we detect the support of unaligned access at
compile time.

please note, this would fail the cross-compile. as the target platform
might not support unaligned access, and the produced executable does not
run on the build platform. so this test is skipped if the building
host's architecture is different than that of target host.

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocmake: extract checks into CephChecks.cmake
Kefu Chai [Tue, 9 Jul 2019 06:25:52 +0000 (14:25 +0800)]
cmake: extract checks into CephChecks.cmake

also use case chosen in the macro definition as per suggested by cmake
document. see
https://cmake.org/cmake/help/latest/command/macro.html#invocation

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #29809 into master
Patrick Donnelly [Wed, 11 Sep 2019 03:51:08 +0000 (20:51 -0700)]
Merge PR #29809 into master

* refs/pull/29809/head:
common/config_proxy: hold lock while accessing mutable container

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agotest/crimson: add acceptable section to tests 30315/head
Kefu Chai [Wed, 11 Sep 2019 03:38:35 +0000 (11:38 +0800)]
test/crimson: add acceptable section to tests

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30124 from rzarzynski/wip-crimson-conn-in-msg
Kefu Chai [Wed, 11 Sep 2019 02:22:36 +0000 (10:22 +0800)]
Merge pull request #30124 from rzarzynski/wip-crimson-conn-in-msg

crimson/osd: Message has non-null ref to SocketConnection now.

Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30309 from neha-ojha/wip-41661
Neha Ojha [Wed, 11 Sep 2019 01:25:01 +0000 (18:25 -0700)]
Merge pull request #30309 from neha-ojha/wip-41661

qa/suites/rados/perf/objectstore: do not symlink to qa/objectstore

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #30255 from xiexingguo/wip-bluestore-gift-ratio
Xie Xingguo [Wed, 11 Sep 2019 00:22:38 +0000 (08:22 +0800)]
Merge pull request #30255 from xiexingguo/wip-bluestore-gift-ratio

os/bluestore: fix space balancing overflow

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agocrimson/osd: extend OpsExecuter to carry about op effects. 30310/head
Radoslaw Zarzynski [Mon, 2 Sep 2019 14:38:32 +0000 (16:38 +0200)]
crimson/osd: extend OpsExecuter to carry about op effects.

This commit brings a new infrastructural piece that will be
needed by e.g. the watch/notify mechanism.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge PR #30308 into master
Sage Weil [Tue, 10 Sep 2019 21:13:33 +0000 (16:13 -0500)]
Merge PR #30308 into master

* refs/pull/30308/head:
doc/dev: add teuthology priority recommendations

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoosd: Replace active/pending scrub tracking for local/remote 30192/head
David Zafman [Wed, 31 Jul 2019 00:15:32 +0000 (00:15 +0000)]
osd: Replace active/pending scrub tracking for local/remote

This is similar to how recovery reservations are split between
local and remote.

It was the case that scrubs_pending was used for reservations at
the replicas as well as at the primary while requesting reservations
from the replicas.  There was no need for scrubs_pending to turn
into scrubs_active at the primary as nothing treated that value
as special.  scrubber.active = true when scrubbing is
actually going.

Now scurbber.local_reserved indicates scrubs_local incremented
Now scrubber.remote_reserved indicates scrubs_remote incremented

Fixes: https://tracker.ceph.com/issues/41669
Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoosd: Add dump_scrub_reservations to show scrub reserve tracking
David Zafman [Tue, 30 Jul 2019 20:43:05 +0000 (20:43 +0000)]
osd: Add dump_scrub_reservations to show scrub reserve tracking

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoosd: Rename dump_reservations to dump_recovery_reservations
David Zafman [Wed, 31 Jul 2019 17:39:33 +0000 (17:39 +0000)]
osd: Rename dump_reservations to dump_recovery_reservations

Signed-off-by: David Zafman <dzafman@redhat.com>
5 years agoqa/suites/rados/perf/objectstore: do not symlink to qa/objectstore 30309/head
Neha Ojha [Tue, 10 Sep 2019 19:57:10 +0000 (12:57 -0700)]
qa/suites/rados/perf/objectstore: do not symlink to qa/objectstore

Removing the symlink since we do not want to run performance tests
on filestore-xfs.yaml.

Fixes: https://tracker.ceph.com/issues/41661
Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agodoc/dev: add teuthology priority recommendations 30308/head
Patrick Donnelly [Tue, 10 Sep 2019 19:39:56 +0000 (12:39 -0700)]
doc/dev: add teuthology priority recommendations

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #30269 from dabukalam/patch-1
Alfredo Deza [Tue, 10 Sep 2019 19:35:45 +0000 (15:35 -0400)]
Merge pull request #30269 from dabukalam/patch-1

doc: Update ceph-deploy docs from dumpling to nautilus

Reviewed-by: Alfredo Deza <adeza@redhat.com>
5 years agodoc: Update ceph-deploy docs from dumpling to nautilus 30269/head
Danny Abukalam [Tue, 10 Sep 2019 17:53:48 +0000 (18:53 +0100)]
doc: Update ceph-deploy docs from dumpling to nautilus

Signed-off-by: Danny Abukalam <danny@softiron.co.uk>
5 years agoMerge pull request #30274 from alfredodeza/wip-rm41660
Alfredo Deza [Tue, 10 Sep 2019 17:15:37 +0000 (13:15 -0400)]
Merge pull request #30274 from alfredodeza/wip-rm41660

ceph-volume: fix stderr failure to decode/encode when redirected

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
5 years agomgr: do not reset reported if a new metric is not collected 30285/head
Ilsoo Byun [Tue, 10 Sep 2019 09:13:02 +0000 (18:13 +0900)]
mgr: do not reset reported if a new metric is not collected

Fixes: https://tracker.ceph.com/issues/41741
Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
5 years agodoc: update CephFS overview in introductory page 30014/head
Patrick Donnelly [Thu, 29 Aug 2019 17:38:32 +0000 (10:38 -0700)]
doc: update CephFS overview in introductory page

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge pull request #30287 from tchaikov/wip-run-cbt
Kefu Chai [Tue, 10 Sep 2019 15:47:51 +0000 (23:47 +0800)]
Merge pull request #30287 from tchaikov/wip-run-cbt

script/run-cbt.sh: check option correctly

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agoMerge pull request #30290 from tchaikov/wip-doc-cbt
Kefu Chai [Tue, 10 Sep 2019 15:47:04 +0000 (23:47 +0800)]
Merge pull request #30290 from tchaikov/wip-doc-cbt

doc/dev/crimson.rst: document CBT testing

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
5 years agodoc: filesystem to file system
Patrick Donnelly [Mon, 9 Sep 2019 19:36:04 +0000 (12:36 -0700)]
doc: filesystem to file system

"Filesystem" is not a word (although fairly common in use).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoosd/PeeringState: log_weirdness during peering 29820/head
Sage Weil [Tue, 10 Sep 2019 14:57:48 +0000 (09:57 -0500)]
osd/PeeringState: log_weirdness during peering

Log this in a few more places so that we can catch issues sooner.

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30289 from wjwithagen/wjw-fix-pylint-dashboard-progress.py
Kefu Chai [Tue, 10 Sep 2019 14:53:21 +0000 (22:53 +0800)]
Merge pull request #30289 from wjwithagen/wjw-fix-pylint-dashboard-progress.py

dashboard/services: fix lint error

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agodashboard/services: fix lint error 30289/head
Willem Jan Withagen [Tue, 10 Sep 2019 11:27:13 +0000 (13:27 +0200)]
dashboard/services: fix lint error

```
lint run-test: commands[0] | flake8
 many blank lines (3)
1     E303 too many blank lines (3)
```

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
5 years agodoc: Fixes typo for ceph dashboard command. 30292/head
Fabian Bonk [Tue, 10 Sep 2019 13:11:36 +0000 (15:11 +0200)]
doc: Fixes typo for ceph dashboard command.

Signed-off-by: Fabian Bonk <fabian.bonk@croit.io>
5 years agoos/bluestore: smooth space balancing a bit 30231/head
xie xingguo [Sat, 7 Sep 2019 02:04:50 +0000 (10:04 +0800)]
os/bluestore: smooth space balancing a bit

For workloads that need to handle tons of small objects,
the space of "slow" could become extremely fragmented,
which makes it is hard to transmit free space between
bluestore and bluefs.

Hard cap alloc size at 1GB at per request, so there is
1024 small allocations at most. Hence we don't block
write ops for long.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agoceph-volume tests create a test file for checking unicode output 30274/head
Alfredo Deza [Mon, 9 Sep 2019 22:55:13 +0000 (18:55 -0400)]
ceph-volume tests create a test file for checking unicode output

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume tests create a shell test for functional unicode
Alfredo Deza [Mon, 9 Sep 2019 22:54:51 +0000 (18:54 -0400)]
ceph-volume tests create a shell test for functional unicode

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume tests verify new logging fallback and encodings in terminal
Alfredo Deza [Mon, 9 Sep 2019 19:20:13 +0000 (15:20 -0400)]
ceph-volume tests verify new logging fallback and encodings in terminal

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume terminal remove unicode stream handler
Alfredo Deza [Mon, 9 Sep 2019 17:45:08 +0000 (13:45 -0400)]
ceph-volume terminal remove unicode stream handler

This caused problems in environments where stderr was redirected, since
stderr sets the encoding to None. Getting it back again allows
everything to work correctly, and keeps all the current unit tests
passing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume: instantiate the new terminal logger in main()
Alfredo Deza [Mon, 9 Sep 2019 17:44:36 +0000 (13:44 -0400)]
ceph-volume: instantiate the new terminal logger in main()

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoceph-volume create a logger for the terminal
Alfredo Deza [Mon, 9 Sep 2019 17:44:17 +0000 (13:44 -0400)]
ceph-volume create a logger for the terminal

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoMerge PR #30155 into master
Sage Weil [Tue, 10 Sep 2019 12:14:27 +0000 (07:14 -0500)]
Merge PR #30155 into master

* refs/pull/30155/head:
mgr/MgrClient: send MMgrCommand for octopus+ mgrs
mon/MgrMap: include mgr_features in mgrmap
mgr: accept MMgrCommand[Reply] messages (in addition to MCommand[Reply])

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #30162 from cyx1231st/wip-seastar-msgr-test-failover-crimson
Kefu Chai [Tue, 10 Sep 2019 11:37:59 +0000 (19:37 +0800)]
Merge pull request #30162 from cyx1231st/wip-seastar-msgr-test-failover-crimson

crimson/test: v2 failover tests with crimson FailoverTestPeer

Reviewed-by: Kefu Chai <kchai@redhat.com>