]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agomgr/dashboard: Disable sso without python3-saml 38084/head
Kevin Meijer [Sat, 14 Nov 2020 18:44:07 +0000 (19:44 +0100)]
mgr/dashboard: Disable sso without python3-saml

Removed the requirement for the python3-saml package when wanting to disable SSO for the dashboard, this is currently relevant since the official container that runs Ceph mgr does not have this package installed.
So when upgrading from an older, non-containerized version, you would be stuck using a non-functional dashboard.

This pull requests changes that and allows the ceph dashboard sso disable command without the requirement of the library so that we SSO can always be disabled again.

Fixes: https://tracker.ceph.com/issues/48237 Signed-off-by: Kevin Meijer <admin@kevinmeijer.nl>
4 years agoMerge PR #38071 into master
Patrick Donnelly [Sat, 14 Nov 2020 18:04:12 +0000 (10:04 -0800)]
Merge PR #38071 into master

* refs/pull/38071/head:
.github: add labeler for cephfs

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38067 from dillaman/wip-github-rbd-label
Kefu Chai [Sat, 14 Nov 2020 16:53:38 +0000 (00:53 +0800)]
Merge pull request #38067 from dillaman/wip-github-rbd-label

github: add 'rbd' auto-labelling

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38013 from drakonstein/master
Kefu Chai [Sat, 14 Nov 2020 11:56:40 +0000 (19:56 +0800)]
Merge pull request #38013 from drakonstein/master

rpm,deb: change sudoers file mode to 440

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
4 years agoMerge pull request #38073 from badone/wip-use-right-tunable-for-pg-scrub-doc 38145/head
Brad Hubbard [Sat, 14 Nov 2020 04:49:27 +0000 (14:49 +1000)]
Merge pull request #38073 from badone/wip-use-right-tunable-for-pg-scrub-doc

doc: Use correct tunable for PG_NOT_SCRUBBED

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37883 from diwilli/patch-1
Michael Fritch [Sat, 14 Nov 2020 02:27:59 +0000 (19:27 -0700)]
Merge pull request #37883 from diwilli/patch-1

cephadm: Set listen-addresses on alertmanager container

Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
4 years agoMerge pull request #38011 from mgfritch/cephadm-sudo-log-dir
Michael Fritch [Sat, 14 Nov 2020 02:23:34 +0000 (19:23 -0700)]
Merge pull request #38011 from mgfritch/cephadm-sudo-log-dir

cephadm: verify root privileges before log dir create

Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
4 years ago.github: add labeler for cephfs 38071/head
Patrick Donnelly [Fri, 13 Nov 2020 23:07:12 +0000 (15:07 -0800)]
.github: add labeler for cephfs

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agogithub: add 'rbd' auto-labelling 38067/head
Jason Dillaman [Fri, 13 Nov 2020 19:43:21 +0000 (14:43 -0500)]
github: add 'rbd' auto-labelling

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #38057 from zdover23/wip-doc-dev-guide-essentials-source-clean...
Neha Ojha [Fri, 13 Nov 2020 17:42:20 +0000 (09:42 -0800)]
Merge pull request #38057 from zdover23/wip-doc-dev-guide-essentials-source-clean-update

doc/dev: update essentials.rst

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #38036 from zdover23/wip-doc-dev-guide-basic-workflow-make-check...
Neha Ojha [Fri, 13 Nov 2020 17:38:28 +0000 (09:38 -0800)]
Merge pull request #38036 from zdover23/wip-doc-dev-guide-basic-workflow-make-check-nov-2020

doc/dev: improve make check text

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #37977 from dillaman/wip-48145
Mykola Golub [Fri, 13 Nov 2020 14:47:46 +0000 (16:47 +0200)]
Merge pull request #37977 from dillaman/wip-48145

librbd: update hidden global config when removing pool config override

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #37975 from dang/wip-dang-webdir-empty-object
Daniel Gryniewicz [Fri, 13 Nov 2020 14:02:04 +0000 (09:02 -0500)]
Merge pull request #37975 from dang/wip-dang-webdir-empty-object

RGW - Don't create empty obj in webdir

