Commit Graph

100599 Commits

Author SHA1 Message Date
Tiago Melo
7f7f8a443c mgr/dashboard: Update all npm packages
This includes a major upgrade of angular from v7 to v8.

Using NG_CLI_ANALYTICS to disable angular cli to query about allowing analytics.

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2019-08-02 13:15:55 +00:00
Kefu Chai
ddacfcc0e0 install-deps.sh: install cmake 3.10.2 and up on xenial
to enable us to build on xenial, install newer cmake.
cmake 3.10.2 is the version offered by bionic.

with this change, we can safely require cmake 3.10.2 in our cmake
script. as EPEL7 offers cmake 3.13

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-02 20:23:33 +08:00
Adam Kupczyk
e7f5e53cde tools/ceph-bluestore-tool: add commands free-dump and free-score
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2019-08-02 13:57:06 +02:00
Adam Kupczyk
838320a9b2 common/admin_socket: Add 'execute_command' that allows for self-reflection.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2019-08-02 13:56:52 +02:00
Adam Kupczyk
2b5da1f671 common/admin_socket: Adapted old protocol to use new protocol, simplifies handle path.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2019-08-02 13:56:41 +02:00
Adam Kupczyk
278055d35a BlueStore/allocator: Add ability to dump free allocations via admin socket interface.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2019-08-02 13:56:22 +02:00
Adam Kupczyk
0d64893c3e BlueStore/allocator: Give allocator names, so they can be distinguished.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2019-08-02 13:56:22 +02:00
Adam Kupczyk
c1ac6a1207 BlueStore/allocator: Improved (but slower) method of calculating fragmentation.
Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
2019-08-02 13:56:22 +02:00
Rafael Quintero
fcdce3589d mgr/dashboard: Verify fields on Monitors page
Fixes: https://tracker.ceph.com/issues/41048

Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Rafael Quintero <rquinter@redhat.com>
2019-08-02 07:19:40 -04:00
Jan Fajerski
45a4d53012
Merge pull request from jan--f/c-v-inventory-parttype
ceph-volume: detect ceph-disk osd if PARTLABEL is missing
2019-08-02 11:17:17 +02:00
Jan Fajerski
1f8f1e95de ceph-volume: print most logging messages to stderr
Signed-off-by: Jan Fajerski <jfajerski@suse.com>

Fixes: http://tracker.ceph.com/issues/38548
2019-08-02 11:10:00 +02:00
Ricardo Dias
29edead1c6
Merge pull request from p-na/wip-pna-disable-user
mgr/dashboard: Provide user enable/disable capability

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-08-02 10:05:21 +01:00
Ricardo Dias
1fb9c64692
Merge pull request from votdev/issue_24662
mgr/dashboard: Allow disabling redirection on standby Dashboards

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2019-08-02 10:02:38 +01:00
Jiaying Ren
08d3ef1e22 rgw: drop dead flush_read_list declaration
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2019-08-02 15:21:46 +08:00
Sage Weil
647d80437b Merge PR into master
* refs/pull/29379/head:
	os/bluestore: s/align_down/p2align/

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-08-02 01:19:57 -05:00
Sage Weil
e8bca54f4e Merge PR into master
* refs/pull/28881/head:
	os/Transaction: dump alloc hint flags in op

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-02 01:17:48 -05:00
Kefu Chai
0e35c6f641
Merge pull request from smithfarm/wip-40975
rpm: put librgw lttng SOs in the librgw-devel package

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-02 11:52:07 +08:00
Kefu Chai
8d497f1ed2
Merge pull request from wjwithagen/wjw-fix-malloc.h
common: use of malloc.h is deprecated

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-02 11:50:29 +08:00
Kefu Chai
95fd792be1
Merge pull request from wjwithagen/wjw-fix-boost-1.70
cmake: update FindBoost.cmake

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-02 11:49:34 +08:00
J. Eric Ivancich
b4e4acb213
Merge pull request from liewegas/wip-rgw-meta-pool-priority
rgw: add rgw_rados_pool_recovery_priority (default 5)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-01 20:46:39 -04:00
J. Eric Ivancich
61fc5c7df5
Merge pull request from zhangsw/rgw-bugfix-versioning
rgw: fix a bug that lifecycle expiraton generates delete marker continuously

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-01 19:33:40 -04:00
J. Eric Ivancich
fa0dd4003d
Merge pull request from taodd/rgw-fix-remove-bucket
rgw: fix drain handles error when deleting bucket with bypass-gc option

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2019-08-01 19:30:43 -04:00
J. Eric Ivancich
a9a3e59abc
Merge pull request from ivancich/wip-small-rgw-efficiency
rgw: add a small efficiency

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-01 18:36:30 -04:00
J. Eric Ivancich
092ef6085c
Merge pull request from ivancich/wip-bucket-list-excessive-max-entries
rgw: mitigate bucket list with max-entries excessively high

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2019-08-01 18:34:35 -04:00
J. Eric Ivancich
0ef6bee2d5
Merge pull request from mdw-at-linuxbox/wip-master-rgw-swift-metadata-versioning
rgw: Fix bucket versioning vs. swift metadata bug.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
2019-08-01 18:28:19 -04:00
Matt Benjamin
57df918a1a
Merge pull request from linuxbox2/wip-rgw-uinfo-by-acc
rgw: permit rgw-admin to populate user info by access-key
2019-08-01 16:07:34 -04:00
Rafael Quintero
0d12b96be9 mgr/dashboard: Verify fields on Crush map page
Fixes: https://tracker.ceph.com/issues/41050

Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Rafael Quintero <rquinter@redhat.com>
2019-08-01 14:47:29 -04:00
Kefu Chai
d835e9a926
Merge pull request from tchaikov/wip-remove-test/python
test/python: remove stale tests

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-08-02 00:38:28 +08:00
Igor Fedotov
02156d8a27 os/bluestore: remove unused _tune_cache_size() method declaration
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
2019-08-01 19:21:10 +03:00
Jason Dillaman
8c69bf7cb1
Merge pull request from ricardoasmarques/fix-doc-rbd-namespace
doc: Fix rbd namespace documentation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-08-01 12:03:25 -04:00
Ricardo Marques
029dade640 doc: Fix rbd namespace documentation
Pool and namespace should be separated by a slash.

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

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2019-08-01 15:45:24 +01:00
Kefu Chai
b6da01e75f
Merge pull request from tchaikov/wip-cmake-tox-test
cmake: add add_tox_test()

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-08-01 22:04:30 +08:00
Kefu Chai
821050f3b1
Merge pull request from rhcs-dashboard/wip-41023-master
doc: Show Jenkins commands

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-01 21:43:15 +08:00
Kefu Chai
1792ab404b
Merge pull request from iotcg/starlingx
ceph-objectstore-tool: set log date format

Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-08-01 21:41:06 +08:00
Jan Fajerski
82d2ae7ffd ceph-volume: fall back to PARTTYPE if PARTLABEL is empty
In some cases ceph-disk does not populate PARTLABEL for wal and db
partitions. This commit adds the assumption that the empty string is a
valid label and falls back to identifying those disks by PARTTYPE.

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

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-08-01 15:35:30 +02:00
Jan Fajerski
bb29110c3c ceph-volume: adjust tests for empty PARTLABEL fields
It seems like ceph-disk sometimes creates OSDs where the wal and db
partitions have no PARTLABEL set. This commit alters tests so that the
empty string is considered a valid label.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-08-01 15:35:25 +02:00
Kefu Chai
b9c9f74f06 cmake: add add_tox_test()
to consolidate the tox tests

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-08-01 21:33:30 +08:00
Abhishek L
067db76a4c
Merge pull request from capri1989/doc-pg-num
doc: pg_num should always be a power of two

