Commit Graph

101890 Commits

Author SHA1 Message Date
Tiago Melo
a4cb528013 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>
2019-09-12 14:23:05 +00:00
Tiago Melo
a2f19e6de2 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>
2019-09-12 14:23:05 +00:00
Nathan Cutler
193ef136a3
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>
2019-09-12 12:04:25 +02:00
Lenz Grimmer
ee23c75298
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>
2019-09-12 09:59:14 +00:00
Lenz Grimmer
4bbea68a28
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>
2019-09-12 09:15:24 +00:00
Kefu Chai
ec06dec512
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>
2019-09-12 12:49:49 +08:00
Jason Dillaman
a00b2e1170
Merge pull request #28939 from trociny/wip-37529
rbd-mirror: add namespace support 

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-09-11 22:19:35 -04:00
David Zafman
81bfdf6d0f
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>
2019-09-11 14:20:24 -07:00
Neha Ojha
b2cd2c4eec
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>
2019-09-11 13:58:58 -07:00
Casey Bodley
9c07878b29
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>
2019-09-11 16:50:04 -04:00
Neha Ojha
fe93108a83 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>
2019-09-11 10:32:03 -07:00
Patrick Donnelly
6f346f11f4
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>
2019-09-11 10:21:30 -07:00
Patrick Donnelly
5ee344ab42
script: raw_input was renamed to input in py3
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-09-11 10:00:46 -07:00
Patrick Donnelly
a779766be9
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>
2019-09-11 09:59:51 -07:00
Casey Bodley
3417e26906
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>
2019-09-11 11:28:42 -04:00
Kefu Chai
dba64a739d
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>
2019-09-11 23:27:25 +08:00
Lenz Grimmer
8ce8effe08
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>
2019-09-11 14:32:55 +00:00
Sridhar Seshasayee
b6b6fca078
Merge pull request #29606 from sseshasa/bluestoreCfgObserver
os/bluestore: Add config observer for osd memory specific options.
2019-09-11 19:18:32 +05:30
Sebastian Wagner
9d0868794d
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>
2019-09-11 14:57:47 +02:00
Kefu Chai
1fa6c86d1a
Merge pull request #30321 from tchaikov/wip-run-cbt.sh
script/run-cbt.sh: always use python3

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-09-11 19:53:28 +08:00
Tiago Melo
9f89e76849 mgr/dashboard: Update protractor dependencies
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:13:10 +00:00
Tiago Melo
204ad50bf7 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>
2019-09-11 11:13:10 +00:00
Tiago Melo
9cd400b387 mgr/dashboard: Add protractor-fast-fail plugin
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:13:10 +00:00
Tiago Melo
9144e44cb9 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>
2019-09-11 11:13:08 +00:00
Tiago Melo
a8b8845b7a 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>
2019-09-11 11:12:44 +00:00
Tiago Melo
fe50d15139 mgr/dashboard: Fix random failure in images e2e test
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:12:43 +00:00
Tiago Melo
294c941407 mgr/dashboard: Remove duplicated method
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:12:40 +00:00
Tiago Melo
a23af4c854 mgr/dashboard: Remove helper.po.ts
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:11:01 +00:00
Tiago Melo
038aeedcc4 mgr/dashboard: Remove E2E warning
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:11:01 +00:00
Tiago Melo
760f8c30fc mgr/dashboard: Extract delete method into page-helper
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:11:01 +00:00
Tiago Melo
80c14569c1 mgr/dashboard: Use suites in protractor
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:11:01 +00:00
Tiago Melo
ee6a5b9c64 mgr/dashboard: Split user-mgmt e2e files
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:11:01 +00:00
Tiago Melo
34f213d58c mgr/dashboard: Move some e2e into new "ui" folder
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:00:41 +00:00
Tiago Melo
612c48d320 mgr/dashboard: Improve clickCheckbox with some waits
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-09-11 11:00:41 +00:00
Nathan Cutler
d1aa31890e 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>
2019-09-11 12:43:07 +02:00
Nathan Cutler
7b86b98185 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>
2019-09-11 12:41:44 +02:00
Lenz Grimmer
d29cea6286
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>
2019-09-11 10:24:06 +00:00
Lenz Grimmer
07a472c79b
mgr/dashboard: Wait for breadcrumb text is present in e2e tests (#30267)
mgr/dashboard: Wait for breadcrumb text is present in e2e tests
2019-09-11 10:22:09 +00:00
Lenz Grimmer
4ada5f1547
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>
2019-09-11 10:20:52 +00:00
Kefu Chai
6659b20dd5 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>
2019-09-11 18:16:47 +08:00
Kefu Chai
e494e6b9a3
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>
2019-09-11 18:14:47 +08:00
zhang Shaowen
8960d19db3 rgw: fix incorrect "radosgw-admin zonegroup rm" info.
Signed-off-by: zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2019-09-11 17:20:16 +08:00
Kefu Chai
46944d5ce3 script/run-make.sh: do not pass cmake options twice
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-09-11 15:52:35 +08:00
Lenz Grimmer
a9c2370ba8
Merge pull request #30292 from Reperator/wip-doc-dashboard-fix-typo
doc: Fixes typo for ceph dashboard command.
2019-09-11 07:17:46 +00:00
Sebastian Wagner
63d3a53386
Merge pull request #30281 from sebastian-philipp/doc-orchestrator-feature-update
doc/orchestrator: Sync status with reality

Reviewed-by: Tim Serong <tserong@suse.com>
2019-09-11 08:56:47 +02:00
Xie Xingguo
ee768a14e9
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>
2019-09-11 14:27:44 +08:00
Kefu Chai
397699ec53
Merge pull request #30315 from tchaikov/wip-crimson-perf-test
test/crimson: add acceptable section to tests

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-09-11 13:36:09 +08:00
Kefu Chai
34b33d447f 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>
2019-09-11 12:47:26 +08:00
Kefu Chai
67bf182aa5 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>
2019-09-11 12:47:26 +08:00
Patrick Donnelly
4458a729e2
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>
2019-09-10 20:51:08 -07:00