]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/log
ceph-ci.git
6 years agoMerge PR #28702 into master
Patrick Donnelly [Fri, 13 Sep 2019 15:35:04 +0000 (08:35 -0700)]
Merge PR #28702 into master

* refs/pull/28702/head:
qa: update json format from session listing
mds: recall caps from quiescent sessions
mds: use Session::dump method uniformly
mds: use auto to deduce iterator type
mds: simplify method definition
mds: remove useless debug message
mds: use const get_request_count
mds: use session_info_t socket inst for addr
mds: refactor session lookup
mds: add explicit trim flag
mds: alphabetize tracked config keys
common: provide method to get half-life
common: correct variable name

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
6 years agoMerge PR #29005 into master
Patrick Donnelly [Fri, 13 Sep 2019 15:33:48 +0000 (08:33 -0700)]
Merge PR #29005 into master

* refs/pull/29005/head:
client: nfs-ganesha with cephfs client, removing dir reports not empty

Reviewed-by: Jeff Layton <jlayton@redhat.com>
6 years agoMerge PR #29594 into master
Patrick Donnelly [Fri, 13 Sep 2019 15:32:10 +0000 (08:32 -0700)]
Merge PR #29594 into master

* refs/pull/29594/head:
mds: reject sessionless messages

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #29752 into master
Patrick Donnelly [Fri, 13 Sep 2019 15:30:13 +0000 (08:30 -0700)]
Merge PR #29752 into master

* refs/pull/29752/head:
mds: make MDSIOContextBase delete itself when shutting down

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agoMerge PR #30361 into master
Sage Weil [Fri, 13 Sep 2019 14:59:01 +0000 (09:59 -0500)]
Merge PR #30361 into master

* refs/pull/30361/head:
qa/tasks/mon_thrash: sync force requires some force flags

Reviewed-by: João Eduardo Luís <joao@suse.de>
6 years agoMerge pull request #30357 from zhangsw/rgw-cleanup-bilog-status
Casey Bodley [Fri, 13 Sep 2019 14:43:14 +0000 (10:43 -0400)]
Merge pull request #30357 from zhangsw/rgw-cleanup-bilog-status

rgw: add missing bilog status to help info.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #29081 from wintamute/patch-1
Alfredo Deza [Fri, 13 Sep 2019 14:11:55 +0000 (10:11 -0400)]
Merge pull request #29081 from wintamute/patch-1

Documentation: Add missing ceph-volume lvm batch argument to ceph-volume.rst

Reviewed-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge PR #30352 into master
Sage Weil [Fri, 13 Sep 2019 13:22:42 +0000 (08:22 -0500)]
Merge PR #30352 into master

* refs/pull/30352/head:
mon: disable min pg per osd warning

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agoMerge pull request #30284 from Damenly/missing_cmath
Kefu Chai [Fri, 13 Sep 2019 13:06:12 +0000 (21:06 +0800)]
Merge pull request #30284 from Damenly/missing_cmath

tests: add missing header cmath to test/mon/test_mon_memory_target.cc

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agodoc: Add missing ceph-volume lvm batch argument to ceph-volume.rst
Andreas Krebs [Wed, 17 Jul 2019 11:09:34 +0000 (13:09 +0200)]
doc: Add missing ceph-volume lvm batch argument to ceph-volume.rst

The optional argument '--osds-per-device' is missing. Since this is quite helpful when creating NVMe based OSDs, it should be documented.

Signed-off-by: Andreas Krebs <wintamute@gmail.com>
6 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>
6 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>
6 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>
6 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>
6 years agoqa: update json format from session listing
Patrick Donnelly [Fri, 13 Sep 2019 00:42:17 +0000 (17:42 -0700)]
qa: update json format from session listing

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 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>
6 years agomds: recall caps from quiescent sessions
Patrick Donnelly [Mon, 26 Aug 2019 21:39:30 +0000 (14:39 -0700)]
mds: recall caps from quiescent sessions

This introduces two new config options [1,2] that dictate when a session
is considered quiescent by the MDS. (Options are documented fully in
options.cc.) When a session is quiescent, the MDS will preemptively
recall caps to reduce the outstanding capabilities which optimizes for
reducing work during failover.

[1] mds_session_cache_liveness_magnitude
[2] mds_session_cache_liveness_decay_rate

Fixes: https://tracker.ceph.com/issues/22446
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: use Session::dump method uniformly
Patrick Donnelly [Fri, 2 Aug 2019 20:34:56 +0000 (13:34 -0700)]
mds: use Session::dump method uniformly

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: use auto to deduce iterator type
Patrick Donnelly [Fri, 2 Aug 2019 20:32:55 +0000 (13:32 -0700)]
mds: use auto to deduce iterator type

This prevents accidental type mismatches.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: simplify method definition
Patrick Donnelly [Fri, 2 Aug 2019 20:32:15 +0000 (13:32 -0700)]
mds: simplify method definition

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: remove useless debug message
Patrick Donnelly [Fri, 2 Aug 2019 20:31:41 +0000 (13:31 -0700)]
mds: remove useless debug message

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: use const get_request_count
Patrick Donnelly [Fri, 2 Aug 2019 20:29:38 +0000 (13:29 -0700)]
mds: use const get_request_count