4 years agoMerge pull request #38060 from rhcs-dashboard/wip-master-auto_labels
Kefu Chai [Fri, 13 Nov 2020 12:07:42 +0000 (20:07 +0800)]
Merge pull request #38060 from rhcs-dashboard/wip-master-auto_labels

github: fix autolabel paths

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
4 years agogithub: fix autolabel paths 38060/head
Ernesto Puerta [Fri, 13 Nov 2020 10:19:33 +0000 (11:19 +0100)]
github: fix autolabel paths

Remove starting / from paths and add missing doc path from dashboard.

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #38055 from tchaikov/wip-doc-conf
Kefu Chai [Fri, 13 Nov 2020 08:58:48 +0000 (16:58 +0800)]
Merge pull request #38055 from tchaikov/wip-doc-conf

doc/rados/configuration: document option types

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
4 years agodoc/dev: update essentials.rst 38057/head
Zac Dover [Fri, 13 Nov 2020 07:37:58 +0000 (17:37 +1000)]
doc/dev: update essentials.rst

This commit changes the noun "backup" to the
intended verb "back up" (this is one of my
technical documentation pet peeves and I couldn't
resist), and it also removes the verb "to nuke"
and replaces it with something less poetic but
more likely to be discoverable in a dictionary by
someone whose English is weak. It also adds a
missing colon.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agodoc/rados/configuration: document option types 38055/head
Kefu Chai [Fri, 13 Nov 2020 05:32:14 +0000 (13:32 +0800)]
doc/rados/configuration: document option types

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc/rados: remove superfluous "::"
Kefu Chai [Fri, 13 Nov 2020 04:14:00 +0000 (12:14 +0800)]
doc/rados: remove superfluous "::"

this change addresses a regression introduced by
0f2489406a8d4194c159c8777517d20b54e216b5

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agodoc: Use correct tunable for PG_NOT_SCRUBBED 38073/head
Brad Hubbard [Fri, 13 Nov 2020 04:33:24 +0000 (14:33 +1000)]
doc: Use correct tunable for PG_NOT_SCRUBBED

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
4 years agodoc/dev: improve make check text 38036/head
Zac Dover [Thu, 12 Nov 2020 09:33:16 +0000 (19:33 +1000)]
doc/dev: improve make check text

This commit fixes the references to the
"make check" section in the "notes on
pr make check test" section and improves
the wording of that section so that it
reads a bit more clearly.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #38049 from rhcs-dashboard/wip-master-auto_labels
Kefu Chai [Fri, 13 Nov 2020 03:35:37 +0000 (11:35 +0800)]
Merge pull request #38049 from rhcs-dashboard/wip-master-auto_labels

github: autolabel PRs

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #38023 from zdover23/wip-doc-dev-guide-essentials-nov-2020
Josh Durgin [Fri, 13 Nov 2020 01:25:43 +0000 (17:25 -0800)]
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>
4 years agodoc/dev: update essentials.rst 38023/head
Zac Dover [Thu, 5 Nov 2020 23:22:03 +0000 (09:22 +1000)]
doc/dev: update essentials.rst

This commit improves the grammar and structure
of essentials.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agoMerge pull request #37902 from pdvian/wip-clog-health-detail
Neha Ojha [Thu, 12 Nov 2020 23:02:52 +0000 (15:02 -0800)]
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>
4 years agoRGW - Don't create empty obj in webdir 37975/head
Daniel Gryniewicz [Thu, 5 Nov 2020 19:02:04 +0000 (14:02 -0500)]
RGW - Don't create empty obj in webdir

Zipper objects shouldn't be empty, but should instead be null.  Fix this
case where parsing wasn't checking for empty object name, and the
website code that uses it.

Fixes: https://tracker.ceph.com/issues/48049
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
4 years agogithub: autolabel PRs 38049/head
Ernesto Puerta [Thu, 12 Nov 2020 17:07:44 +0000 (18:07 +0100)]
github: autolabel PRs

... starting with dashboard ones.

