Commit Graph

114693 Commits

Author SHA1 Message Date
Nathan Cutler
c1783d3d8f rpm,deb: drop /etc/sudoers.d/cephadm
Current behavior (without this patch) is:

1. cephadm package installs cephadm at /usr/sbin/cephadm
2. cephadm package installs /etc/sudoers.d/cephadm
3. !!! BUT this file refers to a non-existent executable (/usr/bin/cephadm) !!!
4. the PR that introduced this sudoers file (and this discrepancy) was merged in 2019
5. nobody noticed the discrepancy until now

My conclusion: the file /etc/sudoers.d/cephadm is not needed for cephadm to
work.

Fixes: https://tracker.ceph.com/issues/47112
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-09-03 16:31:30 +02:00
Kefu Chai
a8bf3e9b2f
Merge pull request #36919 from tchaikov/wip-crimson-check
crimson/osd: check if req should be server with obc lock

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-09-03 14:55:24 +08:00
Kefu Chai
7f4973ff1d
Merge pull request #36960 from tchaikov/wip-crimson-admin
crimson/admin: use tell_result_t(unique_ptr<Formatter>)

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-09-03 14:48:46 +08:00
Kefu Chai
4e4c926faf
Merge pull request #36959 from ypdai/patch-3
doc: Update multisite-sync-policy.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-09-03 12:41:26 +08:00
Kefu Chai
3772e957d6 crimson/admin: use tell_result_t(unique_ptr<Formatter>)
to address the comment of

> Taking the `Formatter` by pointer was a bit confusing in the matter of
> lifetime control.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-03 12:15:26 +08:00
Kefu Chai
968df0cae6
Merge pull request #36775 from tchaikov/wip-spdk
spdk: pick up spdk v20.07

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-03 11:03:02 +08:00
ypdai
0bfca9fc8e
doc: Update multisite-sync-policy.rst
Signed-off-by: ypdai <self19900924@gmail.com>
2020-09-03 10:51:01 +08:00
Yuri Weinstein
4bc66623f1
Merge pull request #36956 from yuriw/wip-yuriw-crontab-master_2
qa/tests: fixed subset for runs on master

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-02 17:37:05 -07:00
Yuri Weinstein
b52cd76b9e qa/tests: fixed subset for runs on master
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2020-09-02 16:44:06 -07:00
Yuri Weinstein
2fd4201de2
Merge pull request #36837 from yuriw/wip-yuriw-crontab-master_2
qa/tests: run 'rados' tests every day

Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-02 16:27:48 -07:00
Yuri Weinstein
836118e912 qa/tests: run 'rados' tests every day
Also changed the "subset" to 100000 to reduce daily runs on master branch

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2020-09-02 09:21:36 -07:00
Vikhyat Umrao
4628a28f35
Merge pull request #36883 from mhackett/wip-mhackett-47190
doc: document tuning of radosgw lifecycle
2020-09-02 08:50:03 -07:00
Patrick Donnelly
374bf2faa7
Merge PR #36939 into master
* refs/pull/36939/head:
	ceph.spec, debian: changes for building cephfs-mirror daemon

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-02 07:35:13 -07:00
Lenz Grimmer
f2561e812e
Merge pull request #36940 from rhcs-dashboard/notification_cleanup
mgr/dashboard: Improving notification sidebar card spacing

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-09-02 16:16:01 +02:00
Jan Fajerski
b8aab178e5
Merge pull request #36594 from matthewoliver/ipv6_prometheus_module
prometheus: Properly split the port off IPv6 addresses
2020-09-02 15:52:45 +02:00
Casey Bodley
71e6f5361c
Merge pull request #34293 from yuvalif/notifications_persistent_delivery2
rgw/notifications: add persistent delivery to notifications

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-09-02 09:35:57 -04:00
Jan Fajerski
1db3e40e62
Merge pull request #36847 from X0Ken/fix-journal-size
ceph-volume: fix journal size argument not work
2020-09-02 15:33:30 +02:00
Radoslaw Zarzynski
4f4ad93e6b
Merge pull request #36545 from AmnonHanuhov/wip-seastar_metrics
crimson/admin: Add a hook for Seastar metrics

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-09-02 14:49:11 +02:00
Daniel Gryniewicz
46b4e9bc06
Merge pull request #36743 from cbodley/wip-rgw-sal-bucket-ctime
rgw: RGWBucket uses creation_time from RGWBucketInfo
2020-09-02 08:36:19 -04:00
wanghongxu
a7077dc661 ceph-volume: fix journal size argument not work
Journal size argument not work in batch prepare
filestore with SSD journal device.

Fixes: https://tracker.ceph.com/issues/41374
Signed-off-by: wanghongxu <wanghongxu@t2cloud.net>
2020-09-02 19:09:46 +08:00
Venky Shankar
ad4e611924 ceph.spec, debian: changes for building cephfs-mirror daemon
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-02 06:50:08 -04:00
Lenz Grimmer
4e71a942ce
Merge pull request #35802 from rhcs-dashboard/wip-46160-fix_cephfs_api_inconsistency
mgr/dashboard: Address API inconsistencies in Cephfs endpoint

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-09-02 12:29:59 +02:00
Sebastian Wagner
ef962cdf40
Merge pull request #36873 from sebastian-philipp/cephadm-osd-activate-rm-storage
cephadm: properly remove `osd-activate` container