So it can be used from a const dump method. Make the elist mutable
instead.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: use session_info_t socket inst for addr
Patrick Donnelly [Fri, 2 Aug 2019 20:28:35 +0000 (13:28 -0700)]
mds: use session_info_t socket inst for addr

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: refactor session lookup
Patrick Donnelly [Fri, 2 Aug 2019 20:25:49 +0000 (13:25 -0700)]
mds: refactor session lookup

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: add explicit trim flag
Patrick Donnelly [Fri, 2 Aug 2019 20:22:51 +0000 (13:22 -0700)]
mds: add explicit trim flag

So that the intent of the caller is clear to trim due to the cache being
too full.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agomds: alphabetize tracked config keys
Patrick Donnelly [Fri, 2 Aug 2019 20:17:25 +0000 (13:17 -0700)]
mds: alphabetize tracked config keys

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agocommon: provide method to get half-life
Patrick Donnelly [Fri, 2 Aug 2019 20:10:52 +0000 (13:10 -0700)]
common: provide method to get half-life

Print the half-life in Formatter output as it is human understandable
and the value used when configuring the counters.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agocommon: correct variable name
Patrick Donnelly [Fri, 2 Aug 2019 20:10:21 +0000 (13:10 -0700)]
common: correct variable name

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 years agocommon: default pg_autoscale_mode=on for new pools
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>
6 years agocls/hello: disable write returning data clobbering demo
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>
6 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>
6 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>
6 years agomgr/dashboard: Display the duration of each e2e test
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>
6 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>
6 years agoqa/tasks/mon_thrash: sync force requires some force flags
Sage Weil [Thu, 12 Sep 2019 13:44:46 +0000 (08:44 -0500)]
qa/tasks/mon_thrash: sync force requires some force flags

AFAICS this has been the case for basically forever.  Not sure why/how
the mon_thrash task hasn't had a problem with that?

Signed-off-by: Sage Weil <sage@redhat.com>
6 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>
6 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>
6 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>
6 years agorgw: add missing bilog status to help info.
zhang Shaowen [Thu, 12 Sep 2019 07:16:19 +0000 (15:16 +0800)]
rgw: add missing bilog status to help info.

Signed-off-by: zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
6 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>
6 years agomds: make MDSIOContextBase delete itself when shutting down
Xuehan Xu [Tue, 20 Aug 2019 02:30:42 +0000 (10:30 +0800)]
mds: make MDSIOContextBase delete itself when shutting down

Fixes: https://tracker.ceph.com/issues/41346
Signed-off-by: Xuehan Xu <xxhdx1985126@163.com>
6 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>
6 years agomon: disable min pg per osd warning
Sage Weil [Wed, 11 Sep 2019 22:26:52 +0000 (17:26 -0500)]
mon: disable min pg per osd warning

Now that the pg_autoscaler is on by default, it is "normal" (and okay) to
have a small number of PGs in the cluster if the overall cluster usage is
also low.  This setting just results in a health warning out of the box
when you create a pool and haven't written any data yet.

Fixes: https://tracker.ceph.com/issues/41735
Signed-off-by: Sage Weil <sage@redhat.com>
6 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>
6 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>
6 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>
6 years agoqa/suites/rados/perf: test min recommended osd_memory_target
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>
6 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>
6 years agoscript: raw_input was renamed to input in py3
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>
6 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>
6 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>
6 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>
6 years agomgr/dashboard: Fix calculation of PG Status percentage
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>
6 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>
6 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.

6 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>
6 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>
6 years agomgr/dashboard: Update protractor dependencies
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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 years agoscript/ceph-backport.sh: help the user set up the script
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>
6 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>
6 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>
6 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

6 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>
6 years agoscript/run-cbt.sh: always use python3
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>
6 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>
6 years agorgw: fix incorrect "radosgw-admin zonegroup rm" info.
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>
6 years agoscript/run-make.sh: do not pass cmake options twice
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>
6 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.

6 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>
6 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>
6 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>
6 years agocmake: check for unaligned access
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>
6 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>
6 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>
6 years agotest/crimson: add acceptable section to tests
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>
6 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>
6 years agotests: add missing header cmath to test/mon/test_mon_memory_target.cc
Su Yue [Tue, 10 Sep 2019 07:30:57 +0000 (15:30 +0800)]
tests: add missing header cmath to test/mon/test_mon_memory_target.cc

While building ceph, the complier complains:
=================================================================
[ 86%] Building CXX object src/test/mon/CMakeFiles/ceph_test_mon_memory_target.dir/test_mon_memory_target.cc.o
/root/ceph/src/test/mon/test_mon_memory_target.cc: In int main(int, :
/root/ceph/src/test/mon/test_mon_memory_target.cc:66:16:  was not declared in this scope
   66 |   auto stdev = sqrt(sump / results.size());
      |                ^~~~
make[2]: *** [src/test/mon/CMakeFiles/ceph_test_mon_memory_target.dir/build.make:63: src/test/mon/CMakeFiles/ceph_test_mon_memory_target.dir/test_mon_memory_target.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:15575: src/test/mon/CMakeFiles/ceph_test_mon_memory_target.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
=================================================================

This's caused by lack of header cmath which is required by
std::sqrt().
Fix it by add the header then build continues.

Fixes: https://tracker.ceph.com/issues/41739
Signed-off-by: Su Yue <Damenly_Su@gmx.com>
6 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>
6 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>
6 years agocrimson/osd: extend OpsExecuter to carry about op effects.
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>