Requires https://github.com/marketplace/actions/labeler

Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
4 years agoMerge pull request #38029 from kshtsk/wip-cephadm-bootstrap-remote
kyr [Thu, 12 Nov 2020 13:19:47 +0000 (14:19 +0100)]
Merge pull request #38029 from kshtsk/wip-cephadm-bootstrap-remote

qa/task/cephadm: run cephadm only on bootstrap_remote

4 years agoMerge pull request #36385 from ghyer/ghyer-dashboard
Ernesto Puerta [Thu, 12 Nov 2020 13:15:04 +0000 (14:15 +0100)]
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>
4 years agoMerge pull request #38027 from s0nea/wip-dashboard-fix-doc-link
Ernesto Puerta [Thu, 12 Nov 2020 13:11:06 +0000 (14:11 +0100)]
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>
4 years agoMerge pull request #37993 from votdev/issue_48051_ngx_pipe_function
Ernesto Puerta [Thu, 12 Nov 2020 13:06:15 +0000 (14:06 +0100)]
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>
4 years agoMerge pull request #37770 from pritha-srivastava/wip-sts-47871
Matt Benjamin [Thu, 12 Nov 2020 12:58:27 +0000 (07:58 -0500)]
Merge pull request #37770 from pritha-srivastava/wip-sts-47871

rgw/sts: fix for validating path in role arn in assume role api.

4 years agomgr/dashboard: Use pipe instead of calling function within template 37993/head
Volker Theile [Mon, 9 Nov 2020 13:51:53 +0000 (14:51 +0100)]
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>
4 years agoMerge pull request #37918 from dungdm93/avoiding-relative-paths
Ernesto Puerta [Thu, 12 Nov 2020 10:42:45 +0000 (11:42 +0100)]
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>
4 years agorpm,deb: change sudoers file mode to 440 38013/head
David Turner [Tue, 10 Nov 2020 19:31:35 +0000 (14:31 -0500)]
rpm,deb: change sudoers file mode to 440

change sudoers file mode to 440 to match recommended defaults.

From the sudoers man page.

> the default file mode is 0440 (read‐able by owner and group, writable
by none).
> The default mode may be changed via the “sudoers_mode” option to the
sudoers
>  Plugin line in the sudo.conf(5) file.

Fixes: https://tracker.ceph.com/issues/48169
Signed-off-by: David Turner <drakonstein@gmail.com>
4 years agoMerge pull request #37922 from mgfritch/project-kubic
Kefu Chai [Thu, 12 Nov 2020 02:40:24 +0000 (10:40 +0800)]
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>
4 years agoMerge pull request #38018 from tchaikov/wip-cmake-python
Kefu Chai [Thu, 12 Nov 2020 01:54:54 +0000 (09:54 +0800)]
Merge pull request #38018 from tchaikov/wip-cmake-python

COPYING: note cmake/modules/FindPython* license and copyright

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #38028 from tchaikov/wip-crimson-maybe-unused
Kefu Chai [Thu, 12 Nov 2020 01:53:47 +0000 (09:53 +0800)]
Merge pull request #38028 from tchaikov/wip-crimson-maybe-unused

crimson/os: mark unused variable [[maybe_unused]]

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #35865 from tchaikov/wip-crimson-recovery-qa
Kefu Chai [Thu, 12 Nov 2020 01:52:33 +0000 (09:52 +0800)]
Merge pull request #35865 from tchaikov/wip-crimson-recovery-qa

