Commit Graph

108164 Commits

Author SHA1 Message Date
Kefu Chai
f6389baff6 cmake: reduce the indent level
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-24 12:45:35 +08:00
Kefu Chai
a4e9566d23 cmake: use loop for applying new policies
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-24 12:32:54 +08:00
Jason Dillaman
52a4256d24
Merge pull request #31963 from yison/rwl-image-writeback-cache-seq2
rbd/cache: Replicated Write Log core codes part 2

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-22 15:27:35 -05:00
Sage Weil
a5eec51752 Merge PR #33461 into master
* refs/pull/33461/head:
	cephadm: Simplify is_available
	cephadm: Improve type signature of is_available
	cephadm: Fix type errors found by mypy
	cephadm: Enable and start chrony using any packager
	cephadm: Add Packager for Zypper (openSUSE / SLES)
	cephadm: Normalize mypy annotations

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-22 12:57:03 -06:00
Sage Weil
9bcdc110de Merge PR #33486 into master
* refs/pull/33486/head:
	qa/suites/rados/cephadm/smoke: run a few orch commands
	mgr/orch: fix 'host ls'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-22 12:56:26 -06:00
Sage Weil
4324bce802 Merge PR #33475 into master
* refs/pull/33475/head:
	qa/suites/rados/cephadm/upgrade: change start version

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-02-22 12:55:27 -06:00
Sage Weil
5afec0fbfb Merge PR #33091 into master
* refs/pull/33091/head:
	qa/suites/rados: disable device scraping
	qa/standalone/ceph-helpers: disable device monitoring
	qa/tasks/ceph.py: add pre-mgr-commands option for ceph task
	mgr/devicehealth: set default monitoring to 'on'

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-22 12:05:55 -06:00
Sage Weil
6665611d16 Merge PR #33235 into master
* refs/pull/33235/head:
	os/bluestore/BlueFS: fixed printing stats

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-22 12:05:45 -06:00
Sage Weil
40dcc84833 Merge PR #33362 into master
* refs/pull/33362/head:
	common/config :remove duplicaed code.
	common/config: remove useless code.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-22 12:05:31 -06:00
Sage Weil
cf3df743f1 Merge PR #33404 into master
* refs/pull/33404/head:
	selinux: Allow ceph to setsched

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-22 12:05:19 -06:00
Sage Weil
12f7b82544 qa/suites/rados/cephadm/smoke: run a few orch commands
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-22 09:23:12 -06:00
Sage Weil
e8e5c3ff90 mgr/orch: fix 'host ls'
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-22 09:21:12 -06:00
Sage Weil
37e523013b Merge PR #33472 into master
* refs/pull/33472/head:
	cephadm: allow users to provide their dashboard cert during bootstrap

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-22 08:16:17 -06:00
Sage Weil
1a7c4fcb79 qa/suites/rados/cephadm/upgrade: change start version
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-22 08:13:57 -06:00
Sage Weil
a3bea4256d Merge PR #33469 into master
* refs/pull/33469/head:
	mgr/cephadm: fix upgrade ok-to-stop condition check

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-02-22 08:13:06 -06:00
Kefu Chai
db0f3b5a1b
Merge pull request #33473 from liewegas/remove-memstore-test
test/CMakeLists: disable memstore make check test

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-22 12:01:48 +08:00
Xie Xingguo
ddb2d0c00d
Merge pull request #33106 from Yan-waller/wip-walle-fixbackfillundersized
osd/PG: restart peering for undersized PG on any down stray peer coming back

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Samuel Just <sjust@redhat.com>
2020-02-22 11:24:19 +08:00
Josh Durgin
d2b4759d54
Merge pull request #33401 from liewegas/wip-octopus-notes
doc/release/octopus: note about upgrade times

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-02-21 16:26:37 -08:00
Patrick Donnelly
9e708b4f2d
Merge PR #33476 into master
* refs/pull/33476/head:
	mgr/volumes: fix placement default value

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-02-21 15:15:48 -08:00
Sage Weil
c09a80ac33 mgr/volumes: fix placement default value
Fixes: https://tracker.ceph.com/issues/44244
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-21 17:02:59 -06:00
Kristoffer Grönlund
73ecc28619 cephadm: Simplify is_available
There is no need to return a closure to call
from is_available, it can just do the work
directly.

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2020-02-21 23:26:46 +01:00
Kristoffer Grönlund
235b5a72cd cephadm: Improve type signature of is_available
Specify the function signature expected by `is_available`
using the mypy Callable type.

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2020-02-21 23:20:03 +01:00
Kristoffer Grönlund
5f2bc613bd cephadm: Fix type errors found by mypy
Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2020-02-21 23:10:09 +01:00
Ilya Dryomov
efce876d2d
Merge pull request #33412 from idryomov/wip-krbd-fsx-build-deps
qa: rbd_workunit_suites_fsx: install build dependencies

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-21 22:38:49 +01:00
Sage Weil
5843e6d23c test/CMakeLists: disable memstore make check test
This is flaky, with frequent failures like

[ RUN      ] ObjectStore/StoreTest.CompressionTest/0
2020-02-21T19:06:13.940+0000 7f5cdErrors while running CTest
Build step 'Execute shell' marked build as failure

