Commit Graph

88760 Commits

Author SHA1 Message Date
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
Neha Ojha
f7911de61b osd,mon: increase mon_max_pg_per_osd to 250
https://bugzilla.redhat.com/show_bug.cgi?id=1603615 indicates
a case when pg calc conflicts with mon_max_pg_per_osd, and does not
allow pool creation when this limit is 200. Hence, increase this limit
to avoid this.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-26 08:35:11 -07: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
David Zafman
67d9e44de6 test: Add test for repair of bad object info data_digest on all copies
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-07-26 07:50:23 -07:00
David Zafman
61e995b2c1 osd: Fix pg repair to handle object info data_digest mismatched, but replicas match each other.
Fixes: https://tracker.ceph.com/issues/25085

Signed-off-by: David Zafman <dzafman@redhat.com>
2018-07-26 07:50:23 -07: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
David Zafman
8e9c08524d tools: Add testing feature "corrupt-info" to ceph-objectstore-tool
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-07-25 17:33:53 -07:00
David Zafman
135d5d0209 osd: Improve logic in be_compare_scrubmaps()
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-07-25 17:33:53 -07: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
Sage Weil
3778106102 osd/OSDMap: fix CEPHX_V2 osd requirement to nautilus, not mimic
This was delayed and did not appear in 13.2.0.

Fixes: 1fdc85f224
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-25 17:12:43 -05: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
Alfredo Deza
40bb601bdb
Merge pull request #23141 from alfredodeza/wip-rm24993
ceph-volume process.call with stdin in Python 3 fix

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-07-25 15:02:00 -04:00
Matt Benjamin
75052fe486
Merge pull request #22533 from linuxbox2/wip-rgw-24507
rgw: add option for relaxed region enforcement
2018-07-25 14:41:27 -04:00
Neha Ojha
c0d9f7177c qa/tasks/thrashosds-health.yaml: whitelist slow requests
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-25 10:20:12 -07:00
Kefu Chai
a8b39ccc2c
Merge pull request #23074 from tchaikov/wip-seastar-config
common/config: add ConfigProxy for crimson

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-26 01:02:11 +08:00
Ricardo Marques
7f5298acba mgr/dashboard: Ceph dashboard user management
Fixes: https://tracker.ceph.com/issues/24446

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25 17:51:48 +01:00
Ricardo Marques
3cec4bd3dc mgr/dashboard: Skip tab focus on "show/hide password" button
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25 17:51:48 +01:00
Ricardo Marques
9edff075c5 mgr/dashboard: Add 'onCancel' output for 'ConfirmationModal'
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25 17:51:48 +01:00
Ricardo Marques
10e83a03b6 mgr/dashboard: Add cd-select-badges component
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25 17:51:47 +01:00
Andrew Schoen
e5e866e8ec ceph-volume: PVolumes.get() should return one PV when using name or uuid
It is possible to get duplicated pv entires from the 'pvs' lvm command.
If we're using PVolumes.get() with either pv_name or pv_uuid we can
safely return a single PVolume object. However, if we use pv_tags with
PVolumes.get() we must still raise a MultiplePVsError if many pvs
are found that have the tags, because they are not guaranteed to be the
same pv, as would be the case with pv_name or pv_uuid.

Fixes: http://tracker.ceph.com/issues/24784

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-07-25 11:47:27 -05:00
Sage Weil
af88fa27dd Merge PR #23232 into master
* refs/pull/23232/head:
	mon: don't require CEPHX_V2 from mons until nautilus
2018-07-25 11:38:52 -05:00
Alfredo Deza
6e90b54d77 ceph-volume tests run to log_descriptors, verifying utf-8
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-25 12:37:45 -04:00
Alfredo Deza
dabe928c7f ceph-volume process decode to utf-8 when logging descriptors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-25 12:37:44 -04:00