]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agorgw: move code around
Yehuda Sadeh [Tue, 22 Oct 2019 22:32:11 +0000 (15:32 -0700)]
rgw: move code around

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: sync policy: cleanups and fixes
Yehuda Sadeh [Tue, 22 Oct 2019 22:18:14 +0000 (15:18 -0700)]
rgw: sync policy: cleanups and fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: rgw_bucket operator fixes
Yehuda Sadeh [Tue, 22 Oct 2019 22:17:50 +0000 (15:17 -0700)]
rgw: rgw_bucket operator fixes

Fix smaller-than operator, ostream operator.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: flow manager generates explicit pipes
Yehuda Sadeh [Tue, 22 Oct 2019 20:11:22 +0000 (13:11 -0700)]
rgw: flow manager generates explicit pipes

Have multiple pipes instead of having a single pipe that can describe
 multiple different zones have multiple pipes, each point at a single
zone (or all zones).

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: use single entity in expanded sync determination
Yehuda Sadeh [Mon, 21 Oct 2019 20:14:05 +0000 (13:14 -0700)]
rgw: use single entity in expanded sync determination

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: rename some datastructures to signify plurality
Yehuda Sadeh [Mon, 21 Oct 2019 18:27:31 +0000 (11:27 -0700)]
rgw: rename some datastructures to signify plurality

pipe -> pipes, entity -> entities

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: bucket flow manager initialization changes
Yehuda Sadeh [Sat, 19 Oct 2019 01:49:28 +0000 (18:49 -0700)]
rgw: bucket flow manager initialization changes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: add 'sync info' command
Yehuda Sadeh [Mon, 2 Dec 2019 23:13:28 +0000 (15:13 -0800)]
rgw-admin: add 'sync info' command

Also move code into header so that flow manager could be used in radosgw-admin

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: manage sync policy at the bucket level
Yehuda Sadeh [Fri, 18 Oct 2019 17:50:35 +0000 (10:50 -0700)]
rgw-admin: manage sync policy at the bucket level

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: move code around
Yehuda Sadeh [Fri, 18 Oct 2019 00:00:07 +0000 (17:00 -0700)]
rgw: move code around

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw_admin: code cleanup
Yehuda Sadeh [Thu, 17 Oct 2019 23:24:29 +0000 (16:24 -0700)]
rgw_admin: code cleanup

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: sync group pipe create and remove
Yehuda Sadeh [Thu, 17 Oct 2019 23:15:20 +0000 (16:15 -0700)]
rgw-admin: sync group pipe create and remove

also rename sync group flow add to sync group flow create.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: sync group get command
Yehuda Sadeh [Thu, 17 Oct 2019 19:55:22 +0000 (12:55 -0700)]
rgw-admin: sync group get command

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: sync group flow remove command
Yehuda Sadeh [Thu, 17 Oct 2019 19:12:38 +0000 (12:12 -0700)]
rgw-admin: sync group flow remove command

and also some code cleanup.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: sync group flow add command
Yehuda Sadeh [Thu, 17 Oct 2019 01:41:41 +0000 (18:41 -0700)]
rgw-admin: sync group flow add command

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: bucket sync, change "target" to "dest"
Yehuda Sadeh [Wed, 16 Oct 2019 23:53:11 +0000 (16:53 -0700)]
rgw: bucket sync, change "target" to "dest"

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: json dump sync groups map as vector
Yehuda Sadeh [Wed, 16 Oct 2019 23:52:09 +0000 (16:52 -0700)]
rgw: json dump sync groups map as vector

looks nicer

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: sync group create/remove commands
Yehuda Sadeh [Wed, 16 Oct 2019 23:51:15 +0000 (16:51 -0700)]
rgw-admin: sync group create/remove commands

Still incomplete

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: sync policy logic
Yehuda Sadeh [Wed, 16 Oct 2019 00:16:14 +0000 (17:16 -0700)]
rgw: sync policy logic

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: redo policy definitions
Yehuda Sadeh [Wed, 9 Oct 2019 23:13:03 +0000 (16:13 -0700)]
rgw: redo policy definitions

Still incomplete

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: compilation fixes
Yehuda Sadeh [Wed, 9 Oct 2019 21:17:40 +0000 (14:17 -0700)]
rgw: compilation fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: sync policy related commands
Yehuda Sadeh [Thu, 5 Sep 2019 09:26:33 +0000 (02:26 -0700)]
rgw-admin: sync policy related commands

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: add sync policy to zonegroup
Yehuda Sadeh [Wed, 4 Sep 2019 09:22:51 +0000 (02:22 -0700)]
rgw: add sync policy to zonegroup

