]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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 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 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>
6 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>
6 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>
6 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>
6 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>
6 years agoMerge pull request #30190 from tchaikov/wip-python-rpm-macro
Kefu Chai [Sat, 7 Sep 2019 00:57:11 +0000 (08:57 +0800)]
Merge pull request #30190 from tchaikov/wip-python-rpm-macro

install-deps.sh: install `python*-devel` for python*rpm-macros

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoosd/MissingLoc.cc: do not rely on missing_loc_sources only 30226/head
Neha Ojha [Fri, 6 Sep 2019 03:35:51 +0000 (20:35 -0700)]
osd/MissingLoc.cc: do not rely on missing_loc_sources only

In 624ade487ea4aeaf988cc1767e0b293f76addd5b, we relied on missing_loc_sources
to check for strays and remove an OSD from missing_loc. However, it is
possible that missing_loc_sources is empty while there are still OSDs
present in missing_loc. Since the aim is to just remove a stray OSD from
missing_loc, we do not need to rely on missing_loc_sources. We still
clean missing_loc_sources if any stray is present in it.

Signed-off-by: Neha Ojha <nojha@redhat.com>
6 years agotest: Allow fractional milliseconds to make test possible 30220/head
David Zafman [Fri, 6 Sep 2019 18:20:10 +0000 (11:20 -0700)]
test: Allow fractional milliseconds to make test possible

Fixes: https://tracker.ceph.com/issues/41689
Signed-off-by: David Zafman <dzafman@redhat.com>
6 years agoinstall-deps.sh: install `python*-devel` for python*rpm-macros 30190/head
Kefu Chai [Thu, 5 Sep 2019 15:17:06 +0000 (23:17 +0800)]
install-deps.sh: install `python*-devel` for python*rpm-macros

in 087ea813, we installed '*rpm-macros' for the macros, so we can have
access to the latest python packaging related macros for preparing the
build dependencies.

but we could run into https://bugs.centos.org/view.php?id=16379, if
we already have an old version of python-devel installed. as the newer
version of python-rpm-macros conflicts with it.

it was a chicken-and-egg problem, as we don't know the exact name of
*rpm-macros packages. that's why we chose to install all of them. but
we have to upgrade the existing python-devel package to resolve the
conflict. but the since there is no python3-devel in RHEL7/CentOS7,
what they have is python36-devel. so we have to hardwire the
`%{python3_pkgversion}` to "36" even before we have access to this
macro, and upgrade the python36-devel package beforehand. but this
renders installing the rpm-macro package less useful -- we intend to
use the macro offered by the package to figure out "36".

as a workaround, we pretend that we know the "main" version of python3
in current RHEL/CentOS. and always install python36-devel for
python-rpm-macros. as the former requires the latter.

once all python3*-devel on all builders are upgraded, we will be safe
to install '*rpm-macros' again without installing python36-devel first.
by then, we could revert this change, or continue installing
python36-devel until the distro bumps up the "main" python version to 3.7

Fixes: https://tracker.ceph.com/issues/41603
Signed-off-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #22574 from aclamk/bs-allocator-ageing-test
Kefu Chai [Fri, 6 Sep 2019 17:53:07 +0000 (01:53 +0800)]
Merge pull request #22574 from aclamk/bs-allocator-ageing-test

bluestore/allocator: Ageing test for bluestore allocators.

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #30028 from tchaikov/wip-rpath
Kefu Chai [Fri, 6 Sep 2019 17:40:53 +0000 (01:40 +0800)]
Merge pull request #30028 from tchaikov/wip-rpath

cmake: selectively rewrite install rpath

Reviewed-by: Sridhar Seshasayee <sseshasa@redhat.com>
6 years agoMerge pull request #30015 from neha-ojha/wip-41429
Kefu Chai [Fri, 6 Sep 2019 17:27:14 +0000 (01:27 +0800)]
Merge pull request #30015 from neha-ojha/wip-41429

mon/Monitor.cc: fix condition that checks for unrecognized auth mode

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Joao Eduardo Luis <joao@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #30023 from tchaikov/wip-get-req
Kefu Chai [Fri, 6 Sep 2019 17:10:06 +0000 (01:10 +0800)]
Merge pull request #30023 from tchaikov/wip-get-req

mon,osd: use get_req<> instead of static_cast<>(get_req())

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge pull request #30210 from ctrlaltdel/doc-typo
Casey Bodley [Fri, 6 Sep 2019 16:04:38 +0000 (12:04 -0400)]
Merge pull request #30210 from ctrlaltdel/doc-typo

doc: Fix a typo in balancer documentation

Reviewed-by: Lenz Grimmer <LGrimmer@suse.com>
6 years agoMerge pull request #29520 from pcuzner/add-events-mgr-module
Sebastian Wagner [Fri, 6 Sep 2019 15:09:21 +0000 (17:09 +0200)]
Merge pull request #29520 from pcuzner/add-events-mgr-module

mgr/k8sevents: Add mgr module for kubernetes event integration

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
6 years agomgr/dashboard: Improve images e2e test 30212/head
Volker Theile [Fri, 6 Sep 2019 14:29:06 +0000 (16:29 +0200)]
mgr/dashboard: Improve images e2e test

The 'should move the image to the trash' e2e fails because the datatable content has not been updated at the time the test checks for the existence of the deleted image.

To fix that the helper function waits until the presence of the datatable row (the same approach is done by other helper functions, too).

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agodoc: Fix a typo in balancer documentation 30210/head
Francois Deppierraz [Fri, 6 Sep 2019 13:12:21 +0000 (15:12 +0200)]
doc: Fix a typo in balancer documentation

Signed-off-by: Francois Deppierraz <francois@ctrlaltdel.ch>
6 years agomgr/dashboard: Rendering datatable causes Angular runtime error 30209/head
Volker Theile [Fri, 6 Sep 2019 12:35:58 +0000 (14:35 +0200)]
mgr/dashboard: Rendering datatable causes Angular runtime error

Due some timing effects it might happen that the re-rendering of the datatable causes an Angular runtime error caused by changes outside Angulars' change-detection.

Fixes: https://tracker.ceph.com/issues/41683
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge PR #29786 into master
Sage Weil [Fri, 6 Sep 2019 12:05:48 +0000 (07:05 -0500)]
Merge PR #29786 into master

* refs/pull/29786/head:
allow for multiple "build" dirs to exist

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agobuild/ops: fix build fail related to PYTHON_EXECUTABLE variable 30199/head
Ilsoo Byun [Fri, 6 Sep 2019 04:50:31 +0000 (13:50 +0900)]
build/ops: fix build fail related to PYTHON_EXECUTABLE variable

Fixes: https://tracker.ceph.com/issues/41676
Signed-off-by: Ilsoo Byun <ilsoobyun@linecorp.com>
6 years agoceph.spec.in: reserve 2500MB per build job 30126/head
Dan van der Ster [Wed, 4 Sep 2019 08:34:42 +0000 (10:34 +0200)]
ceph.spec.in: reserve 2500MB per build job

On our 14GB build machines, 8 parallel jobs results in the compiler
going OOM. Reserving 2500MB per job allows it to succeed with 5 jobs.

Fixes: https://tracker.ceph.com/issues/41659
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
6 years agoallow for multiple "build" dirs to exist 29786/head
Yuval Lifshitz [Wed, 21 Aug 2019 06:27:42 +0000 (09:27 +0300)]
allow for multiple "build" dirs to exist

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>