Commit Graph

88622 Commits

Author SHA1 Message Date
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
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
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
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
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
Alfredo Deza
1039633b77 ceph-volume tests.process ensure that stdin works on py3 and py2.7
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-25 12:37:44 -04:00
Alfredo Deza
a67c66db7b ceph-volume process encode stdin with utf-8 to prevent bytes TypeError
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-25 12:37:44 -04:00
Sage Weil
7ba0c14ce7 mon: don't require CEPHX_V2 from mons until nautilus
The mimic 13.2.0 didn't have it.

Fixes: 3dc80e5f9b
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-25 11:23:12 -05:00
Kefu Chai
094b9fdbef
Merge pull request #23231 from tchaikov/wip-fio
tests/fio: fix build failures and ensure this is covered by run-make-check.sh

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2018-07-26 00:11:29 +08:00
Kefu Chai
d9ab25329e tools/ceph_dencoder: use full path for including headers
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26 00:10:20 +08:00
Ricardo Marques
fa3b70c06b mgr/dashboard: Add match validator
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25 16:16:50 +01:00
Ricardo Marques
71d952b1e2 mgr/dashboard: Add user management API
Fixes: https://tracker.ceph.com/issues/24446

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25 16:16:50 +01:00
Ricardo Marques
c4a1fe6b3b mgr/dashboard: Add asserError helper method
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25 16:16:50 +01:00
Kefu Chai
ed00c25a6e cmake: sync up with upstream FIO
to pick up the change to FTBFS with C++ engine.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-25 22:47:20 +08:00
Tiago Melo
5ee689feb6 mgr/dashboard: Improve SummaryService and TaskWrapperService
When you create a new task, and it stays running, it will be added automatically
to the summary data.

This will allows for us to deal with it more quickly, by subscribing
to the summaryService, and removes the need to pass a runningTasks array
between services.

Added 3 new methods to SummaryService.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-25 15:46:29 +01:00
Lenz Grimmer
f0f8a0a3db
Merge pull request #22695 from a2batic/scss
mgr/dashboard: Color variables for color codes

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-07-25 16:32:16 +02:00
Casey Bodley
6f9f1aa37f
Merge pull request #23100 from adamemerson/wip-robustly-notify
rgw: Robustly notify

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2018-07-25 10:30:05 -04:00