and move code around

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: bucket sync info command
Yehuda Sadeh [Sun, 1 Sep 2019 13:37:43 +0000 (06:37 -0700)]
rgw-admin: bucket sync info command

Dumps bucket sources

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: pass through bucket sync pairs
Yehuda Sadeh [Sun, 1 Sep 2019 11:25:12 +0000 (04:25 -0700)]
rgw: pass through bucket sync pairs

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: define bucket sync pipes
Yehuda Sadeh [Sat, 24 Aug 2019 00:15:43 +0000 (17:15 -0700)]
rgw: define bucket sync pipes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: bucket sync: read local bucket sources
Yehuda Sadeh [Thu, 22 Aug 2019 00:24:17 +0000 (17:24 -0700)]
rgw: bucket sync: read local bucket sources

And also add functionality to get bucket sync policy handler (in cr).
Next we'll need to compare local bucket sources with what policy
handler defines, and act if it's different.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: defined bucket sync sources manager
Yehuda Sadeh [Mon, 19 Aug 2019 22:43:33 +0000 (15:43 -0700)]
rgw: defined bucket sync sources manager

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: data sync: split RGWDataSyncEnv
Yehuda Sadeh [Wed, 21 Aug 2019 00:02:16 +0000 (17:02 -0700)]
rgw: data sync: split RGWDataSyncEnv

Keep only the environment related fields in there, and have the
sync info related stuff in the containing RGWDataSyncCtx.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: reduce use of sync_env->store
Yehuda Sadeh [Tue, 20 Aug 2019 21:02:12 +0000 (14:02 -0700)]
rgw: reduce use of sync_env->store

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: data sync: rename current bucket sync crs
Yehuda Sadeh [Mon, 19 Aug 2019 22:21:58 +0000 (15:21 -0700)]
rgw: data sync: rename current bucket sync crs

Add the 'pipe' term as bucket can be synced on multiple pipes.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: ctl.bucket: add bucket sync related methods
Yehuda Sadeh [Sat, 17 Aug 2019 00:23:55 +0000 (17:23 -0700)]
rgw: ctl.bucket: add bucket sync related methods

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: svc.bucket_sync: add new svc for dealing with bucket sync policy
Yehuda Sadeh [Fri, 16 Aug 2019 22:34:45 +0000 (15:34 -0700)]
rgw: svc.bucket_sync: add new svc for dealing with bucket sync policy

svc.bucket_sync_sobj keeps a cache of bucket sync policies (per bucket
instance), and chains to the metadata cache.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: rework sync policy
Yehuda Sadeh [Fri, 16 Aug 2019 18:59:44 +0000 (11:59 -0700)]
rgw: rework sync policy

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: define sync policy structures
Yehuda Sadeh [Mon, 12 Aug 2019 22:58:28 +0000 (15:58 -0700)]
rgw: define sync policy structures

Defines sync policy for both zones and buckets.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: remove unused variable
Yehuda Sadeh [Thu, 21 Feb 2019 22:58:42 +0000 (14:58 -0800)]
rgw: remove unused variable

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: sync: separate source and dest bucket
Yehuda Sadeh [Tue, 19 Feb 2019 02:29:19 +0000 (18:29 -0800)]
rgw: sync: separate source and dest bucket

This is still incomplete. The idea is that source bucket and destination
bucket do not need to reflect the same entity.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: bucket sync: integrate bucket sync decisions
Yehuda Sadeh [Sat, 16 Feb 2019 00:06:51 +0000 (16:06 -0800)]
rgw: bucket sync: integrate bucket sync decisions

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: store data log entry if bucket sync policy not empty
Yehuda Sadeh [Fri, 15 Feb 2019 23:23:32 +0000 (15:23 -0800)]
rgw: store data log entry if bucket sync policy not empty

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: bucket-granularity sync: define policy structure
Yehuda Sadeh [Fri, 15 Feb 2019 22:06:57 +0000 (14:06 -0800)]
rgw: bucket-granularity sync: define policy structure

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw: test-multi: craft admin command line options differently
Yehuda Sadeh [Mon, 2 Dec 2019 22:55:25 +0000 (14:55 -0800)]
rgw: test-multi: craft admin command line options differently