Reviewed-by: Michael Fritch <mfritch@suse.com>
2020-09-02 09:26:42 +02:00
Amnon Hanuhov
06ab51b92e crimson/osd: Register Seastar metrics hook
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2020-09-02 10:25:27 +03:00
Amnon Hanuhov
b17e184e83 crimson/admin: Add Seastar metrics hook
Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
2020-09-02 10:25:27 +03:00
Lenz Grimmer
12395bdc8c
Merge pull request #36923 from rhcs-dashboard/fix-47232-master
mgr/dashboard/api: print logs when vstart fails

Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-09-02 09:03:15 +02:00
Nizamudeen A
d2cad6823e mgr/dashboard: Improving notification sidebar card spacing
There were some unnecessary spacings in the notification sidebar cards. This commit is a cleanup for taking care of that spaces.

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

Signed-off-by: Nizamudeen A <nia@redhat.com>
2020-09-02 12:28:35 +05:30
Lenz Grimmer
3f3cd6c989
Merge pull request #36222 from ishanrai05/docs
doc: Create new chapter about the Dashboard's landing page

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2020-09-02 08:51:15 +02:00
Lenz Grimmer
9e76d73a13
Merge pull request #34644 from rhcs-dashboard/26954-histogram
mgr/dashboard: Remove Histogram Component

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-09-02 08:28:49 +02:00
Kefu Chai
c16da32cfa
Merge pull request #36869 from tchaikov/wip-mon-no-MMonMetadata
mon/Monitor: do not handle MMonMetadata

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-09-02 10:18:57 +08:00
Patrick Donnelly
c27bf1ced2
Merge PR #35697 into master
* refs/pull/35697/head:
	doc: document cephfs mirroring developement status
	cephfs-mirror: cephfs-mirror daemon
	cephfs-mirror: FSMirror class to synchronize directory snaps
	common: introduce configuration options for cephfs-mirror daemon
	cephfs-mirror: InstanceWatcher class to register mirror instance
	cephfs-mirror: MirrorWatcher class to watch cephfs-mirror object
	cephfs-mirror: Watcher class to receive/ack watch notifications
	cephfs-mirror: ClusterWatcher class for watching peer changes
	librados: add API for fetching client addrs
	common: add cephfs_mirror subsystem
	cephfs-mirror: filesystem specification class

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-09-01 13:24:59 -07:00
Samuel Just
4a73fd2251
Merge pull request #35899 from myoungwon/wip-fix-manifest-tier
osd, test: refactoring manfiest-tier

Reviewed-by: Samuel Just <sjust@redhat.com>
2020-09-01 12:49:57 -07:00
Yuri Weinstein
e4e6e9c738
Merge pull request #36915 from yuriw/wip-yuriw-46529-master
qa/tests: use bionic only for old clients in rados/thrash-old-clients

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-09-01 08:52:47 -07:00
Kefu Chai
1420862140 crimson/osd: check if req should be server with obc lock
there is chance that osdmap is updated after the obc lock is acquired
for a certain object, and before the lock is acquired, the OSD is able
to serve the request. and the updated osdmap changes the OSD from
primary to a stray OSD of the PG in question. so we need to move the
check closer to where we actually handle the op.

Fixes: https://tracker.ceph.com/issues/47212
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-09-01 23:15:55 +08:00
Jan Fajerski
2989bf90e7
Merge pull request #36700 from leseb/retry-on-lock
ceph-volume: retry when acquiring lock fails
2020-09-01 15:12:08 +02:00
Ilya Dryomov
42766b371a
Merge pull request #36889 from idryomov/wip-relax-preauth-asserts
msg/async/ProtocolV2: allow rxbuf/txbuf get bigger in testing

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-09-01 13:39:13 +02:00
Ernesto Puerta
b20547342e
mgr/dashboard/api: print logs when vstart fails
Fixes: https://tracker.ceph.com/issues/47232
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2020-09-01 13:38:33 +02:00
Jan Fajerski
cdd333a29f
Merge pull request #36241 from jan--f/c-v-mpath-support
ceph-volume: support for mpath devices
2020-09-01 13:29:32 +02:00
Venky Shankar
8bf65fab45 doc: document cephfs mirroring developement status
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:11 -04:00
Venky Shankar
fbc5df0c92 cephfs-mirror: cephfs-mirror daemon
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
Venky Shankar
4fef72a09b cephfs-mirror: FSMirror class to synchronize directory snaps
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
Venky Shankar
152d5dfc87 common: introduce configuration options for cephfs-mirror daemon
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
Venky Shankar
c40e5a0478 cephfs-mirror: InstanceWatcher class to register mirror instance
... and watch for notifications via instance object.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
Venky Shankar
997bbe72d1 cephfs-mirror: MirrorWatcher class to watch cephfs-mirror object
... and ack details such as instance-id and address.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
Venky Shankar
344979a521 cephfs-mirror: Watcher class to receive/ack watch notifications
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
Venky Shankar
d85af8f604 cephfs-mirror: ClusterWatcher class for watching peer changes
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
Venky Shankar
18c495f019 librados: add API for fetching client addrs
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
Venky Shankar
d5e789d521 common: add cephfs_mirror subsystem
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
Venky Shankar
26114bffee cephfs-mirror: filesystem specification class
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2020-09-01 06:58:10 -04:00
zdover23
09b21759f9
Merge pull request #36917 from zdover23/wip-doc-rados-init-mems-to-mon-host
doc/rados: s/initial members/mon host

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2020-09-01 19:23:10 +10:00