]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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: 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 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 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 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 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 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 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>
5 years agodoc/dev/crimson.rst: document CBT testing 30290/head
Kefu Chai [Tue, 10 Sep 2019 11:30:05 +0000 (19:30 +0800)]
doc/dev/crimson.rst: document CBT testing

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoscript/run-cbt.sh: check option correctly 30287/head
Kefu Chai [Tue, 10 Sep 2019 09:40:30 +0000 (17:40 +0800)]
script/run-cbt.sh: check option correctly

* s/source_dir/source-dir/: as the option is named "--source-dir", not
  "--source_dir"
* cd $build_dir, before launching/stopping vstart. as vstart.sh is
  supposed to run from the build directory

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30111 from tspmelo/wip-nfs-read
Lenz Grimmer [Tue, 10 Sep 2019 09:00:56 +0000 (09:00 +0000)]
Merge pull request #30111 from tspmelo/wip-nfs-read

mgr/dashboard: Set RO as the default access_type for RGW NFS exports

Reviewed-by: Ricardo Marques <rimarques@suse.com>
5 years agomgr/dashboard: progress: support rbd_support module async tasks (#29424)
Lenz Grimmer [Tue, 10 Sep 2019 08:53:14 +0000 (08:53 +0000)]
mgr/dashboard: progress: support rbd_support module async tasks (#29424)

mgr/dashboard: progress: support rbd_support module async tasks

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agoMerge pull request #30095 from rjfd/wip-fix-progress-qa
Kefu Chai [Tue, 10 Sep 2019 08:40:09 +0000 (16:40 +0800)]
Merge pull request #30095 from rjfd/wip-fix-progress-qa

qa/mgr/progress: fix timeout error when waiting for osd in event

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agomgr/dashboard: Wait for breadcrumb text is present in e2e tests 30267/head
Volker Theile [Mon, 9 Sep 2019 14:43:13 +0000 (16:43 +0200)]
mgr/dashboard: Wait for breadcrumb text is present in e2e tests

When the cluster is busy it might take some time until the tested component has loaded it's data and is rendered in the browser. Waiting for the breadcrumb text to be present might help to fix errors in the e2e tests.

Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agoMerge pull request #30078 from rhcs-dashboard/fix-41602-master
Kefu Chai [Tue, 10 Sep 2019 08:33:31 +0000 (16:33 +0800)]
Merge pull request #30078 from rhcs-dashboard/fix-41602-master

mgr/dashboard: disable pylint's --py3k flag

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
5 years agoMerge pull request #30126 from dvanders/dvanders_spec
Kefu Chai [Tue, 10 Sep 2019 08:30:09 +0000 (16:30 +0800)]
Merge pull request #30126 from dvanders/dvanders_spec

ceph.spec.in: reserve more memory per build job

Reviewed-By: Nathan Cutler <nculter@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30258 from tchaikov/wip-41721
Kefu Chai [Tue, 10 Sep 2019 08:27:13 +0000 (16:27 +0800)]
Merge pull request #30258 from tchaikov/wip-41721

test/cls_rbd/test_cls_rbd: update TestClsRbd.sparsify

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agodoc/orchestrator: Sync status with reality 30281/head
Sebastian Wagner [Tue, 10 Sep 2019 06:48:59 +0000 (08:48 +0200)]
doc/orchestrator: Sync status with reality

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agoos/bluestore: fix space balancing overflow 30255/head
xie xingguo [Mon, 9 Sep 2019 08:47:47 +0000 (16:47 +0800)]
os/bluestore: fix space balancing overflow

When gifting, bluestore should not gift more than it actually has.
same for bluefs when reclaming.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agoMerge pull request #30273 from neha-ojha/wip-documenting-ceph
Nathan Cutler [Mon, 9 Sep 2019 22:52:00 +0000 (00:52 +0200)]
Merge pull request #30273 from neha-ojha/wip-documenting-ceph

doc/start/documenting-ceph.rst: make better doc recommendations

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/start/documenting-ceph.rst: make better doc recommendations 30273/head
Neha Ojha [Mon, 9 Sep 2019 22:12:37 +0000 (15:12 -0700)]
doc/start/documenting-ceph.rst: make better doc recommendations

I do not think "Editors" is relevant anymore.

Signed-off-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #30187 into master
Patrick Donnelly [Mon, 9 Sep 2019 18:33:40 +0000 (11:33 -0700)]
Merge PR #30187 into master

* refs/pull/30187/head:
script/backport-resolve-issue: better error message

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoceph-volume create a new tox.ini for shell-based tests
Alfredo Deza [Mon, 9 Sep 2019 17:40:06 +0000 (13:40 -0400)]
ceph-volume create a new tox.ini for shell-based tests

Signed-off-by: Alfredo Deza <adeza@redhat.com>
5 years agoMerge pull request #30226 from neha-ojha/wip-41385-2
Neha Ojha [Mon, 9 Sep 2019 16:48:45 +0000 (09:48 -0700)]
Merge pull request #30226 from neha-ojha/wip-41385-2

osd/MissingLoc.cc: do not rely on missing_loc_sources only

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>

5 years agoMerge PR #30196 into master
Sage Weil [Mon, 9 Sep 2019 16:19:32 +0000 (11:19 -0500)]
Merge PR #30196 into master

* refs/pull/30196/head:
qa/tasks/ceph: restart: stop osd, mark down, then start

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoMerge pull request #30268 from cbodley/wip-41719
Casey Bodley [Mon, 9 Sep 2019 16:18:39 +0000 (12:18 -0400)]
Merge pull request #30268 from cbodley/wip-41719

cls/rgw: fix bilog trim tests in ceph_test_cls_rgw

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge PR #30220 into master
Sage Weil [Mon, 9 Sep 2019 16:09:04 +0000 (11:09 -0500)]
Merge PR #30220 into master

* refs/pull/30220/head:
test: Allow fractional milliseconds to make test possible

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agocls/rgw: fix bilog trim tests in ceph_test_cls_rgw 30268/head
Casey Bodley [Mon, 9 Sep 2019 13:42:42 +0000 (09:42 -0400)]
cls/rgw: fix bilog trim tests in ceph_test_cls_rgw

the bucket index prepare step no longer writes a bilog entry, so the
tests were expecting more entries

Fixes: https://tracker.ceph.com/issues/41719
Signed-off-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29127 from bk201/wip-40337
Kefu Chai [Mon, 9 Sep 2019 14:01:58 +0000 (22:01 +0800)]
Merge pull request #29127 from bk201/wip-40337

mgr/dashboard: orchestrator integration initial works

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
5 years agotest/cls_rbd/test_cls_rbd: update TestClsRbd.sparsify 30258/head
Kefu Chai [Mon, 9 Sep 2019 10:39:41 +0000 (18:39 +0800)]
test/cls_rbd/test_cls_rbd: update TestClsRbd.sparsify

after #30061, extents returned by sparse read will always be
an empty map as long as the extents to be read is empty or the extent(s)
in it are empty, even of the objectstorage does not support sparse read.

Fixes: https://tracker.ceph.com/issues/41721
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30115 from alfredodeza/wip-rm41378-2
Alfredo Deza [Mon, 9 Sep 2019 13:32:03 +0000 (09:32 -0400)]
Merge pull request #30115 from alfredodeza/wip-rm41378-2

ceph-volume: pre-install python-apt and its variants before test runs

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #30142 from votdev/issue_41648
Kefu Chai [Mon, 9 Sep 2019 12:32:30 +0000 (20:32 +0800)]
Merge pull request #30142 from votdev/issue_41648

mgr/dashboard: Handle always-on Ceph Manager modules correctly

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30079 from uweigand/issue-41605-fixes
Kefu Chai [Mon, 9 Sep 2019 12:29:39 +0000 (20:29 +0800)]
Merge pull request #30079 from uweigand/issue-41605-fixes

Fix big-endian handling

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30087 from egggHang/ec_benchmark
Kefu Chai [Mon, 9 Sep 2019 12:24:20 +0000 (20:24 +0800)]
Merge pull request #30087 from egggHang/ec_benchmark

test/erasure-code: add exception handling to k & m

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #29892 from Yan-waller/wip-yanj-fixreed_sol_r6_op
Kefu Chai [Mon, 9 Sep 2019 12:22:08 +0000 (20:22 +0800)]
Merge pull request #29892 from Yan-waller/wip-yanj-fixreed_sol_r6_op

osd: fix the missing default value m=2 of reed_sol_r6_op in profile

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30125 from majianpeng/msg-protocolv1-reduece-swap
Kefu Chai [Mon, 9 Sep 2019 12:11:46 +0000 (20:11 +0800)]
Merge pull request #30125 from majianpeng/msg-protocolv1-reduece-swap

msg/async/ProtocolV1: avoid unnecessary bufferlist::swap.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoPendingReleaseNotes: note about changes in `ceph osd erasure-code-profile set` 29892/head
Yan Jun [Wed, 4 Sep 2019 12:46:43 +0000 (20:46 +0800)]
PendingReleaseNotes: note about changes in `ceph osd erasure-code-profile set`

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
5 years agoosd: add sanity check for invalid m/w of liber8tion
Yan Jun [Tue, 3 Sep 2019 14:16:04 +0000 (22:16 +0800)]
osd: add sanity check for invalid m/w of liber8tion

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
5 years agoec/jerasure: save the default m=2 of reed_sol_r6_op in profile
Yan Jun [Mon, 26 Aug 2019 10:34:50 +0000 (18:34 +0800)]
ec/jerasure: save the default m=2 of reed_sol_r6_op in profile

save the default value of m to profile so that it could be dumped
in command 'ceph osd erasure-code-profile get xxx', which is more
useful and friendly to user.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
5 years agoMerge pull request #30109 from rzarzynski/wip-bug-25098-bluefs_layout_t
Kefu Chai [Mon, 9 Sep 2019 11:53:53 +0000 (19:53 +0800)]
Merge pull request #30109 from rzarzynski/wip-bug-25098-bluefs_layout_t

os/bluestore: verify disk layout of BlueFS

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30197 from bk201/wip-41675
Kefu Chai [Mon, 9 Sep 2019 11:19:44 +0000 (19:19 +0800)]
Merge pull request #30197 from bk201/wip-41675

mgr/orchestrator: fix refs property of progresses

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
5 years agomgr/dashboard: Handle always-on Ceph Manager modules correctly 30142/head
Volker Theile [Thu, 5 Sep 2019 14:06:57 +0000 (16:06 +0200)]
mgr/dashboard: Handle always-on Ceph Manager modules correctly

Currently always-on modules are not marked as enabled in the WebUI and can be disabled. This PR will fix that.
Note, this PR will NOT implement code that will prevent a developer from trying to disable an always-on module through the REST API. The Mgr Python extension will throw an adequate exception.

This PR will also do:
* Remove old code fragments from a previous Mgr Module management UI that is obsolete now.
* Cleanup code in BaseMgrModule code.

Fixes: https://tracker.ceph.com/issues/41648
Signed-off-by: Volker Theile <vtheile@suse.com>
5 years agoos/bluestore: add bluestore_bluefs_max_free option
xie xingguo [Sat, 7 Sep 2019 01:24:37 +0000 (09:24 +0800)]
os/bluestore: add bluestore_bluefs_max_free option

This prevents bluefs from trying to acquire more space than
it actually needs, e.g., due to batch deletion of user data.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agoMerge pull request #30199 from IlsooByun/cmake_ptyhon_var
Kefu Chai [Sun, 8 Sep 2019 16:02:20 +0000 (00:02 +0800)]
Merge pull request #30199 from IlsooByun/cmake_ptyhon_var

build/ops: fix build fail related to PYTHON_EXECUTABLE variable

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #29986 into master
Sage Weil [Sat, 7 Sep 2019 20:09:25 +0000 (15:09 -0500)]
Merge PR #29986 into master

* refs/pull/29986/head:
mgr/pg_autoscaler: use 'stored' for pool_logical_used

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #30139 into master
Sage Weil [Sat, 7 Sep 2019 20:08:57 +0000 (15:08 -0500)]
Merge PR #30139 into master

* refs/pull/30139/head:
mgr/DaemonServer: skip adjusting pgp_num when merging is in-progress

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30061 from xiexingguo/wip-sparse-read
Xie Xingguo [Sat, 7 Sep 2019 02:34:09 +0000 (10:34 +0800)]
Merge pull request #30061 from xiexingguo/wip-sparse-read

os, osd: readv

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #30059 from xiexingguo/wip-clean-vs-repair
Xie Xingguo [Sat, 7 Sep 2019 02:31:28 +0000 (10:31 +0800)]
Merge pull request #30059 from xiexingguo/wip-clean-vs-repair

osd/PG: fix _finish_recovery vs repair race

Reviewed-by: Neha Ojha <nojha@redhat.com>