Commit Graph

120126 Commits

Author SHA1 Message Date
Daniel Gryniewicz
8efaf76235 RGW Zipper - get_ctl() no longer needed
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
200f71a90c RGW Zipper - user.empty()
Add an empty() method for user, and use it in admin code.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
ca61489782 RGW Zipper - Wrap zoneutils
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
497c9dbdd6 RGW Zipper - Add zone abstraction
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
f8aa45ffb7 RGW Zipper - random cleanups
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
26670586c0 RGW Zipper - Meta list API
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
69dc092bfe RGW Zipper - zipify RGWUserAdminOpState
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
715a026d12 RGW Zipper - Clean up get_user* APIs.
The main get_user() function doesn't query the cluster, but the rest of
them do.  Rename the functions to match, and add comments to clarify.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
b67d5bca22 Zipper - zipperify the Auth code
This also removes the only user of s->sysobj_ctx, so that can be removed
as well.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
a3f1d9dae1 Zipper - remove duplicate get_user()
Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
Daniel Gryniewicz
72d1a36326 RGW - Zipper 10: Pull The Thread
This commit changes the RGWStoreManager to return a RGWStore* rather
than a RGWRadosStore*.  This is the thread that unravels the rest of the
Zipper work, removing hard-coded uses of the RGWRados* classes.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2021-03-02 07:35:05 -05:00
zdover23
c52da5d41a
Merge pull request #39714 from zdover23/wip-doc-cephadm-typo-togeter-2021-Feb-26
doc/cephadm: s/togeter/together/

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-26 23:49:33 +10:00
Sebastian Wagner
4783a69b96
Merge pull request #39644 from liewegas/cephadm-service-id
cephadm: include service_name in unit.meta file

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 14:21:43 +01:00
Zac Dover
8c191fb5f7 doc/cephadm: s/togeter/together
Exactly as it says in the title; this is a typo
I noticed while reading over the cephadm guide.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-02-26 22:10:51 +10:00
Kefu Chai
60a5dfbec8
Merge pull request #39713 from tchaikov/wip-mgr-rbd-support-type
mgr/rbd_support: fix type annotation of mirror_info

Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-02-26 19:48:20 +08:00
Sebastian Wagner
bd44dcce7c
Merge pull request #39551 from sebastian-philipp/doc-cephadm-reduce-orch-cli
doc/cephadm: Restructure orchestrator docs

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-02-26 12:39:04 +01:00
Sebastian Wagner
f4f3fee6fd doc/cephadm: remove Orchestrator CLI from cephadm toc
not much useful information there anymore.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
a4aef4a49d doc/cephadm: move host labels to host mgmt
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
1033c46ad7 doc/cephadm: group MDS sections into one chapter
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
46a203a5c6 doc/cephadm: Add iscsi
Fixes https://tracker.ceph.com/issues/49488

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
8d07e35b2f doc/cephadm: group NFS sections into one chapter
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
769642c77d doc/cephadm: rename monitoring chapter title
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
b3846f6f6a doc/cephadm: group MON sections into one chapter
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
0fb2ccb49b doc/cephadm: make custom containers its own chapter
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
818ed4f202 doc/cephadm: group RGW mgmt sections into one chapter
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
4f3305f3bb doc/cephadm: move scheduler topic to service mgmt
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
31470cfd5c doc/cephadm: move unmanaged=true to service-mgmt.rst
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
11fe5ef7cf doc/cephadm: group general service mgmt sections into one chapter
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
74bcd7c5f6 doc/cephadm: group OSD mgmt sections into one chapter
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
a3036d974c doc/cephadm: Move FQDN chapter to host mgmt.rst
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
1dbac10c71 doc/cephadm: Move SSH config from operations to host-mgmt.rst
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
Sebastian Wagner
88e8e91f72 doc/cephadm: group host mgmt sections into one chapter
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2021-02-26 11:51:29 +01:00
zdover23
512203d2bf
Merge pull request #39692 from zdover23/wip-doc-dev-t8y-debugging-analyzing-rewrite-2021-Feb-25
doc/dev: t8y - rewrite "a. & d. a t8y job"

Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-02-26 20:42:50 +10:00
Zac Dover
34254d5222 doc/dev: t8y - rewrite "a. & d. a t8y job"
This PR rewrites the "Analyzing and Debugging a
Teuthology Job" section of the "Debugging Tips"
page of the Teuthology User Guide in the Developer
Guide.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2021-02-26 20:32:49 +10:00
Sebastian Wagner
f2c6db822f
Merge pull request #39614 from sebastian-philipp/cephadm-again-test-ubuntu_2004_podman
qa/cephadm: Test again podman on ubuntu 20.04