qa/suites: add crimson-rados suite

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #36759 from dzafman/wip-46264
David Zafman [Thu, 12 Nov 2020 01:09:28 +0000 (17:09 -0800)]
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>
4 years agomon: Log "ceph health detail" periodically in cluster log 37902/head
Prashant D [Fri, 30 Oct 2020 10:40:43 +0000 (06:40 -0400)]
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>
4 years agotest: Changes based on code review comments 36759/head
David Zafman [Wed, 11 Nov 2020 22:00:24 +0000 (14:00 -0800)]
test: Changes based on code review comments

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agodoc: Apply suggestions from code review
David Zafman [Tue, 10 Nov 2020 22:29:08 +0000 (14:29 -0800)]
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>
4 years agoosd test: Delay reporting until mon_warn_older_version_delay has passed
David Zafman [Sun, 8 Nov 2020 17:07:04 +0000 (09:07 -0800)]
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>
4 years agoosd: Temporary fix for alienstore which doesn't support asok commands yet
David Zafman [Thu, 22 Oct 2020 16:15:40 +0000 (16:15 +0000)]
osd: Temporary fix for alienstore which doesn't support asok commands yet

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agodoc: Document health check DAEMON_OLD_VERSION
David Zafman [Mon, 28 Sep 2020 22:48:09 +0000 (22:48 +0000)]
doc: Document health check DAEMON_OLD_VERSION

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agoUpdate Release notes
David Zafman [Fri, 28 Aug 2020 20:27:42 +0000 (20:27 +0000)]
Update Release notes

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agotest: Simple test case for version health warning
David Zafman [Fri, 28 Aug 2020 18:35:03 +0000 (18:35 +0000)]
test: Simple test case for version health warning

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agotest: Use a config variable debug_version_for_testing
David Zafman [Tue, 25 Aug 2020 01:20:28 +0000 (01:20 +0000)]
test: Use a config variable debug_version_for_testing

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agomon: Add mds version collector
David Zafman [Thu, 27 Aug 2020 17:54:15 +0000 (17:54 +0000)]
mon: Add mds version collector

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agomon: Add mgr version collector
David Zafman [Thu, 27 Aug 2020 05:10:06 +0000 (05:10 +0000)]
mon: Add mgr version collector

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agomon: Add osd version collector
David Zafman [Fri, 11 Sep 2020 21:46:55 +0000 (21:46 +0000)]
mon: Add osd version collector

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agomon: Verify version consistency across daemons
Tyler [Mon, 20 Jul 2020 17:18:29 +0000 (13:18 -0400)]
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>
4 years agoqa/task/cephadm: run cephadm only on bootstrap_remote 38029/head
Kyr Shatskyy [Wed, 11 Nov 2020 15:18:56 +0000 (16:18 +0100)]
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>
4 years agoMerge PR #37978 into master
Patrick Donnelly [Wed, 11 Nov 2020 19:07:27 +0000 (11:07 -0800)]
Merge PR #37978 into master

* refs/pull/37978/head:
qa: fix broken links in multimds suite

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agocephadm: verify root privileges before log dir create 38011/head
Michael Fritch [Tue, 10 Nov 2020 01:07:15 +0000 (18:07 -0700)]
cephadm: verify root privileges before log dir create

root privileges need to be verified before creating the log dir

introduced by 81a7df0

Fixes: https://tracker.ceph.com/issues/48166
Signed-off-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge pull request #37235 from adk3798/4mon
Michael Fritch [Wed, 11 Nov 2020 16:09:30 +0000 (09:09 -0700)]
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>
4 years agocrimson/os: mark unused variable [[maybe_unused]] 38028/head
Kefu Chai [Wed, 11 Nov 2020 15:22:08 +0000 (23:22 +0800)]
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>
4 years agomgr/dashboard: fix HACKING.rst reference 38027/head
Tatjana Dehler [Wed, 11 Nov 2020 14:52:50 +0000 (15:52 +0100)]
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>
4 years agoMerge pull request #37916 from orozery/librbd-crypto-wait-for-copyup
Jason Dillaman [Wed, 11 Nov 2020 14:53:29 +0000 (09:53 -0500)]
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>
4 years agoMerge pull request #38017 from YanfeiXu/yann-dev
Kefu Chai [Wed, 11 Nov 2020 11:57:08 +0000 (19:57 +0800)]
Merge pull request #38017 from YanfeiXu/yann-dev

cmake: add support for python3.9

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoCOPYING: note cmake/modules/FindPython* license and copyright 38018/head
Kefu Chai [Wed, 11 Nov 2020 03:47:40 +0000 (11:47 +0800)]
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>
4 years agoMerge pull request #38021 from tchaikov/wip-mgr-liburl3
Kefu Chai [Wed, 11 Nov 2020 08:05:12 +0000 (16:05 +0800)]
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>
4 years agopybind/mgr: add urllib3==1.25.11 to mgr/requirements.txt 38021/head
Kefu Chai [Wed, 11 Nov 2020 05:09:53 +0000 (13:09 +0800)]
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>
4 years agocmake: add support for python3.9 38017/head
Yanfei Xu [Tue, 10 Nov 2020 09:17:30 +0000 (17:17 +0800)]
cmake: add support for python3.9

