Commit Graph

94532 Commits

Author SHA1 Message Date
Jan Fajerski
73978ca0c7 ceph-volume: add osd_ids argument
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2019-01-30 15:48:05 +01:00
alfonsomthd
e03d37f52a mgr/dashboard: Updated colors in PG Status chart
* For consistency:
  Set 'Clean' status color to 'HEALTH_OK' color
  (Cluster Status card).

  Set 'Warning' status color to 'HEALTH_WARN' color.

  'Working' (blue) & 'Unknown' (red) are kept due to
  previous consensus about these complementary colors
  in doughnut/pie charts.

* Renamed Health Pie colors for the sake of clarity.

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-01-30 15:27:47 +01:00
Kefu Chai
8d5ddb5817
Merge pull request #26091 from tchaikov/wip-36737
cmake: use $CMAKE_BINARY_DIR for default $CEPH_BUILD_VIRTUALENV

Tested-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
2019-01-30 21:35:52 +08:00
Sage Weil
1a9734c970 Merge PR #26142 into master
* refs/pull/26142/head:
	doc/dev/cephx: document current implementation of cephx

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2019-01-30 07:06:42 -06:00
Jason Dillaman
d07cc3b627
Merge pull request #26097 from trociny/wip-rbd-mirror-perf-lock
rbd-mirror: guard access to image replayer perf counters

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2019-01-30 07:52:41 -05:00
Jason Dillaman
347eac67ba
Merge pull request #26168 from shyukri/qa-rbd-replace-bench-write
qa: rbd/workunits : Replace "rbd bench-write" with "rbd bench --io-type write"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-01-30 07:51:55 -05:00
Juan Miguel Olmo Martínez
ec8b8cc59b
mgr/ansible: Replace Inventory Ansible playbook
A new Ansible playbook allows now to retrieve the storage devices information produced by ceph-volume.

Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
2019-01-30 13:23:49 +01:00
alfonsomthd
c094e2d702 mgr/dashboard: fix skipped backend API tests
* When the creation of the cluster is delegated to vstart_runner.py
(--create or --create-target-only) the amount of MGRs required
is calculated by the script so there is no more skipped tests
due to insufficient amount of MGRs.

* Additionally, this issue is not reproducible anymore:
Fixes: https://tracker.ceph.com/issues/37964

* Fixed typo: TEUTHOLOFY_PY_REQS

Signed-off-by: Alfonso Martínez <almartin@redhat.com>
2019-01-30 13:05:02 +01:00
Lenz Grimmer
9ea48b7fba
Merge pull request #26162 from familyuu/crush
mgr/dashboard: CRUSH map viewer RFE

Reviewed-by: Kanika Murarka <kmurarka@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-30 11:43:59 +01:00
Lenz Grimmer
8086a88329
Merge pull request #26182 from p-na/wip-pna-fix-pool-reload
mgr/dashboard: Fix reloading of pool listing

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2019-01-30 11:26:28 +01:00
Ricardo Marques
7ebc04d696
Merge pull request #26143 from LenzGr/master-documentation
doc: Updated feature list and overview in dashboard.rst

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2019-01-30 09:49:35 +00:00
Sebastian Wagner
c5dcd0cea9
Merge pull request #25893 from sebastian-philipp/orchestrator-current-status
doc/orchestrator: Aligned Documentation with specification

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2019-01-30 09:48:11 +01:00
guodan1
411c423410 mgr/dashboard: CRUSH map viewer RFE
Fixes: http://tracker.ceph.com/issues/37794

Signed-off-by: familyuu <guodan1@lenovo.com>
2019-01-30 11:04:14 +08:00
Neha Ojha
ead6c226eb
Merge pull request #26175 from neha-ojha/wip-37919
osd/PG.cc: account for missing set irrespective of last_complete

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed By: Xie Xingguo <xie.xingguo@zte.com.cn>
2019-01-29 16:19:34 -08:00
Neha Ojha
023b5f6a21
Merge pull request #25737 from arthurhsliu/patch-1
doc: fix typo in erasure coding example

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 16:11:26 -08:00
Yehuda Sadeh
8a5f3174fe rgw: es: query sent to elasticsearch needs content-type
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2019-01-29 15:33:01 -08:00
Yehuda Sadeh
6988ef0ae8 rgw: es: don't error out on index initialization
if index already exists. Assuming index was created externally.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2019-01-29 15:33:01 -08:00
Yehuda Sadeh
0bb0f234a4 rgw: rest cr: can return json decoded errors
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2019-01-29 15:33:00 -08:00
Yehuda Sadeh
1c3583c5ad rgw: es: fix v5+ index map settings
and rework the way it's being done

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2019-01-29 15:33:00 -08:00
Patrick Donnelly
3bc093fd9e
mds: add extra details for cache drop output
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 15:16:31 -08:00
Patrick Donnelly
30aaa884bf
qa: test mds_max_caps_per_client conf
That the MDS will not let a client sit above mds_max_caps_per_client caps.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 15:16:31 -08:00
Patrick Donnelly
48ca097a9f
mds: limit maximum number of caps held by session
This is to prevent unsustainable situations where a client has so many
outstanding caps that a linear traversal/operation on the session's caps takes
unacceptable amounts of time.

