Commit Graph

116747 Commits

Author SHA1 Message Date
Josh Durgin
63d0ce3f56
Merge pull request #38023 from zdover23/wip-doc-dev-guide-essentials-nov-2020
doc/dev: update essentials.rst nov 2020

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-11-12 17:25:43 -08:00
Zac Dover
efb9e82b94 doc/dev: update essentials.rst
This commit improves the grammar and structure
of essentials.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-11-13 09:41:41 +10:00
Neha Ojha
4a6f53afe6
Merge pull request #37902 from pdvian/wip-clog-health-detail
mon: Log "ceph health detail" periodically in cluster log

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-12 15:02:52 -08:00
kyr
6f75704a2e
Merge pull request #38029 from kshtsk/wip-cephadm-bootstrap-remote
qa/task/cephadm: run cephadm only on bootstrap_remote
2020-11-12 14:19:47 +01:00
Ernesto Puerta
d66dd35a77
Merge pull request #36385 from ghyer/ghyer-dashboard
mgr/dashboard: Add 'Dirs' and 'Caps' for filesystems details

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-11-12 14:15:04 +01:00
Ernesto Puerta
e92b11fffa
Merge pull request #38027 from s0nea/wip-dashboard-fix-doc-link
mgr/dashboard: fix HACKING.rst reference

Reviewed-by: aaSharma14 <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2020-11-12 14:11:06 +01:00
Ernesto Puerta
9f9e52a321
Merge pull request #37993 from votdev/issue_48051_ngx_pipe_function
mgr/dashboard: Use pipe instead of calling function within template

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-11-12 14:06:15 +01:00
Matt Benjamin
eb484de915
Merge pull request #37770 from pritha-srivastava/wip-sts-47871
rgw/sts: fix for validating path in role arn in assume role api.
2020-11-12 07:58:27 -05:00
Volker Theile
946b14c580 mgr/dashboard: Use pipe instead of calling function within template
This PR introduces the 'ngx-pipe-function' package to call functions in templates.

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

Signed-off-by: Volker Theile <vtheile@suse.com>
2020-11-12 12:02:32 +01:00
Ernesto Puerta
a79d89521a
Merge pull request #37918 from dungdm93/avoiding-relative-paths
mgr/dashboards: avoiding relative paths '../../..'

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: nizamial09 <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-11-12 11:42:45 +01:00
Kefu Chai
4dc60e9ece
Merge pull request #37922 from mgfritch/project-kubic
cephadm: install podman from the Kubic project

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-12 10:40:24 +08:00
Kefu Chai
a9b94c5d89
Merge pull request #38018 from tchaikov/wip-cmake-python
COPYING: note cmake/modules/FindPython* license and copyright

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-11-12 09:54:54 +08:00
Kefu Chai
167d8f5d90
Merge pull request #38028 from tchaikov/wip-crimson-maybe-unused
crimson/os: mark unused variable [[maybe_unused]]

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-11-12 09:53:47 +08:00
Kefu Chai
dfe9fce746
Merge pull request #35865 from tchaikov/wip-crimson-recovery-qa
qa/suites: add crimson-rados suite

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-11-12 09:52:33 +08:00
David Zafman
3931b21ae8
Merge pull request #36759 from dzafman/wip-46264
mon: check for mismatched daemon versions

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-11-11 17:09:28 -08:00
Prashant D
f45712c190 mon: Log "ceph health detail" periodically in cluster log
change mon_health_to_clog_interval from 1_hr -> 10_min to
log health summary or detail more frequently.

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

Signed-off-by: Prashant Dhange <pdhange@redhat.com>
2020-11-11 19:08:51 -05:00
David Zafman
870bde04a5 test: Changes based on code review comments
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:31:26 -08:00
David Zafman
9e469f5b31 doc: Apply suggestions from code review
Co-authored-by: Neha Ojha <nehaojha88@gmail.com>
Co-authored-by: Josh Durgin <jdurgin@redhat.com>

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:31:26 -08:00
David Zafman
93373746f5 osd test: Delay reporting until mon_warn_older_version_delay has passed
Move release notes description to 16.0.0 and update
Update documentation

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
5f8ad34f4f osd: Temporary fix for alienstore which doesn't support asok commands yet
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
18101c324a doc: Document health check DAEMON_OLD_VERSION
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
8b435668b0 Update Release notes
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
9d988c3dbc test: Simple test case for version health warning
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
e5b1ae5554 test: Use a config variable debug_version_for_testing
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
c2a3a2270d mon: Add mds version collector
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
bda3eaea56 mon: Add mgr version collector
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
David Zafman
4b8b26d640 mon: Add osd version collector
Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
Tyler
5e463b84dc mon: Verify version consistency across daemons
Add a function called check_daemon_versions()
Made minor changes based on pull request comments
Changed the way versions are checked along with some other minor modifications
Made minor modification to the error message
Modifications to include the hostname in the error message

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

Signed-off-by: Tyler <tyler_sheehan@student.uml.edu>