add support for python3.9.

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
4 years agoMerge pull request #37775 from dzafman/wip-upgrade-mimic-fix
David Zafman [Wed, 11 Nov 2020 00:27:43 +0000 (16:27 -0800)]
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>
4 years agoMerge pull request #38006 from xxhdx1985126/wip-crimson-recovery-bug-fix2
Kefu Chai [Tue, 10 Nov 2020 11:17:39 +0000 (19:17 +0800)]
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>
4 years agomgr/dashboard: add tslint rule to prevent import with more than 1 parent e.g '..... 37918/head
Đặng Minh Dũng [Wed, 4 Nov 2020 04:32:49 +0000 (11:32 +0700)]
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>
4 years agomgr/dashboard: npm run fix
Đặng Minh Dũng [Mon, 2 Nov 2020 09:31:22 +0000 (16:31 +0700)]
mgr/dashboard: npm run fix

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
4 years agomgr/dashboard: reconfig tslint import match rule for local module
Đặng Minh Dũng [Mon, 2 Nov 2020 07:29:14 +0000 (14:29 +0700)]
mgr/dashboard: reconfig tslint import match rule for local module

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
4 years agomgr/dashboard: refactor imports
Đặng Minh Dũng [Mon, 2 Nov 2020 03:15:20 +0000 (10:15 +0700)]
mgr/dashboard: refactor imports

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
4 years agomgr/dashboard: move "tsconfig.app.json" to <root> folder
Đặng Minh Dũng [Mon, 2 Nov 2020 10:35:30 +0000 (17:35 +0700)]
mgr/dashboard: move "tsconfig.app.json" to <root> folder

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
4 years agomgr/dasbhoard: add shortcut
Đặng Minh Dũng [Mon, 2 Nov 2020 03:09:54 +0000 (10:09 +0700)]
mgr/dasbhoard: add shortcut

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
4 years agocrimson/osd: make load_obc_for_recovery pop up all errors 38006/head
Xuehan Xu [Tue, 10 Nov 2020 10:33:01 +0000 (18:33 +0800)]
crimson/osd: make load_obc_for_recovery pop up all errors

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #37943 from xxhdx1985126/wip-crimson-recovery-bug-fix
Kefu Chai [Tue, 10 Nov 2020 10:07:16 +0000 (18:07 +0800)]
Merge pull request #37943 from xxhdx1985126/wip-crimson-recovery-bug-fix

crimson: recovery bug fix

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #37997 from rhcs-dashboard/48155-fix-api-test-full-health
Kefu Chai [Tue, 10 Nov 2020 09:53:50 +0000 (17:53 +0800)]
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>
4 years agomgr/dashboard: fix API test: test_full_health 37997/head
Alfonso Martínez [Tue, 10 Nov 2020 08:29:45 +0000 (09:29 +0100)]
mgr/dashboard: fix API test: test_full_health

Fixes: https://tracker.ceph.com/issues/48155
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
4 years agoMerge PR #37942 into master
Jan Fajerski [Tue, 10 Nov 2020 07:30:55 +0000 (08:30 +0100)]
Merge PR #37942 into master

* refs/pull/37942/head:
ceph-volume: fix lvm help test
ceph-volume: add a unit tests to lvm batch
ceph-volume: fix lvm batch auto with full SSDs

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
4 years agocrimson/osd: make non-first push ops' version to be the version of the recovering... 37943/head
Xuehan Xu [Sun, 1 Nov 2020 10:46:16 +0000 (18:46 +0800)]
crimson/osd: make non-first push ops' version to be the version of the recovering object

An object may take more than one push op to recover, those later push ops also need to
set their version accordingly

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agocrimson/osd: make PglogBasedRecovery op take recovering objs triggered elsewhere...
Xuehan Xu [Sat, 31 Oct 2020 11:53:12 +0000 (19:53 +0800)]
crimson/osd: make PglogBasedRecovery op take recovering objs triggered elsewhere into account