The problem was specifically with the "--rgw-cache-enabled false" param. This
doesn't work like that anymore, need to either pass --rgw-cache-enabled=false,
or --no-rgw-cache-enabled.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: dump command if not found
Yehuda Sadeh [Mon, 2 Dec 2019 22:51:45 +0000 (14:51 -0800)]
rgw-admin: dump command if not found

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: split remove and delete aliases
Yehuda Sadeh [Mon, 2 Dec 2019 22:51:18 +0000 (14:51 -0800)]
rgw-admin: split remove and delete aliases

Since "zonegroup remove" and "zonegroup delete" are different commands,
don't have them share the same aliases.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: add "zonegroup remove zone" command
Yehuda Sadeh [Mon, 2 Dec 2019 22:50:29 +0000 (14:50 -0800)]
rgw-admin: add "zonegroup remove zone" command

Does the same as "zonegroup remove", but should be used instead of it
as we also have a different "zonegroup delete" command.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: cmdline, dump expected commands on error
Yehuda Sadeh [Fri, 11 Oct 2019 22:27:16 +0000 (15:27 -0700)]
rgw-admin: cmdline, dump expected commands on error

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: adjust commands
Yehuda Sadeh [Fri, 11 Oct 2019 21:40:18 +0000 (14:40 -0700)]
rgw-admin: adjust commands

Add missing definitions needed for backward compatibility.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: use strongly typed enum for cmdline options
Yehuda Sadeh [Fri, 11 Oct 2019 21:30:24 +0000 (14:30 -0700)]
rgw-admin: use strongly typed enum for cmdline options

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: cmdline, use generic std::any to hold value
Yehuda Sadeh [Fri, 11 Oct 2019 20:19:32 +0000 (13:19 -0700)]
rgw-admin: cmdline, use generic std::any to hold value

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: put cmd parser in its own class
Yehuda Sadeh [Fri, 11 Oct 2019 19:23:13 +0000 (12:23 -0700)]
rgw-admin: put cmd parser in its own class

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: command line aliases
Yehuda Sadeh [Fri, 11 Oct 2019 03:57:42 +0000 (20:57 -0700)]
rgw-admin: command line aliases

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: remove old manual command parsing code
Yehuda Sadeh [Thu, 10 Oct 2019 17:50:03 +0000 (10:50 -0700)]
rgw-admin: remove old manual command parsing code

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agorgw-admin: new command parsing
Yehuda Sadeh [Thu, 10 Oct 2019 17:48:18 +0000 (10:48 -0700)]
rgw-admin: new command parsing

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
5 years agoMerge pull request #32929 from jan--f/wip-43844-master
Jan Fajerski [Tue, 28 Jan 2020 15:26:14 +0000 (16:26 +0100)]
Merge pull request #32929 from jan--f/wip-43844-master

ceph-volume: batch bluestore fix create_lvs call

5 years agoMerge pull request #32836 from s0nea/wip-dashboard-boolean-settings
Laura Paduano [Tue, 28 Jan 2020 11:13:37 +0000 (12:13 +0100)]
Merge pull request #32836 from s0nea/wip-dashboard-boolean-settings