Reviewed-by: Sage Weil <sage@redhat.com>
2021-02-26 11:02:24 +01:00
Kefu Chai
12a8d274b2 mgr/rbd_support: fix type annotation of mirror_info
Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-02-26 17:33:44 +08:00
Kefu Chai
c27e0253d6
Merge pull request #38604 from cybozu/doc-fix-the-meaning-of-min_size
doc: fix the meaning of default_min_size of pools

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-26 17:25:45 +08:00
Kefu Chai
7d737aa665
Merge pull request #39684 from xxhdx1985126/wip-alienstore-parallelism-improvement
crimson/os/alienstore: improve alienstore's write parallelism

Reviewed-by: Kefu Chai <kchai@redhat.com>
2021-02-26 14:06:44 +08:00
Kefu Chai
809957ab92
Merge pull request #39602 from tchaikov/wip-mgr-flux-ann
mgr: add type annotations to BaseMgrModule and influx

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-02-26 11:37:28 +08:00
Kefu Chai
ae5f38a924
Merge pull request #39371 from tchaikov/wip-mgr-rbd-support-ann
mgr/rbd_support: add type annotation and cleanups

Reviewed-by: Mykola Golub <mgolub@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2021-02-26 11:36:15 +08:00
Xuehan Xu
14d046fd66 crimson/os/alienstore: improve alienstore's write parallelism
replace the grand per store tp_mutex with a finer grained per-collection
lock for better concurrency

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
2021-02-26 11:32:55 +08:00
Neha Ojha
731c20fe49
Merge pull request #39666 from zdover23/wip-doc-dev-t8y-rerunning-tests-rewrite-2021-Feb-24
doc/dev: rewrite t8y "re-running tests"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-02-25 17:14:59 -08:00
Neha Ojha
85fcd117e9
Merge pull request #39694 from zdover23/wip-doc-dev-t8y-debugging-triaging-rewrite-2021-Feb-25
doc/dev: rewrite t8y "triaging" section

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-02-25 17:09:56 -08:00
Neha Ojha
deb7d811e0
Merge pull request #39695 from zdover23/wip-doc-dev-t8y-debugging-adding-sections-2021-Feb-26
doc/dev: add t8y debug section names

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-02-25 17:08:30 -08:00
Neha Ojha
e2d53858ef
Merge pull request #39697 from zdover23/wip-doc-dev-t8y-debug-reporting-the-issue-rewrite-2021-Feb-26
doc/dev: rewrite t8y "reporting the issue"

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-02-25 17:07:49 -08:00
Jason Dillaman
9e88f36e5c
Merge pull request #39707 from petrutlucian94/overlapped
rbd: fix mingw 5.0.3 compatibility issue

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2021-02-25 19:08:31 -05:00
Lucian Petrut
7eae54cb4c rbd: fix mingw 5.0.3 compatibility issue
GetOverlappedResultEx isn't avaialable when using mingw 5.0.3
(default on Ubuntu Bionic).

Since we don't really need the extra parameters, we'll switch
to GetOverlappedResult.

We're doing this mostly for testing purposes as the mingw 5.0.3
runtime is known to be broken.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2021-02-25 20:47:23 +00:00
Sage Weil
42d11d46b5 cephadm: provide meta during bootstrap
This is slightly gross, but we need ctx.meta_json for the bootstrap case,
which deploys a mon and mgr.

Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-25 14:44:26 -05:00
Sage Weil
852ca83933 mgr/cephadm: put service_name in unit.meta and use it when available
Inferring service_name from the daemon name is error-prone.

Fixes: https://tracker.ceph.com/issues/46219
Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-25 14:44:26 -05:00
Sage Weil
f58485efb6 cephadm: accept arbitrary dict via --meta-json
e.g., --meta-json '{"foo": "bar"}'

Signed-off-by: Sage Weil <sage@newdream.net>
2021-02-25 14:44:26 -05:00