PGRecovery::start_recovery_ops() should wait for all inflight recovery ops, whether they are
started by BackgroundRecovery or not, otherwise there may be circumstances in which BackgroundRecovery
keep recursively invoking its do_recovery when start_recovery_ops returns recovery done while there are
still missing objects.

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #37941 from dzafman/wip-48077
David Zafman [Mon, 9 Nov 2020 23:12:34 +0000 (15:12 -0800)]
Merge pull request #37941 from dzafman/wip-48077

Allowing scrub configs begin_day/end_day to include 7 and begin_hour/end_hour to include 24 is confusing

Reviewed-by: Neha Ojha <nojha@redhat.com>
4 years agoMerge pull request #37539 from zdover23/wip-doc-ceph-df-2020-oct
Josh Durgin [Mon, 9 Nov 2020 23:09:45 +0000 (15:09 -0800)]
Merge pull request #37539 from zdover23/wip-doc-ceph-df-2020-oct

doc/rados: ceph df output update

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agotest: unittest_osdscrub: Remove invalid hour test and add day of week testing 37941/head
David Zafman [Wed, 4 Nov 2020 17:20:17 +0000 (09:20 -0800)]
test: unittest_osdscrub: Remove invalid hour test and add day of week testing

Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agoosd: Eliminate day of weeek 7 and hour 24
David Zafman [Tue, 3 Nov 2020 03:26:57 +0000 (03:26 +0000)]
osd: Eliminate day of weeek 7 and hour 24

Add test case for permitted hours to make sure scrub doesn't start
Remove permitted hours in extended sleep test

Fixes: https://tracker.ceph.com/issues/48077
Signed-off-by: David Zafman <dzafman@redhat.com>
4 years agodoc/rados: ceph df output update 37539/head
Zac Dover [Sun, 4 Oct 2020 20:28:51 +0000 (06:28 +1000)]
doc/rados: ceph df output update

This commit updates the "ceph df" output
so that it is current as of October 2020.
-Add correctly formatted `ceph df` output.
-Add explanation of "DIRTY" column.
-(DATA) remains to be defined (1 instance)
-(OMAP) remains to be defined (1 instance)
-USED remains to be defined (1 instance)
-Update prompts in "Checking OSD Status"

Fixes: https://tracker.ceph.com/issues/47523
Signed-off-by: Zac Dover <zac.dover@gmail.com>
4 years agocephadm: install podman from the Kubic project 37922/head
Michael Fritch [Mon, 2 Nov 2020 15:54:53 +0000 (08:54 -0700)]
cephadm: install podman from the Kubic project

ppa:projectatomic is no longer maintained, updates are now provided via
the Kubic project

Fixes: https://tracker.ceph.com/issues/48072
Signed-off-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge PR #37932 into master
Patrick Donnelly [Mon, 9 Nov 2020 16:17:18 +0000 (08:17 -0800)]
Merge PR #37932 into master

* refs/pull/37932/head:
src/script/ceph-backport.sh: abort if jq not available

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoceph-volume: fix lvm help test 37942/head
Dimitri Savineau [Mon, 9 Nov 2020 15:50:20 +0000 (10:50 -0500)]
ceph-volume: fix lvm help test

ed5ceb0 changed the LVM help code but not the associated test.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
4 years agoceph-volume: add a unit tests to lvm batch
Guillaume Abrioux [Wed, 4 Nov 2020 14:11:58 +0000 (15:11 +0100)]
ceph-volume: add a unit tests to lvm batch

This commit adds unit tests in order to cover `_sort_rotational_disks()`
call when deploying with full hdd/ssd or mixed hdd/sdd scenarios.

Fixes: https://tracker.ceph.com/issues/48150
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Co-authored-by: Dimitri Savineau <dsavinea@redhat.com>
4 years agoceph-volume: fix lvm batch auto with full SSDs
Dimitri Savineau [Tue, 3 Nov 2020 23:21:35 +0000 (18:21 -0500)]
ceph-volume: fix lvm batch auto with full SSDs

