Commit Graph

99655 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Brad Hubbard
aeded77aa3
Merge pull request #28070 from badone/wip-lazy-omap-test
Wip lazy omap test

Reviewed-by: Greg Farnum gfarnum@redhat.com
2019-07-11 09:52:12 +10:00
Sage Weil
09b7eddad6 qa/workunits/rados/test_cache_pool.sh: s/forward/proxy/
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-10 17:39:19 -05:00
Sage Weil
e577581d45 qa/workunits/cephtool/test.sh: cache forward mode is no longer allowed
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-10 17:39:19 -05:00
Sage Weil
4a2064467d mon/OSDMonitor: forward -> proxy, readforward -> readproxy on octopus
Adjust cache modes on upgrade.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-10 17:39:19 -05:00
Sage Weil
5200fe4c79 mon/OSDMonitor: disallow FORWARD and READFORWARD cache modes
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-10 17:39:19 -05:00
Casey Bodley
466722aaa7
Merge pull request #28949 from adamemerson/wip-40416
Don't crash on copy when metadata directive not supplied

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-07-10 13:25:45 -04:00
Sage Weil
0b4ce2ab4c qa/tasks/ceph_manager: make is_{clean,recovered,active_or_down} less racy
Currently these can be thrown off if the cluster is creating or removing
pools at the same time.  Fix by taking a single snapshot of the pg stats
and based our judgement on that.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-10 11:04:49 -05:00
Sage Weil
076eca46fd Merge PR #28940 into master
* refs/pull/28940/head:
	common/config: Remove unused code.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-07-10 10:53:14 -05:00
lixiaoy1
4959835c07 cmake: Add the support to use system PMDK library
Signed-off-by: Scott Peterson <scott.d.peterson@intel.com>
Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
2019-07-10 11:43:27 -04:00
lixiaoy1
4528aa2d0f cmake: move pmdk build script to Buildpmem.cmake
Signed-off-by: Scott Peterson <scott.d.peterson@intel.com>
Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
2019-07-10 11:43:27 -04:00
lixiaoy1
d994f02d69 cmake: update HAVE_PMEM to HAVE_BLUESTORE_PMEM
Signed-off-by: Scott Peterson <scott.d.peterson@intel.com>
Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
2019-07-10 11:43:05 -04:00
Tiago Melo
1509668753 mgr/dashboard: Use bootstrap custom-select
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:50 +00:00
Tiago Melo
4a165a9af1 mgr/dashboard: Use ng-bootstrap-form-validation
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:50 +00:00
Tiago Melo
adaac1f3ac mgr/dashboard: Replace awesome-boostrap-checkbox with bootstrap
Fixes: http://tracker.ceph.com/issues/36400

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:50 +00:00
Tiago Melo
67f5e5b18b mgr/dashboard: Switch ng2-toastr for ngx-toastr
Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:50 +00:00
Tiago Melo
07f28050db mgr/dashboard: Update bootstrap
Fixes: http://tracker.ceph.com/issues/39326

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-07-10 15:35:49 +00:00
Sage Weil
141ad20e73 qa: stop testing on 16.04 xenial
Note that the hammer old-client test will now *only* run on centos.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-10 10:04:30 -05:00
Lenz Grimmer
67c8a9c5c2
Merge pull request #28863 from votdev/fix_various_issues
mgr/dashboard: Fix issues in user form

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-07-10 16:56:59 +02:00
Adam C. Emerson
d5a85e681f rgw: Don't crash on copy when metadata directive not supplied
Fixes: http://tracker.ceph.com/issues/40416

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2019-07-10 10:53:24 -04:00
Tatjana Dehler
9058e5a352 mgr/dashboard: fix icons variable assignment
Fixes: https://tracker.ceph.com/issues/40717
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2019-07-10 16:40:21 +02:00
Lenz Grimmer
c3e98f545a
Merge pull request #28897 from ceph/fix-dashboard-hacking_link
mgr/dashboard: Fix link format to HACKING.rst

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-07-10 15:50:15 +02:00
Boris Ranto
20aa4ac783
Merge pull request #28372 from pcuzner/add-mgr-metadata
mgr/prometheus: Add mgr metdata to prometheus exporter module

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2019-07-10 07:07:20 +02:00
Sage Weil
f08c521217 Merge PR #28941 into master
* refs/pull/28941/head:
	osd: scrub_purged_snaps: fix log message tense
	osd/SnapMapper: reset iterators at finish of run()
	osd/SnapMapper: drop useless _init()
	osd: do not hold osd_lock while queueing stray purged_snaps
	osd: more debug output during scrub hang

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-07-09 20:52:19 -05:00
Brad Hubbard
490829c8ea osd: Modify lazy omap stats to only show one copy
Only show stats from the primary to get more in line with other pg stats
representations.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-07-10 09:34:18 +10:00