Tracked by https://tracker.ceph.com/issues/44243

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-21 15:03:38 -06:00
Sage Weil
b1bbf73e77 Merge PR #33468 into master
* refs/pull/33468/head:
	debian: fix ceph-mgr-modules-core files

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-02-21 14:58:29 -06:00
Sage Weil
6c47044a7c Merge PR #33457 into master
* refs/pull/33457/head:
	qa/workunits/cephadm: separate out test_adoption.sh; fix

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-02-21 14:41:59 -06:00
Sage Weil
6fce459d7b Merge PR #33464 into master
* refs/pull/33464/head:
	mgr/BaseMgrModule: drop GIL for is_authorized check
	mgr/ActivePyModules: drop GIL to register/unregister clients

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-02-21 14:10:07 -06:00
Daniel-Pivonka
13d903f0a6 cephadm: allow users to provide their dashboard cert during bootstrap
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
2020-02-21 15:07:54 -05:00
Sage Weil
8d04e02690 Merge PR #33466 into master
* refs/pull/33466/head:
	cmake: exclude unittest_alloc_aging from "all"

Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-21 13:11:52 -06:00
Sage Weil
a0879e3c86 mgr/cephadm: fix upgrade ok-to-stop condition check
Broke this in 1072a7e3b5026c1e605dd45967fa555d2e6a0d14

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-21 12:50:10 -06:00
Sage Weil
296c014f17 Merge PR #33415 into master
* refs/pull/33415/head:
	mgr/cephadm: progress for upgrade

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-02-21 12:31:34 -06:00
Sage Weil
ac8215c123 debian: fix ceph-mgr-modules-core files
Remove the files from ceph-mgr that are added to ceph-mgr-modules-core.

2020-02-21T17:59:56.031 INFO:teuthology.orchestra.run.smithi060.stdout:dpkg: error processing archive /tmp/apt-dpkg-install-YpwLHV/044-ceph-mgr_15.1.0-1037-ga6b324b-1bionic_amd64.deb (--unpack):
2020-02-21T17:59:56.031 INFO:teuthology.orchestra.run.smithi060.stdout: trying to overwrite '/usr/share/ceph/mgr/alerts/__init__.py', which is also in package ceph-mgr-modules-core 15.1.0-1037-ga6b324b-1bionic

Broken by 589626464d475b4ad96905fbddf11a5782a040f0

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-21 12:16:34 -06:00
Kefu Chai
82ca335e7b cmake: exclude unittest_alloc_aging from "all"
link it against GTest::Main, which was remove by
96a0439faf551dfae45676072eddd5f37a157289.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-02-22 00:49:00 +08:00
Kristoffer Grönlund
314cdd7e44 cephadm: Enable and start chrony using any packager
Add method to enable services to Packager, and call it
from `command_prepare_host`.

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2020-02-21 17:25:42 +01:00
Sage Weil
c8e67ba886 Merge PR #33432 into master
* refs/pull/33432/head:
	mgr/orchestrator: functools.partial doesn't work for methods

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-21 09:48:43 -06:00
Sebastian Wagner
ada3a3468d
Merge pull request #33258 from sebastian-philipp/orchestrator-get_hosts-HostSpec
mgr/orchestrator: get_hosts return `HostSpec` instead of `InventoryDevice`

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2020-02-21 16:48:08 +01:00
Lenz Grimmer
fcfe1da315
Merge pull request #32552 from Devp00l/wip-42617-new-tree
mgr/dashboard: Reload all CephFS directories

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-02-21 15:46:40 +00:00
Lenz Grimmer
54d32ce144
Merge pull request #32680 from votdev/wip-force-pwd
mgr/dashboard: Enforce password change upon first login

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-02-21 15:45:35 +00:00
Casey Bodley
5e4582c1a2
Merge pull request #33193 from cbodley/wip-44068
rgw: data_sync_source_zones only contains 'exporting' zones

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Yuval Lifshitz <yuvalif@yahoo.com>
2020-02-21 10:45:17 -05:00
Sage Weil
84430e8602 mgr/BaseMgrModule: drop GIL for is_authorized check
This is making a call all the way to the mon!  We need to drop the GIL.

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-21 09:01:14 -06:00
Sage Weil
26f618a40f mgr/ActivePyModules: drop GIL to register/unregister clients
We need to drop the GIL since we are taking ActivePyModules::lock.

Fixes: df507cde8d
Fixes: https://tracker.ceph.com/issues/44241
Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-21 08:58:55 -06:00
J. Eric Ivancich
27aacd5899
Merge pull request #33046 from ivancich/wip-listing-w-namespaces
rgw: fix bug with (un)ordered bucket listing and marker w/ namespace

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Casey Bodley <cbodley@redhat.com>
2020-02-21 09:47:20 -05:00
Kefu Chai
271594d9ef
Merge pull request #33397 from aclamk/fix-disable-alloc-aging
cmake: Removed unittest_alloc_aging from make check

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-21 22:10:56 +08:00
Kefu Chai
aff9557a70
Merge pull request #33256 from tchaikov/wip-cmake-cares
cmake: should expose ${C-ARES_BINARY_DIR} from c-ares

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-02-21 22:04:23 +08:00
Kristoffer Grönlund
5ff9abf77c cephadm: Add Packager for Zypper (openSUSE / SLES)
Adds basic support for using zypper as the packager.

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2020-02-21 14:54:09 +01:00
Kefu Chai
91acb15231
Merge pull request #31981 from petrutlucian94/windows
Windows support [part 1]

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-21 21:41:58 +08:00
Kristoffer Grönlund
2e50b74e93 cephadm: Normalize mypy annotations
Try to use `# type: ...` consistently.

Signed-off-by: Kristoffer Grönlund <kgronlund@suse.com>
2020-02-21 14:40:43 +01:00
Sage Weil
12fe1a1c17 qa/workunits/cephadm: separate out test_adoption.sh; fix
- fix adoption test to handle different legacy fsids
- separate it out into a different script

Signed-off-by: Sage Weil <sage@redhat.com>
2020-02-21 07:17:47 -06:00
Kefu Chai
1467630bf3
Merge pull request #33430 from rosinL/wip-testosdscrub
test/TestOSDScrub: fix mktime() error

 Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-02-21 21:17:09 +08:00