The ceph-volume lvm batch --auto introduced by [1] breaks the backward
compatibility when using non rotational devices only (SSD and/or NVMe).
Those devices are reaffected as bluestore db or filestore journal
devices while we want them as data devices.

Fixes: https://tracker.ceph.com/issues/48106
[1] https://github.com/ceph/ceph/pull/34740

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
4 years agoMerge pull request #37928 from tchaikov/wip-qa-ceph-ctx-archive
Kefu Chai [Mon, 9 Nov 2020 15:48:30 +0000 (23:48 +0800)]
Merge pull request #37928 from tchaikov/wip-qa-ceph-ctx-archive

qa/tasks/ceph: extract update_archive_setting()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
4 years agoMerge pull request #37453 from tspmelo/wip-rbd-change-detection
Lenz Grimmer [Mon, 9 Nov 2020 14:10:24 +0000 (15:10 +0100)]
Merge pull request #37453 from tspmelo/wip-rbd-change-detection

mgr/dashboard: Improve Change Detection on RBD Snapshot

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
4 years agoMerge pull request #37641 from henyxia/dev/henyxia/add-mgr-dashboard-prom-ssl-verify
Lenz Grimmer [Mon, 9 Nov 2020 14:07:57 +0000 (15:07 +0100)]
Merge pull request #37641 from henyxia/dev/henyxia/add-mgr-dashboard-prom-ssl-verify

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
4 years agoMerge pull request #37983 from tchaikov/wip-crimson-os-co-locate-alien-allocator
Kefu Chai [Mon, 9 Nov 2020 13:34:20 +0000 (21:34 +0800)]
Merge pull request #37983 from tchaikov/wip-crimson-os-co-locate-alien-allocator

crimson/os: do not configure seastar allocator for alien threads

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge PR #32777 into master
Jan Fajerski [Mon, 9 Nov 2020 13:10:36 +0000 (14:10 +0100)]
Merge PR #32777 into master

* refs/pull/32777/head:
common,log,msg: Fix win32 compiler warnings
win32,common: provide a default ceph.conf location
common: add newline before parsing config on Windows
common: verify unix sockets support on Windows
common: fix md_config_t::get_cluster_name
global, common: Print config parse errors
common: accept config files containing whitespaces
librbd: avoid broken mingw rng
common: define DEV_NULL
tools,common,msg: Use O_BINARY for win32 compatibility
log: fix timestamps on Windows
common,librbd: add portable ceph_memzero_s
common,msg: Fix socket handling
common: Extend win32 compatbility layer

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37984 from tchaikov/wip-fio
Kefu Chai [Mon, 9 Nov 2020 13:08:13 +0000 (21:08 +0800)]
Merge pull request #37984 from tchaikov/wip-fio

cmake: drop WITH_SYSTEM_FIO option

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
4 years agoMerge pull request #37965 from rhcs-dashboard/about-modal-cleanup
Lenz Grimmer [Mon, 9 Nov 2020 12:37:55 +0000 (13:37 +0100)]
Merge pull request #37965 from rhcs-dashboard/about-modal-cleanup

mgr/dashboard: Moving copyright variable into the app.constants

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
4 years agoMerge pull request #37958 from ronen-fr/wip-ronenf-librbd-move1
Jason Dillaman [Mon, 9 Nov 2020 12:14:43 +0000 (07:14 -0500)]
Merge pull request #37958 from ronen-fr/wip-ronenf-librbd-move1

librbd: removing a "pessimizing move"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agoMerge pull request #37990 from tchaikov/wip-liburing-fPIC
Kefu Chai [Mon, 9 Nov 2020 12:10:05 +0000 (20:10 +0800)]
Merge pull request #37990 from tchaikov/wip-liburing-fPIC

cmake: build liburing with -fPIC

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #37915 from gregsfortytwo/wip-stretch-fixes
Gregory Farnum [Mon, 9 Nov 2020 11:52:07 +0000 (03:52 -0800)]
Merge pull request #37915 from gregsfortytwo/wip-stretch-fixes

Fix several stretch mode issues

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>