Commit Graph

88646 Commits

Author SHA1 Message Date
Casey Bodley
975f34f2f6 qa/rgw: radosgw_admin_rest task uses rgw.role_endpoints for connections
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 14:29:47 -04:00
Casey Bodley
2f37710ce7 qa/rgw: radosgw_admin_rest task uses util.rgw.rgwadmin()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 14:29:47 -04:00
Casey Bodley
bfc892ab84 qa/rgw: add radosgw-admin-rest task to singleton suite
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 14:29:47 -04:00
Jason Dillaman
38206b62f1
Merge pull request #23277 from zy751713126/fix_note
cls/rbd: fix method comment

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-27 14:14:06 -04:00
Kefu Chai
5108af0d02
Merge pull request #23279 from tchaikov/wip-cmake-cleanup
cmake: cleanups

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-28 00:49:24 +08:00
Kefu Chai
a7082cf31d
Merge pull request #23283 from tchaikov/wip-cmake-fmt
cmake: bump up the required fmt version

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-28 00:11:58 +08:00
Lenz Grimmer
3f12764a2b
Merge pull request #22994 from tspmelo/wip-prettier-lint
mgr/dashboard: Improve prettier scripts and documentation

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-07-27 16:38:16 +02:00
Lenz Grimmer
794126b7b9
Merge pull request #23281 from tspmelo/wip-opaque
mgr/dashboard: Fix localStorage problem in Jest

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-27 12:56:46 +02:00
Kefu Chai
b1c4c9e9a1 cmake: bump up the required fmt version
seastar actually requires fmt 4.0.0 and up, as 3.0.2 does not offer
fmt/printf.h. see
https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst#400---2017-06-27
.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-27 18:52:54 +08:00
Tiago Melo
e184719640 mgr/dashboard: Fix localStorage problem in Jest
Latest version of Jest was showing the following error:
"SecurityError: localStorage is not available for opaque origins"

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-27 10:52:57 +01:00
Kefu Chai
0b53f7c67b cmake: extract mgr into its own CMakeLists.txt
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-27 17:10:29 +08:00
Kefu Chai
85a3c63644 cmake: extract common,msg out of src/CMakeLists.txt
* add arch as a static library.
* add crc32 as a static library. its only dependency is libarch.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-27 17:09:26 +08:00
zhengyin
3f87e1e41e cls/rbd: fix note
Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2018-07-27 13:39:04 +08:00
Kefu Chai
591167e0cc
Merge pull request #23254 from tchaikov/wip-cmake-cleanup
cmake: modularize src/perfglue

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 13:12:54 +08:00
Kefu Chai
a8d23b465d
Merge pull request #23255 from tchaikov/wip-seastar-yaml-cpp
seastar: lower the required yaml-cpp version to 0.5.1

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-07-27 13:12:28 +08:00
Kefu Chai
702a447685
Merge pull request #23253 from smithfarm/wip-doc-dev-toc
doc: make it easier to reach the old dev doc TOC

Reviewed-by: Dan Mick <dan.mick@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-27 13:09:49 +08:00
Nathan Cutler
c9b14a26f4 doc/dev/internals: drop :orphan: directive
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-27 05:53:18 +02:00
Nathan Cutler
f89bde3f93
Merge pull request #23165 from smithfarm/wip-doc-snaptrim-nit
doc/rados/operations/pg-states: fix PG state names, part 2

Reviewed-by: Jos Collin <jcollin@redhat.com>
2018-07-27 00:06:34 +02:00
Josh Durgin
ce9c45c300
Merge pull request #23072 from fullerdj/wip-djf-24687
mon/OSDMonitor: Warnings for expected_num_objects

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-26 10:46:34 -07:00
Alfredo Deza
48bf719195
Merge pull request #23268 from ceph/simple-testinfra-version
ceph-volume: do not pin the testinfra version for the simple tests

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-07-26 13:43:46 -04:00
Andrew Schoen
70b86012b5 ceph-volume: do not pin the testinfra version for the simple tests
For testinfra to work with a 2.6.x version of ansible it must use the
latest version.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-07-26 12:41:15 -05:00
Douglas Fuller
69fb2293c4 mon/OSDMonitor: Warn if missing expected_num_objects
When creating a pool on filestore, warn if the user appears to be
creating a pool to store a large number of objects but omitted the
expected_num_objects parameter. Create the pool anyway.

Fixes: http://tracker.ceph.com/issues/24687
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2018-07-26 13:14:44 -04:00
Andrew Schoen
43e4348cb8
Merge pull request #23263 from ceph/simple-ansible-version
ceph-volume: update version of ansible to 2.6.x for simple tests

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-07-26 15:22:46 +00:00
Andrew Schoen
654578928d ceph-volume: update version of ansible to 2.6.x for simple tests
ceph-ansible now requires a 2.5.x or 2.6.x version of ansible if you're
using the master branch. This updates our functional tests for the
simple subcommand to use a 2.6.x version of ansible.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-07-26 10:09:17 -05:00
Jason Dillaman
bf3ee68792
Merge pull request #23256 from trociny/wip-25114
test/pybind: fix test_rbd.TestClone.test_trash_snapshot

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-07-26 09:29:23 -04:00
Tiago Melo
2796f921d6 mgr/dashboard: Improve prettier scripts and documentation
Added prettier validation to the run-frontend-unittests script. This will make
sure we are always running prettier in our commits.