mgr/dashboard: show checkboxes for booleans

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
5 years agomgr/dashboard: extend doc by Grafana setting (#32460)
Lenz Grimmer [Tue, 28 Jan 2020 10:06:24 +0000 (10:06 +0000)]
mgr/dashboard: extend doc by Grafana setting (#32460)

mgr/dashboard: extend doc by Grafana setting

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
5 years agomgr/dashboard: disable 'Add Capability' button in rgw user edi… (#32610)
Lenz Grimmer [Tue, 28 Jan 2020 08:49:10 +0000 (08:49 +0000)]
mgr/dashboard: disable 'Add Capability' button in rgw user edi… (#32610)

mgr/dashboard: disable 'Add Capability' button in rgw user edit form.

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
5 years agoceph-volume: batch bluestore fix create_lvs call 32929/head
Jan Fajerski [Tue, 28 Jan 2020 08:25:39 +0000 (09:25 +0100)]
ceph-volume: batch bluestore fix create_lvs call

Fixes: https://tracker.ceph.com/issues/43844
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge PR #32925 into master
Sage Weil [Mon, 27 Jan 2020 23:38:55 +0000 (17:38 -0600)]
Merge PR #32925 into master

* refs/pull/32925/head:
os/bluestore: fix duplicate onode instance while doing omap repair.
test/store_test: introduce test case for per-pool omap repair.

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32850 into master
Sage Weil [Mon, 27 Jan 2020 22:49:12 +0000 (16:49 -0600)]
Merge PR #32850 into master

* refs/pull/32850/head:
osdc/Objecter: debug pause/unpause transition

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32752 into master
Sage Weil [Mon, 27 Jan 2020 21:20:32 +0000 (15:20 -0600)]
Merge PR #32752 into master

* refs/pull/32752/head:
cephadm: remove `logs` command

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge PR #32920 into master
Sage Weil [Mon, 27 Jan 2020 19:28:59 +0000 (13:28 -0600)]
Merge PR #32920 into master

* refs/pull/32920/head:
qa/suites/rados/rest: run restful test on el8

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agoos/bluestore: fix duplicate onode instance while doing omap repair. 32925/head
Igor Fedotov [Mon, 27 Jan 2020 18:47:08 +0000 (21:47 +0300)]
os/bluestore: fix duplicate onode instance while doing omap repair.

Fixes: https://tracker.ceph.com/issues/43824
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
5 years agotest/store_test: introduce test case for per-pool omap repair.
Igor Fedotov [Mon, 27 Jan 2020 18:11:51 +0000 (21:11 +0300)]
test/store_test: introduce test case for per-pool omap repair.

This also reproduces
https://tracker.ceph.com/issues/43824

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
5 years agoMerge PR #32812 into master
Sage Weil [Mon, 27 Jan 2020 17:39:53 +0000 (11:39 -0600)]
Merge PR #32812 into master

* refs/pull/32812/head:
mgr/cephadm: get --osd-uuid deploy arg from osdmap
mgr/cephadm: fetch keyring in _create_daemon()

Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32885 into master
Sage Weil [Mon, 27 Jan 2020 17:36:37 +0000 (11:36 -0600)]
Merge PR #32885 into master

* refs/pull/32885/head:
qa/suites/rados/thrash: debug monc

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge PR #32886 into master
Sage Weil [Mon, 27 Jan 2020 17:31:36 +0000 (11:31 -0600)]
Merge PR #32886 into master

* refs/pull/32886/head:
cephadm: no --no-systemd arg to ceph-volume deactivate

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
5 years agoMerge PR #32851 into master
Sage Weil [Mon, 27 Jan 2020 17:05:29 +0000 (11:05 -0600)]
Merge PR #32851 into master

* refs/pull/32851/head:
qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_2
qa/standalone/osd/osd-backfill-recovery-log.sh: fix TEST_backfill_log_1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
5 years agoqa/suites/rados/rest: run restful test on el8 32920/head
Sage Weil [Mon, 27 Jan 2020 17:02:07 +0000 (11:02 -0600)]
qa/suites/rados/rest: run restful test on el8

For some reason the requests library has trouble connecting from
ubuntu 18.04.  I reproduced this locally on my 18.04 desktop, although
there it fails on the first API request instead of the last (as in QA).

In any case, this appears to be a client library problem.

Fixes: https://tracker.ceph.com/issues/43720
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32898 into master
Sage Weil [Mon, 27 Jan 2020 16:37:16 +0000 (10:37 -0600)]
Merge PR #32898 into master

* refs/pull/32898/head:
qa/suites/rados/singleton/all/recovery-preemption: fix pg log length

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #32617 from taodd/bug-43563
Casey Bodley [Mon, 27 Jan 2020 15:49:33 +0000 (10:49 -0500)]
Merge pull request #32617 from taodd/bug-43563

rgw: update the hash source for multipart entries during resharding

Reviewed-by: Eric J. Ivancich <ivancich@redhat.com>
5 years agoMerge pull request #32487 from ofriedma/wip-ofriedma-copy-part-hdr
Casey Bodley [Mon, 27 Jan 2020 15:48:40 +0000 (10:48 -0500)]
Merge pull request #32487 from ofriedma/wip-ofriedma-copy-part-hdr

rgw: Fix upload part copy range able to get almost any string

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
5 years agoMerge pull request #31887 from ofriedma/wip-ofriedma-lc-hdr-mid
Casey Bodley [Mon, 27 Jan 2020 15:48:11 +0000 (10:48 -0500)]
Merge pull request #31887 from ofriedma/wip-ofriedma-lc-hdr-mid

rgw: LC expiration header should present midnight expiration date

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoMerge pull request #30778 from joke-lee/rgw-ipv6
Casey Bodley [Mon, 27 Jan 2020 15:47:38 +0000 (10:47 -0500)]
Merge pull request #30778 from joke-lee/rgw-ipv6

rgw: fix SignatureDoesNotMatch when use ipv6 address in s3 client

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
5 years agoMerge pull request #31977 from ofriedma/wip-ofriedma-dynamic-disable
Casey Bodley [Mon, 27 Jan 2020 15:46:15 +0000 (10:46 -0500)]
Merge pull request #31977 from ofriedma/wip-ofriedma-dynamic-disable

rgw: Fix dynamic resharding not working for empty zonegroup in period

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
5 years agoMerge pull request #31185 from joke-lee/rgw-user-modify-placement
Casey Bodley [Mon, 27 Jan 2020 15:44:17 +0000 (10:44 -0500)]
Merge pull request #31185 from joke-lee/rgw-user-modify-placement

rgw: support specify user default placement and placement_tags when create or modify user

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #32235 from jan--f/c-v-prepare-size-args
Jan Fajerski [Mon, 27 Jan 2020 15:03:07 +0000 (16:03 +0100)]
Merge pull request #32235 from jan--f/c-v-prepare-size-args

ceph-volume: add sizing arguments to prepare

5 years agomgr/dashboard: unify indentation in dashboard.rst 32460/head
Patrick Seidensal [Thu, 2 Jan 2020 14:04:14 +0000 (15:04 +0100)]
mgr/dashboard: unify indentation in dashboard.rst

Signed-off-by: Patrick Seidensal <pseidensal@suse.com>
5 years agocephadm: remove `logs` command 32752/head
Michael Fritch [Mon, 27 Jan 2020 14:21:53 +0000 (07:21 -0700)]
cephadm: remove `logs` command

Fixes: https://tracker.ceph.com/issues/43618
Signed-off-by: Michael Fritch <mfritch@suse.com>
5 years agoqa/suites/rados/singleton/all/recovery-preemption: fix pg log length 32898/head
Sage Weil [Mon, 27 Jan 2020 13:40:12 +0000 (07:40 -0600)]
qa/suites/rados/singleton/all/recovery-preemption: fix pg log length

This was broken by the variable PG log lengths in
9c69c2f7cc585b5e13e4d1b0432016d38135a3de.

Disable the new option to get (roughly) the old behavior, or at least the
short logs that we want to trigger some backfill.

Fixes: https://tracker.ceph.com/issues/43810
Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoMerge PR #32853 into master
Sage Weil [Mon, 27 Jan 2020 13:14:37 +0000 (07:14 -0600)]
Merge PR #32853 into master

* refs/pull/32853/head:
qa/suites/fs/upgrade: finish at octopus
qa/suites/fs/upgrade: set min-compat-client to octopus
qa/suites/fs/upgrade: set pg_autoscale_mode=off after upgrade

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agoMerge PR #32883 into master
Sage Weil [Mon, 27 Jan 2020 13:08:40 +0000 (07:08 -0600)]
Merge PR #32883 into master

* refs/pull/32883/head:
qa/workunits/rados/test_crash.sh: do not fail if coredump not found
rgw: set bucket quota only when necessary

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agomgr/dashboard: show checkboxes for booleans 32836/head
Tatjana Dehler [Fri, 24 Jan 2020 16:02:22 +0000 (17:02 +0100)]
mgr/dashboard: show checkboxes for booleans

The frontend showed textboxes for the dashboard settings because
the actual type information was missing here. The REST API then
returned the default type 'str'.

Edit the e2e test case in order to update a different setting as
the 'editMgrModule' method can't handle checkboxes.

Fixes: https://tracker.ceph.com/issues/43769
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
5 years agomonitoring: add details to Prometheus' alerts (#32803)
Lenz Grimmer [Mon, 27 Jan 2020 08:23:29 +0000 (08:23 +0000)]
monitoring: add details to Prometheus' alerts (#32803)

monitoring: add details to Prometheus' alerts

Reviewed-by: Andreas Jaeger <aj@suse.com>
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
5 years agoMerge pull request #32434 from trociny/wip-41559
Jason Dillaman [Sun, 26 Jan 2020 18:31:39 +0000 (13:31 -0500)]
Merge pull request #32434 from trociny/wip-41559

mgr/rbd_support: implement mirror snapshot scheduler

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agolibrbd: optimize mirror_image_info_list (don't open image context) 32434/head
Mykola Golub [Thu, 9 Jan 2020 11:07:22 +0000 (11:07 +0000)]
librbd: optimize mirror_image_info_list (don't open image context)

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: make mirror get info request not require image context
Mykola Golub [Thu, 9 Jan 2020 11:01:46 +0000 (11:01 +0000)]
librbd: make mirror get info request not require image context

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoqa/workunits/rados/test_crash.sh: do not fail if coredump not found 32883/head
Kefu Chai [Sun, 26 Jan 2020 14:20:42 +0000 (22:20 +0800)]
qa/workunits/rados/test_crash.sh: do not fail if coredump not found

Fixes: https://tracker.ceph.com/issues/43653
Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agocephadm: no --no-systemd arg to ceph-volume deactivate 32886/head
Sage Weil [Sun, 26 Jan 2020 17:17:01 +0000 (11:17 -0600)]
cephadm: no --no-systemd arg to ceph-volume deactivate

ceph-volume lvm deactivate: error: unrecognized arguments: --no-systemd

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agoqa/suites/rados/thrash: debug monc 32885/head
Sage Weil [Sun, 26 Jan 2020 17:13:20 +0000 (11:13 -0600)]
qa/suites/rados/thrash: debug monc

Hunting https://tracker.ceph.com/issues/43825

Signed-off-by: Sage Weil <sage@redhat.com>
5 years agorgw: set bucket quota only when necessary 32884/head
Kefu Chai [Sun, 26 Jan 2020 16:19:01 +0000 (00:19 +0800)]
rgw: set bucket quota only when necessary

this change fixes the regression introduced by 9a7f76a7

Signed-off-by: Kefu Chai <kchai@redhat.com>
5 years agomgr/rbd_support: optimize scanning images in mirror snapshot mode
Mykola Golub [Fri, 27 Dec 2019 10:37:42 +0000 (10:37 +0000)]
mgr/rbd_support: optimize scanning images in mirror snapshot mode

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agolibrbd: add API to list mirror image info
Mykola Golub [Fri, 27 Dec 2019 08:54:31 +0000 (08:54 +0000)]
librbd: add API to list mirror image info

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agomgr/rbd_support: implement mirror snapshot scheduler
Mykola Golub [Sat, 14 Dec 2019 19:56:07 +0000 (19:56 +0000)]
mgr/rbd_support: implement mirror snapshot scheduler

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agopybind/mgr/rbd_support: split module.py into several files
Mykola Golub [Fri, 22 Nov 2019 17:56:38 +0000 (17:56 +0000)]
pybind/mgr/rbd_support: split module.py into several files

(it is becoming too large)

Signed-off-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #32734 from trociny/wip-43589
Jason Dillaman [Sun, 26 Jan 2020 16:19:11 +0000 (11:19 -0500)]
Merge pull request #32734 from trociny/wip-43589

librbd: don't call refresh from mirror::GetInfoRequest state machine

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32766 from rzarzynski/wip-common-ceph_atomic
Kefu Chai [Sun, 26 Jan 2020 16:01:57 +0000 (00:01 +0800)]
Merge pull request #32766 from rzarzynski/wip-common-ceph_atomic

crimson, common: introduce ceph::atomic and apply it on bufferlist.

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #32760 from trociny/wip-43666
Jason Dillaman [Sun, 26 Jan 2020 15:15:26 +0000 (10:15 -0500)]
Merge pull request #32760 from trociny/wip-43666

librbd: fix potential snapshot remove failure due to duplicate RPC messages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agoMerge pull request #32730 from tchaikov/wip-mgr-maybe-unused
Kefu Chai [Sun, 26 Jan 2020 03:56:10 +0000 (11:56 +0800)]
Merge pull request #32730 from tchaikov/wip-mgr-maybe-unused

mgr: better error handling when reading option

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32758 from ifed01/wip-ifed-fix-legacy-omap
Kefu Chai [Sun, 26 Jan 2020 03:55:21 +0000 (11:55 +0800)]
Merge pull request #32758 from ifed01/wip-ifed-fix-legacy-omap

os/bluestore: upgrade legacy omap to per-pool format automatically.

Reviewed-by: Sage Weil <sage@redhat.com>
5 years agoMerge pull request #32764 from liewegas/fix-43552
Kefu Chai [Sun, 26 Jan 2020 03:53:40 +0000 (11:53 +0800)]
Merge pull request #32764 from liewegas/fix-43552

mon/Session: only index osd ids >= 0

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>