Reviewed-By: Jan Fajerski <jfajerski@suse.com>
Reviewed-By: Sage Weil <sage@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2019-08-01 14:18:53 +02:00
Sage Weil
2d62d71cd4 mon: enable telemetry module by default
We already have a robust set of opt-in and opt-out procedures; no need to
require the user to enable the module.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-08-01 04:55:44 -05:00
Ricardo Dias
566421798e
mgr/dashboard: removing dead code in upgrade user database
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-08-01 09:35:05 +01:00
Ricardo Dias
a86850c3f3
mgr/dashboard: tests: fix test_access_control due to the merge of 79b9021
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-08-01 09:34:56 +01:00
Ricardo Dias
c84eb40024
mgr/dashboard: frontend: use checkIcon for enabled column in user list
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-08-01 09:34:53 +01:00
Ricardo Dias
4ce3b5868d
mgr/dashboard: frontend: use checkbox for enabled field in user form
Signed-off-by: Ricardo Dias <rdias@suse.com>
2019-08-01 09:34:53 +01:00
Patrick Nawracay
a2a5457a03
mgr/dashboard: Provide user enable/disable capability in the frontend
Fixes: http://tracker.ceph.com/issues/25229

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-08-01 09:34:53 +01:00
Patrick Nawracay
2b76d76904
mgr/dashboard: Provide user enable/disable capability in the backend
Fixes: http://tracker.ceph.com/issues/25229

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-08-01 09:34:53 +01:00
Sebastian Wagner
1a3a1d1310
Merge pull request from sebastian-philipp/orchestrator-get_feature_set
mgr/orchestrator: Split *_stateless_service and add get_feature_set
2019-08-01 09:37:16 +02:00
Sebastian Wagner
a74fc09b16
Merge pull request from sebastian-philipp/rook-caching
mgr/rook: Add caching for the Dashboard

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
2019-08-01 09:35:21 +02:00
Sage Weil
143e1f0469 mgr/telemetry: force re-opt-in if the report contents change
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-31 20:33:19 -05:00
Sage Weil
7f1897b238 mgr/telemetry: less noise in the log
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-31 20:28:12 -05:00
Sage Weil
3055d6cb9b mgr/telemetry: wake up serve on config change
Signed-off-by: Sage Weil <sage@redhat.com>
2019-07-31 20:28:12 -05:00