Added 2 new npm scripts:
- 'prettier', will run prettier formatter on all frontend files
- 'prettier:lint', will check all frontend files against prettier linter

Removed 'pretty-quick' and related scripts. Since we now have all files
prettified we can simply run prettier on them.

Remove 'tslint-eslint-rules' package and all related rules. Prettier can check
all the removed rules.

Updated HACKING.rst with some information about prettier.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-26 13:42:55 +01:00
Tiago Melo
6a4bf5eca6 mgr/dashboard: Prettify all remaining files
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-26 13:42:55 +01:00
Tiago Melo
2aa869b368 mgr/dashboard: Add reference to prettier in CodingStyle
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-26 13:38:12 +01:00
Kefu Chai
25ae00696f
Merge pull request #23168 from tchaikov/wip-dpdk-fixes
msg/async: fix FTBFS of dpdk

Reviewed-by: Sage Weil <sage@redhat.com>
2018-07-26 20:23:52 +08:00
Lenz Grimmer
04132adc44
Merge pull request #23200 from votdev/bug_25068
mgr/dashboard: RGW is not working if an URL prefix is defined

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-07-26 14:01:15 +02:00
Lenz Grimmer
c57d90f181
Merge pull request #22906 from tspmelo/wip-improve-summary
mgr/dashboard: Improve SummaryService and TaskWrapperService

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-07-26 14:00:11 +02:00
Kefu Chai
5868e496fa do_cmake: fail if cmake fails
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26 16:50:37 +08:00
Kefu Chai
bacde7cc17 cmake: add Findfmt.cmake
the cmake config provided by fmt-devel-3.0.2 does not offer fmt::fmt target,
so we need to offer a Findfmt.cmake to do this.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26 16:50:37 +08:00
Nathan Cutler
ef3ac5692b doc: make it easier to reach the old dev doc TOC
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-26 10:49:11 +02:00
Mykola Golub
84a6385b88 test/pybind: fix test_rbd.TestClone.test_trash_snapshot
Fixes: http://tracker.ceph.com/issues/25114
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-07-26 10:34:57 +03:00
Kefu Chai
332bb07303 cmake: make cpu_profiler a library target
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26 15:16:48 +08:00
Kefu Chai
b21903eabf cmake: make heap_profiler a library target
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26 15:16:48 +08:00
Kefu Chai
8db629a14b cmake: import allocator libraries in a better way
* instead expose the paths, it'd better to expose a library target.
* remove HAVE_LIBJEMALLOC, as it not used anywhere.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26 15:16:48 +08:00
Kefu Chai
56e84068f4 seastar: lower the required yaml-cpp version to 0.5.1
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26 14:40:49 +08:00
Mykola Golub
bb09f7ca76
Merge pull request #23191 from dillaman/wip-23398
rbd: improved trash snapshot namespace handling

Reviewed-by: songweibin <song.weibin@zte.com.cn>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-07-26 08:06:33 +03:00
Kefu Chai
fc0beda533
Merge pull request #23228 from tchaikov/wip-ceph-dencoder
test: move ceph-dencoder to src/tools

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-07-26 12:11:39 +08:00
Kefu Chai
26f45ba83b
Merge pull request #20366 from Synesis-LLC/master
doc: print pg peering in SVG instead of PNG

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-07-26 11:50:26 +08:00
Matt Benjamin
8f33810bd2
Merge pull request #23248 from linuxbox2/rgw-fix-relaxed
rgw: fix build
2018-07-25 18:33:54 -04:00
Lenz Grimmer
2fa86d1683
Merge pull request #22758 from ricardoasmarques/wip-user-management
mgr/dashboard: Ceph dashboard user management from the UI

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-07-26 00:27:07 +02:00
Matt Benjamin
5e4cfeffd8 rgw: fix build
merge crossed with #23074

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2018-07-25 17:23:52 -04:00
Sage Weil
9292d5bd0f Merge PR #23247 into master
* refs/pull/23247/head:
	Revert "rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade"
	Revert "rpm,deb: fix chown to use -h"
	rpm,deb: fix chown to use -h
	rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2018-07-25 16:23:42 -05:00
Sage Weil
2c4e26eb44 Revert "rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade"
This reverts commit 58cde3fd79.

This was only needed for luminous and mimic.  We are keeping these commits in master (and reverting them) only so that the cherry-pick -x references work.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-25 16:22:09 -05:00
Sage Weil
e58096526a Revert "rpm,deb: fix chown to use -h"
This reverts commit 92207c76b9.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-25 16:22:04 -05:00
Alfredo Deza
8e35a12e35
Merge pull request #23234 from ceph/wip-rm24784
ceph-volume: PVolumes.get() should return one PV when using name or uuid

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-07-25 16:52:40 -04:00
Yuri Weinstein
72909398b7
Merge pull request #23237 from neha-ojha/wip-whitelist-slow-requests
qa/tasks/thrashosds-health.yaml: whitelist slow requests
2018-07-25 12:36:17 -07:00