Commit Graph

99683 Commits

Author SHA1 Message Date
Sage Weil
be49d46521 Merge PR #29003 into master
* refs/pull/29003/head:
	qa/standalone/scrub/osd-scrub-snaps.sh: adjust expected output
	osd/SnapMapper: to_raw_key: use hobject pool member, not SnapMapper:pool
	ceph-objectstore-tool: fix use of SnapSet::snaps
	qa/standalone/scrub/osd-scrub-snaps: fix kv grep

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-12 17:20:47 -05:00
Sage Weil
fbc8be423c Merge PR #29013 into master
* refs/pull/29013/head:
	qa/tasks/ceph_manager: 5s -> 15s for 'osd out' to be visible

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-12 17:20:21 -05:00
Andrew Schoen
a632024971
Merge pull request #28998 from alfredodeza/wip-rm40664
ceph-volume  zap always skips block.db, leaves them around

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2019-07-12 13:17:38 -05:00
Lenz Grimmer
f64c3f6529
mgr/dashboard: controllers/grafana is not Python3 compatible (#28956)
mgr/dashboard: controllers/grafana is not Python3 compatible

Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-12 17:02:42 +02:00
Jason Dillaman
fa2d338b80
Merge pull request #28979 from falcon78921/wip-doc-18197
doc: updated OpenStack rbd documentation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-07-12 11:00:34 -04:00
Sage Weil
ff7813aa14 qa/standalone/scrub/osd-scrub-snaps.sh: adjust expected output
SnapSet now dumps just seq, not a (fake) SnapContext.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-12 09:55:06 -05:00
Sage Weil
16b9b8f885 osd/SnapMapper: to_raw_key: use hobject pool member, not SnapMapper:pool
Some callers (ceph-objectstore-tool) instantiate SnapMapper with a bogus
pool id (0) and want to use it to adjust mappings.  We have the hobj
available, so use its pool member instead.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-12 09:55:06 -05:00
Sage Weil
03b9c66080 ceph-objectstore-tool: fix use of SnapSet::snaps
Instead, use clone_snaps to identify clones.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-12 09:55:06 -05:00
Lenz Grimmer
910da20065
mgr/dashboard: Minor fixes (#29009)
mgr/dashboard: Minor fixes

- Fix radio input display
- Fix the close button on initiators card
- Fix missing 'fa-' prefix in spinner icon
- Fix label font-weight

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-07-12 16:01:11 +02:00
Sage Weil
bf091fc100 Merge PR #28945 into master
* refs/pull/28945/head:
	os/bluestore: StupidAllocator stucks on 4GB allocations
	os/bluestore: avoid length overflow in extents returned by Stupid

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-12 09:00:23 -05:00
Sage Weil
35d2cbdc54 Merge PR #28990 into master
* refs/pull/28990/head:
	qa: vstart_runner fails because of string index out of range

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-07-12 08:58:45 -05:00
Sage Weil
d014b7924d qa/tasks/ceph_manager: 5s -> 15s for 'osd out' to be visible
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-12 08:56:50 -05:00
Alfredo Deza
845e62cb4b ceph-volume tests: verify that wipefs tries several times
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2019-07-12 09:17:01 -04:00
Alfredo Deza
b7b8b106fa ceph-volume lvm.zap: retry wipefs several times to prevent race condition failures
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2019-07-12 09:16:55 -04:00
Sage Weil
23eaf7c498 qa/standalone/scrub/osd-scrub-snaps: fix kv grep
SnapMapper keys are now SNA_, not MAP_.

Fixes: http://tracker.ceph.com/issues/40725
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-12 08:11:21 -05:00
Lenz Grimmer
1864f1c249
mgr/dashboard: Remove button and badge radius (#29001)
mgr/dashboard: Remove button and badge radius

Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-07-12 14:56:24 +02:00
Lenz Grimmer
541ebb8261
mgr/dashboard: Fix form validation problems in RGW user form (#29000)
mgr/dashboard: Fix form validation problems in RGW user form

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-12 14:55:49 +02:00
Alfredo Deza
0164178909
Merge pull request #28267 from flumm/ceph-volume-zap-fix
ceph-volume lvm.zap fix cleanup for db partitions

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-07-12 07:58:08 -04:00
Tiago Melo
5aa075f568 mgr/dashboard: Fix label font-weight
Some labels were not bold, because the css rule didn't apply to them.
I have improved the css rule and also add missing classes in some labels.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-12 11:33:46 +00:00
Tiago Melo
c701c4af42 mgr/dashboard: Fix missing 'fa-' prefix in spinner icon
This was causing the submit button to not show the spinner.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-12 11:33:46 +00:00
Lenz Grimmer
2101028028
mgr/dashboard: Add nolockdep option to e2e-script (#28981)
mgr/dashboard: Add nolockdep option to e2e-script

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-07-12 13:05:05 +02:00
Tiago Melo
24a78179c7 mgr/dashboard: Fix the close button on initiators card
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-12 10:27:52 +00:00
Tiago Melo
e6e66de334 mgr/dashboard: Fix radio input display
We were using the wrong class for the labels.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-12 10:25:14 +00:00
Nathan Cutler
ecbc582caf
Merge pull request #28957 from mgerstner/sfw2
rpm,etc/sysconfig: remove SuSEfirewall2 support

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2019-07-12 12:09:54 +02:00
Matthias Gerstner
d472e88441
packaging: remove SuSEfirewall2 support
removal of SuSEfirewall2 service, since SuSEfirewall2 has been replaced
by firewalld, see [1].

[1]: https://lists.opensuse.org/opensuse-factory/2019-01/msg00490.html

Fixes: http://tracker.ceph.com/issues/40738
Signed-off-by: Matthias Gerstner <matthias.gerstner@suse.de>
2019-07-12 09:55:35 +02:00
Kefu Chai
7910bd6f02
Merge pull request #28802 from lixiaoy1/cmake_pmdk
cmake: pmem/pmdk changes to cmake

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-12 14:55:34 +08:00
Kefu Chai
fcfc33b412
Merge pull request #28984 from tchaikov/wip-cmake-rebuild-cleanup
cmake: use BUILD_ALWAYS for rebuilding external project

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-07-12 14:54:30 +08:00
Sage Weil
8cbd27af66 Merge PR #29002 into master
* refs/pull/29002/head:
	qa/tasks/ceph_deploy: do not rely on ceph-create-keys

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
2019-07-11 19:00:54 -05:00
Patrick Donnelly
6ebd517eab
Merge PR #28643 into master
* refs/pull/28643/head:
	doc: removed old EOL Ceph versions from the list
	doc: added openSUSE distros to the list and updated the releases
	doc: updated the OS recommendations to reflect the Nautilus release

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-11 15:05:41 -07:00
James McClune
e9b13fadbd doc: updated OpenStack rbd documentation
Removed references to older OpenStack releases. Updated
documentation in regards to using QCOW2 as a virtual machine
disk type.

Fixes: https://tracker.ceph.com/issues/18197
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-07-11 17:58:14 -04:00
Sage Weil
ec62f78630 Merge PR #28944 into master
* refs/pull/28944/head:
	qa/workunits/rados/test_cache_pool.sh: s/forward/proxy/
	qa/workunits/cephtool/test.sh: cache forward mode is no longer allowed
	mon/OSDMonitor: forward -> proxy, readforward -> readproxy on octopus
	mon/OSDMonitor: disallow FORWARD and READFORWARD cache modes
	osd: do proxy when in forward/readforward cache modes

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-11 16:28:34 -05:00
Tiago Melo
c273996cb3 mgr/dashboard: Fix form validation problems in RGW user form
ng-bootstrap-form-validation requires that every "form-control" has
an associated "formControlName".

Since these didn't had one, we had to either removed the "form-control" class
or rename it to "cd-form-control" (which will apply the same style without
triggering the validation).

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-11 18:42:17 +00:00
Tiago Melo
bb7ea78771 mgr/dashboard: Remove button and badge radius
Fixes: http://tracker.ceph.com/issues/38953

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-11 17:36:45 +00:00
Sage Weil
daeaabf187 qa/tasks/ceph_deploy: do not rely on ceph-create-keys
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-11 11:16:32 -05:00
Casey Bodley
bb264dd936
Merge pull request #28426 from mkogan1/wip-rgw-40183
rgw: save an unnecessary copy of RGWEnv

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-07-11 11:18:32 -04:00
Sage Weil
d27069f751 Merge PR #28969 into master
* refs/pull/28969/head:
	qa/tasks/ceph_manager: make is_{clean,recovered,active_or_down} less racy

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-11 09:33:28 -05:00
Sage Weil
200d4d9c16 Merge PR #28943 into master
* refs/pull/28943/head:
	qa: stop testing on 16.04 xenial

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-11 09:32:59 -05:00
Volker Theile
b812689c48 qa: vstart_runner fails because of string index out of range
Fix problem in LocalRemote::_perform_checks_and_return_list_of_args() when LocalCephManager::raw_cluster_cmd() is called with a empty command parameter.

Fixes: https://tracker.ceph.com/issues/40729
Signed-off-by: Volker Theile <vtheile@suse.com>
2019-07-11 15:15:10 +02:00
Kefu Chai
70979b7543 cmake: do not always build brotli or zstd
these two libraries are relatively stable, and Ceph developers are not
likely to hack them. so no need to rebuild them every time.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-11 19:31:49 +08:00
Kefu Chai
6958d2dcb1 cmake/modules/BuildRocksDB.cmake: use BUILD_ALWAYS
this option was introduced by cmake 3.1, and we require cmake 3.5.1, so
we can use it without using the homebrew solution.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-11 19:30:28 +08:00
Laura Paduano
d92117d8ea mgr/dashboard: Add nolockdep option to e2e-script
Adding the --nolockdep option to the vstart command
seems to fix the current issue where vstart just
hangs at the dashboard ac-user-create command.
Hopefully we can get the e2e tests to run again
in Jenkins by applying this change.
Note that this might be a workaround only.

Fixes: https://tracker.ceph.com/issues/40688

Signed-off-by: Laura Paduano <lpaduano@suse.com>
2019-07-11 12:38:49 +02:00
Kefu Chai
30834eaab6
Merge pull request #28766 from liewegas/wip-clean-out-nibblewise
osd/osd_types: drop last_backfill_bitwise member

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-11 18:30:03 +08:00
Kefu Chai
969457d239
Merge pull request #28801 from ideepika/wip-update-dump-historic-ops
osd: add duration field to dump_historic_ops method

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
2019-07-11 18:27:52 +08:00
Lenz Grimmer
006b1f31ae
mgr/dashboard: fix icons variable assignment (#28961)
mgr/dashboard: fix icons variable assignment

Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-11 12:24:12 +02:00
Lenz Grimmer
c58ca8ea5a
mgr/dashboard: Update bootstrap (#25188)
mgr/dashboard: Update bootstrap

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2019-07-11 12:15:20 +02:00
Kefu Chai
4e2288c661
Merge pull request #28797 from simon-rock/simon_bug_fix
mgr/status: fix 'ceph osd status' ZeroDivisionError

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-11 16:12:00 +08:00
Kefu Chai
2debf1d9e2
Merge pull request #28687 from hsiang41/mgr/diskprediction_cloud_service_unavailable
mgr/diskprediction_cloud: Service unavailable

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-11 15:57:59 +08:00
Kefu Chai
cab4a6b559
Merge pull request #28950 from tchaikov/wip-corpus-gen
script,doc: add gen-corpus.sh

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2019-07-11 15:32:05 +08:00
Kefu Chai
24c5225e89 doc/dev/corpus.rst: updates to match gen-corpus.sh
* to reference the script to generate corpus
* use qa/workunits/rgw/run-s3tests.sh for producing rgw corpus

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-11 12:20:18 +08:00
Kefu Chai
ae845c1c6e script: add gen-corpus.sh
to automate generation of ceph-object-corpus objects. it facilitate the
process of cutting a new release

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-11 12:20:18 +08:00