Fixes: http://tracker.ceph.com/issues/38022
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 15:16:31 -08:00
Patrick Donnelly
7244cae4b8
mds: adapt drop cache for incremental recall
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 15:16:31 -08:00
Patrick Donnelly
ef46216d8d
mds: recall caps incrementally
As with trimming, use DecayCounters to throttle the number of caps we recall,
both globally and per-session.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 15:16:30 -08:00
Patrick Donnelly
b750b3bb25
mds: adapt drop cache for incremental trim
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 15:16:30 -08:00
Patrick Donnelly
7bf2f31abf
mds: add throttle for trimming MDCache
This is necessary when the MDS cache size decreases by a significant amount.
For example, when stopping a large MDS or when the operator makes a large cache
size reduction.

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

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 15:16:30 -08:00
Patrick Donnelly
69efdaf646
mds: cleanup SessionMap init
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 15:16:30 -08:00
Patrick Donnelly
ce153b8112
mds: cleanup Session init
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-01-29 15:16:30 -08:00
Sage Weil
141c305c12 doc/dev/cephx: document current implementation of cephx
Signed-off-by: Sage Weil <sage@redhat.com>
2019-01-29 12:28:36 -06:00
Casey Bodley
f25e85696c rgw: only update last_trim marker on ENODATA
if cls_log_trim() returns 0, it may have stopped after 1000 entries
before trimming all the way to to_marker. only update last_trim on
ENODATA, so we continue trimming until done

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2019-01-29 12:26:23 -05:00
Casey Bodley
0a506c8ff4
Merge pull request #26157 from cbodley/wip-rgw-olh-repair
rgw: repair olh attributes that were broken by sync

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2019-01-29 12:04:39 -05:00
Matt Benjamin
e3b6c8356e
Merge pull request #26002 from pritha-srivastava/wip-sts-assumerole-webidentity
rgw: Initial commit for AssumeRoleWithWebIdentity.
2019-01-29 11:58:50 -05:00
Kefu Chai
c6edb27b3a
Merge pull request #26110 from yaozongyou/fix-statistics-bug
mon: fix pg_sum_old not copied correctly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-01-30 00:19:01 +08:00
Sebastian Wagner
cfc0141db1 doc/orchestrator: Aligned Documentaiton with specification
Also: add current implementation status
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-01-29 15:51:16 +01:00
Sebastian Krah
72fa86efa5 mgr/dashboard: Cleanup cluster and audit log
Applies the following changes:
- Makes the timestamp bold and not the message
- Colors the priority according to its level
- Indents the message correct if it's longer than one line
- Displays a message when the log is empty

Fixes: https://tracker.ceph.com/issues/37916
Signed-off-by: Sebastian Krah <skrah@suse.com>
2019-01-29 15:49:53 +01:00
Sebastian Krah
2a42aef5d5 mgr/dashboard: Refactor log pipe
The pipe returns a class name instead of an object now. This has the advantage,
that the layout can be modified directly in scss and keeps the code seperated
from the layout.

Fixes: https://tracker.ceph.com/issues/37916
Signed-off-by: Sebastian Krah <skrah@suse.com>
2019-01-29 14:59:14 +01:00
Sebastian Krah
0368346002 mgr/dashboard: Move and rename pipe
Moves file to the shared directory to make it available for every module.
Also renames the file, because it will be refactored.

Fixes: https://tracker.ceph.com/issues/37916
Signed-off-by: Sebastian Krah <skrah@suse.com>
2019-01-29 14:58:37 +01:00
Kefu Chai
60c3988601
Merge pull request #26090 from tchaikov/wip-crimson-osdmap
crimson: persist/load osdmap to/from store

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-01-29 21:31:51 +08:00
Patrick Nawracay
2f73d34b63 mgr/dashboard: Fix reloading of pool listing
Remove broken functionality that prevents pools from being reloaded after
deletion. The code also introduced a different problem; when clicking on a tab
shortly after the page has been loaded, the code will restore the tab to the
wrong one.

Introduced by 9e913bfd59

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2019-01-29 12:51:39 +00:00
Lenz Grimmer
602c875bd6
Merge pull request #26135 from Tinatinak/fix_permission_decorator
mgr/dashboard: Correct permission decorator

Reviewed-by: Ricardo Dias <rdias@suse.com>
2019-01-29 13:38:36 +01:00
Lenz Grimmer
d1ceffebf1
Merge pull request #26165 from rhcs-dashboard/ng-envbuild-e2e
mgr/dashboard: added 'env_build' to 'npm run e2e'

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2019-01-29 13:34:36 +01:00
Kefu Chai
05f09420f7 crimson/osd: fix boot process
* send my client addresses to mon
* always update osdmap with the latest one

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 20:04:54 +08:00
Kefu Chai
7b56e70385 crimson/osd: load_pgs()
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 20:04:54 +08:00
Kefu Chai
aa032af1eb crimson/os: add omap_get_values()
osd uses it for storing the pg_info.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 20:04:53 +08:00
Kefu Chai
f14f913fbf osd/HitSet: mark copy ctor of HitSet::Params noexcept
to be returned using seastar::future<...> the value type should satisfy
std::is_nothrow_constructible<T>.

with this change, pg_pool_t will be nothrow_constructible. and hence
can be returned using seastar::future<pg_pool_t>. otherwise
std::is_nothrow_constructible<pg_pool_t>::value would be false.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 20:04:53 +08:00
Kefu Chai
05a262d5aa crimson/osd: add operator<< to OSDState
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 19:32:59 +08:00
Kefu Chai
06e36ac991 crimson/os: note missing coll/oid in exception
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 19:32:59 +08:00
Kefu Chai
3b0db1db56 crimson/osd: load/store osdmap from/to store
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 19:32:58 +08:00
Mykola Golub
275bedc8d5
Merge pull request #26133 from dillaman/wip-37913
rbd: implement new 'rbd perf image iostat/iotop' commands

Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-01-29 12:41:23 +02:00
Kefu Chai
a697025bc3 crimson/osd: add "--mkfs" support to crimson-osd
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-01-29 17:58:18 +08:00