Remove time since health errors aren't preserved if not set every time
Rename health error to DAEMON_OLD_VERSION
Reoganize code so that we can get versions from other daemon types
Change to map of version (key), a list of daemons (value)
Get actual daemon names from get_versions() requests
Fix message output based on how many daemons and how many versions
Add a config to be able to turn off this features
Give HEALTH_ERR if more than one older version exists
Fix minor indentation problem with health detail

Signed-off-by: David Zafman <dzafman@redhat.com>
2020-11-11 15:10:11 -08:00
Kyr Shatskyy
f75b00984e qa/task/cephadm: run cephadm only on bootstrap_remote
Because not all the node in teuthology config might
have any cephadm related role we should not execute
cephadm on random node.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
2020-11-11 23:17:59 +01:00
Patrick Donnelly
d2769ff180
Merge PR #37978 into master
* refs/pull/37978/head:
	qa: fix broken links in multimds suite

Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-11-11 11:07:27 -08:00
Michael Fritch
769c20a457
Merge pull request #37235 from adk3798/4mon
mgr/cephadm: only deploy 3 mons by default when there are 4 hosts

Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-11-11 09:09:30 -07:00
Kefu Chai
5f1ed9a780 crimson/os: mark unused variable [[maybe_unused]]
silences the warning when building with -DNDEBUG:

segment_cleaner.h:399:10: warning: unused variable ‘ret’ [-Wunused-variable]
  399 |     auto ret = space_tracker->allocate(
      |          ^~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-11 23:23:20 +08:00
Tatjana Dehler
aaaeef2b6d mgr/dashboard: fix HACKING.rst reference
Update the documentation reference as the content
of the HACKING.rst file has been moved to the Ceph
developer documentation.

Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2020-11-11 15:55:39 +01:00
Jason Dillaman
016486890e
Merge pull request #37916 from orozery/librbd-crypto-wait-for-copyup
librbd: wait for copyup in unaligned crypto write

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-11-11 09:53:29 -05:00
Kefu Chai
1d5a329357
Merge pull request #38017 from YanfeiXu/yann-dev
cmake: add support for python3.9

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-11 19:57:08 +08:00
Kefu Chai
1130bf32cf COPYING: note cmake/modules/FindPython* license and copyright
these files were copied from CMake project for better python3 support

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-11 16:12:04 +08:00
Kefu Chai
966a4e01e4
Merge pull request #38021 from tchaikov/wip-mgr-liburl3
pybind/mgr: add urllib3==1.25.11 to mgr/requirements.txt

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
2020-11-11 16:05:12 +08:00
Kefu Chai
697f8c6001 pybind/mgr: add urllib3==1.25.11 to mgr/requirements.txt
in hope to address the failure of

ERROR: Cannot install -r requirements.txt (line 3) and kubernetes because these package versions have conflicting dependencies.

The conflict is caused by:
    kubernetes 12.0.0 depends on urllib3>=1.24.2
    requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.1

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-11-11 13:12:09 +08:00
Yanfei Xu
8f0a3fa1ff cmake: add support for python3.9
add support for python3.9.

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
2020-11-11 10:43:37 +08:00
David Zafman
9929588ce3
Merge pull request #37775 from dzafman/wip-upgrade-mimic-fix
test: Remove mimic-x* upgrade testing in master

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2020-11-10 16:27:43 -08:00
Kefu Chai
f7d6935f9d
Merge pull request #38006 from xxhdx1985126/wip-crimson-recovery-bug-fix2
crimson/osd: make load_obc_for_recovery pop up all errors

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-10 19:17:39 +08:00
Đặng Minh Dũng
85402d6543
mgr/dashboard: add tslint rule to prevent import with more than 1 parent e.g '../../foobar'
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2020-11-10 18:12:05 +07:00
Đặng Minh Dũng
bdf866e436
mgr/dashboard: npm run fix
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2020-11-10 18:12:05 +07:00
Đặng Minh Dũng
26ae757097
mgr/dashboard: reconfig tslint import match rule for local module
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2020-11-10 18:12:05 +07:00
Đặng Minh Dũng
4ad1cc01dc
mgr/dashboard: refactor imports
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2020-11-10 18:12:05 +07:00
Đặng Minh Dũng
e3c8392bdb
mgr/dashboard: move "tsconfig.app.json" to <root> folder
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2020-11-10 18:12:05 +07:00
Đặng Minh Dũng
211ae10315
mgr/dasbhoard: add shortcut
Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2020-11-10 18:12:05 +07:00
Xuehan Xu
534108c5f4 crimson/osd: make load_obc_for_recovery pop up all errors
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2020-11-10 18:33:01 +08:00
Kefu Chai
d48c6c4ab9
Merge pull request #37943 from xxhdx1985126/wip-crimson-recovery-bug-fix
crimson: recovery bug fix

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-11-10 18:07:16 +08:00
Kefu Chai
33da4a5a05
Merge pull request #37997 from rhcs-dashboard/48155-fix-api-test-full-health
mgr/dashboard: fix API test: test_full_health

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-11-10 17:53:50 +08:00