Commit Graph

116307 Commits

Author SHA1 Message Date
Lenz Grimmer
0b9a4e053a
Merge pull request #36764 from ishanrai05/guide
mgr/dashboard: Style guide to give a the UI an overall look and feel

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-10-28 15:47:32 +01:00
Jan Fajerski
f4cd2a1784 Merge PR #37808 into master
* refs/pull/37808/head:
	ceph-volume: consume mount opt in simple activate

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
2020-10-28 09:21:06 +01:00
Kefu Chai
b28174f13f
Merge pull request #37761 from tchaikov/wip-ceph.spec-with-seastar
ceph.spec.in: install gcc-toolset on RHEL only

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-10-28 14:43:49 +08:00
Brad Hubbard
677d939b39
Merge pull request #37826 from badone/wip-make-dist-ng-cli-noprompt
make-dist: Don't prompt while running 'npm ci'

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by:  Tiago Melo <tmelo@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-10-28 07:32:41 +10:00
Dimitri Savineau
1f4301a15d ceph-volume: consume mount opt in simple activate
When running ceph-volume simple activate command on a Filestore OSD
then the data device is mounted without any specific options so the
one from the ceph configuration file are ignored.
When deploying Filestore with the lvm subcommand then everything is
fine because the filestore_activate method uses mount_osd which relies
on the mount options defined in the ceph configuration file (if any).

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1891557
Fixes: https://tracker.ceph.com/issues/48018

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2020-10-27 11:53:28 -04:00
Ishan Rai
590ce3c4f6 doc: style guide to give a the UI an overall look and feel
fixes: https://tracker.ceph.com/issues/27218

Signed-off-by: Ishan Rai <ishanrai05@gmail.com>
2020-10-27 13:50:15 +00:00
Daniel Gryniewicz
c0cf69e067
Merge pull request #37774 from dang/wip-dang-cond-writeback
Don't writeback when inside a readdir callback
2020-10-27 07:22:50 -04:00
Yan, Zheng
ef9c29d77a
Merge pull request #37828 from chenerqi/inode_commit_ops
mds: optimize batch backtrace store
2020-10-27 15:34:44 +08:00
Erqi Chen
04904b9a5d mds: optimize batch backtrace store
Call backtrace stored callback in batch. This avoids taking mds_lock
for each inode.

Signed-off-by: Erqi Chen <chenerqi@gmail.com>
2020-10-27 10:14:35 +08:00
Brad Hubbard
f4f53ece4d make-dist: Don't prompt while running 'npm ci'
Prompting for input while in the background results in SIGTTOU being
sent and npm hanging forever.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2020-10-27 10:37:15 +10:00
Jason Dillaman
2eec592372
Merge pull request #37750 from lixiaoy1/fix_partial_1022
librbd/deep_copy: fix issues in deep_copy

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-26 20:14:53 -04:00
lixiaoy1
b1f11939d6 librbd/deep_copy: skip reading data from image cache
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
2020-10-26 16:10:37 -04:00
Mykola Golub
ec64935861
Merge pull request #37714 from dillaman/wip-librbd-migration-1
librbd: initial set of changes to migration API for instant-restore

Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-10-26 21:26:17 +02:00
Jason Dillaman
32767bbfb5 librbd/io: ensure ImageDispatchSpec cannot re-use AioCompletion
Prevent re-using the same AioCompletion between multiple
ImageDispatchSpec objects to prevent the possibility of a memory
leak.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-26 12:01:12 -04:00
Jason Dillaman
65a05a0aa6 librbd/migration: native format should not issue a new read request
Tweak the format interface's 'read' call to just let the existing
read request continue passed the migration layer if the native
format is in use. Otherwise, the provided AioCompletion would need to
be wrapped with another AioCompletion to prevent the original
image dispatch spec from getting lost.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-26 12:01:11 -04:00
Adam C. Emerson
2041788435
Merge pull request #37683 from adamemerson/wip-fifo-lessnoisy
rgw: Be less noisy when probing FIFO existence

Reviewed-By: Casey Bodley cbodley@redhat.com
Reviewed-By: J. Eric Ivancich ivancich@redhat.com
2020-10-26 11:58:41 -04:00
Jason Dillaman
0db501b2e3
Merge pull request #37273 from trociny/wip-rbd-nbd-persist
rbd-nbd: allow to restart daemon without destroying device

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-26 07:57:47 -04:00
Lenz Grimmer
f99d15ab0d
Merge pull request #37769 from rhcs-dashboard/black-border-text
mgr/dashboard: Removing the black border on the text/input field when its clicked

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-10-26 12:57:32 +01:00
Jason Dillaman
43525ae5f5
Merge pull request #37743 from lixiaoy1/fix_1022
librbd/image: remove implicit features when cloning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-10-26 07:55:42 -04:00
Lenz Grimmer
a363e69336
Merge pull request #37753 from bk201/wip-47947
mgr/dashboard: fix disable action for MGR modules

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-10-26 11:33:24 +01:00
Lenz Grimmer
b0e963a2c9
Merge pull request #37006 from clwluvw/monitoring-osd-latency
monitoring: Use null yaxes min for OSD read latency

Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
2020-10-26 11:31:45 +01:00
Lenz Grimmer
10cb89241f
Merge pull request #37568 from s0nea/wip-dashboard-qa-linting
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-10-26 11:27:23 +01:00
Abhishek L
27916d18c0
Merge pull request #37754 from smithfarm/wip-nautilus-rn-typo
doc/releases/nautilus: fix typo

Reviewed-By: Neha Ojha <nojha@redhat.com>
Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2020-10-26 10:36:17 +01:00
Jan Fajerski
562ee2a0a9 Merge PR #37415 into master
* refs/pull/37415/head:
	pybind/mgr/snap-schedule: fix deactivate

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2020-10-26 09:10:05 +01:00
Kefu Chai
07019beead
Merge pull request #37758 from batrick/i47951
mon/MonMap: fix unconditional failure for init_with_hosts

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-26 14:59:39 +08:00
Kefu Chai
9809db9099
Merge pull request #37759 from adamemerson/wip-context4all
cmake, rgw: always enable Boost.context

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-10-26 14:41:55 +08:00
Jason Dillaman
81ee1cdb88 librbd: migration raw format source
The raw format maps an abstract, fully allocated, raw block device image
to the migration source IO API.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-25 19:37:56 -04:00
Jason Dillaman
951571879b librbd: migration file stream source
The file stream helper will translate byte-extent IO read requests
to ASIO file read requests on the specified backing file. This can be
layered with file format helpers to translate image IO extents down
to the backing file.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-25 19:37:55 -04:00
Jason Dillaman
41a32b1205 librbd: increase debug logging in ImageCtx
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-25 19:37:55 -04:00
Jason Dillaman
65531c38b6 librbd: migration should attempt to open destination image first
With the exception of the 'prepare' command, always attempt to open
the destination image first. This will better align with the
ability for read-only, non-native images to be used as a source
image.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-25 19:37:55 -04:00
Patrick Donnelly
d6097c4971
Merge PR #37776 into master
* refs/pull/37776/head:
	cephfs: Fix variable declartion in capture list in lambda

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-25 16:29:13 -07:00
Patrick Donnelly
0078579530
Merge PR #37735 into master
* refs/pull/37735/head:
	client: fix inode ll_ref reference count leak

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-25 16:27:48 -07:00
Patrick Donnelly
c569036c5d
Merge PR #37629 into master
* refs/pull/37629/head:
	qa/cephfs: add session_timeout option support
	qa/cephfs: move the cephfs's opertions setting to create()
	qa/cephfs: add 'cephfs:' section support

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-25 16:26:36 -07:00
Patrick Donnelly
e059e9666c
Merge PR #37652 into master
* refs/pull/37652/head:
	qa/tasks: tear down the background process before unmounting
	qa/tasks: switch to _kill_background() helper to terminate the daemons

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
2020-10-25 16:25:24 -07:00
Nathan Cutler
e3c0edf616
Merge pull request #37718 from smithfarm/wip-rn-nautilus
doc/releases: add Nautilus 14.2.12 release notes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-24 22:27:00 +02:00
Jason Dillaman
bf0198ad08 librbd: pass source ImageCtx to migration API helper methods
This will help ensure that the source ImageCtx can be made optional
when migrating from a read-only, non-native image source.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-24 13:51:07 -04:00
Jason Dillaman
d9005b053c librbd: new helper API method to retrieving the migration source spec
When using advanced, non-legacy migration sources like a remote Ceph
cluster or a flat file, this API will return the JSON-encoded description
of the migration source.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-24 13:51:07 -04:00
Jason Dillaman
9331600edd librbd: helper method for constructing source-spec for legacy migration
The legacy migration source format has explicit pool, namespace, and image
parameters. This helper method will convert it into the JSON format that
will be used for the new-style migration source-spec.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-10-24 13:51:06 -04:00
Lenz Grimmer
77bb88be28
Merge pull request #37755 from rhcs-dashboard/notification-style
mgr/dashboard: Adding more style to the notification sidebar

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-10-24 19:02:58 +02:00
Kefu Chai
5a59e16b97
Merge pull request #37738 from ifed01/wip-ifed-fix-death-tests
test/store_test: use 'threadsafe' style for death tests.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-10-25 00:17:33 +08:00
Kefu Chai
6678c7c6c2
Merge pull request #37765 from tchaikov/wip-mgr-common-cleanup
mgr,common: use make_unique<> and fmt::format()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-25 00:15:29 +08:00
Sridhar Seshasayee
5c987403eb
Merge pull request #37431 from sseshasa/wip-handle-future-sched-ops
osd: Handle possible future work items returned from mclock scheduler.

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-10-24 13:22:01 +05:30
Willem Jan Withagen
77f2f88dcb cephfs: Fix variable declartion in capture list in lambda
/home/jenkins/workspace/ceph-master-compile/src/tools/cephfs_mirror/Mirror.cc:529:33: error: 'mirror_action' in capture list does not name a variable
    m_cond.wait(locker, [this, &mirror_action] {return !mirror_action.action_in_progress;});
                                ^
/home/jenkins/workspace/ceph-master-compile/src/tools/cephfs_mirror/Mirror.cc:529:57: error: reference to local binding 'mirror_action' declared in enclosing function 'cephfs:🪞:Mirror::run'
    m_cond.wait(locker, [this, &mirror_action] {return !mirror_action.action_in_progress;});
                                                        ^
/home/jenkins/workspace/ceph-master-compile/src/tools/cephfs_mirror/Mirror.cc:526:27: note: 'mirror_action' declared here
  for (auto &[filesystem, mirror_action] : m_mirror_actions) {
                          ^
/home/jenkins/workspace/ceph-master-compile/src/tools/cephfs_mirror/Mirror.cc:529:26: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
    m_cond.wait(locker, [this, &mirror_action] {return !mirror_action.action_in_progress;});
                         ^~~~
1 warning and 2 errors generated.

Tracker: https://tracker.ceph.com/issues/47973
Fixes: https://github.com/ceph/ceph/pull/37313
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2020-10-24 01:53:14 +02:00
Patrick Donnelly
21d9f8333b
mon/MonMap: fix unconditional failure for init_with_hosts
This bug prevents setting mon_host to a DNS name.

Fixes: https://tracker.ceph.com/issues/47951
Fixes: 7a1f02acfe
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-23 16:33:44 -07:00
Patrick Donnelly
4022c1f1fb
test/mon: add tests for mon_host build by hostname
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-23 16:33:44 -07:00
Patrick Donnelly
06f44cbf12
test/mon: fix compiler errors in MonMap unittest
The code atrophied. Clean this up.

The tests are disabled because they SIGSEGV during SetUp.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-23 16:29:30 -07:00
Patrick Donnelly
8408b63e90
test/mon: build MonMap unittest
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2020-10-23 16:29:30 -07:00
Daniel Gryniewicz
96ed166570 Don't writeback when inside a readdir callback
The code updates some attributes that may have changed between versions
when doing a lookup.  However, a lookup can be done from within a
readdir callback, which causes a deadlock during the writeback.  Extend
the flag indicating we're in a callback all the way down, so we can
conditionally avoid the write.

Fixes RHBZ#1845501

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
2020-10-23 12:43:03 -04:00
Neha Ojha
27871caa7f
Merge pull request #37678 from ideepika/wip-drop-hammer-from-qa
qa: drop hammer branch qa tests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-10-23 08:35:02 -07:00
Adam C. Emerson
5429f10c47 dpkg: Remove use of no-longer-existing WITH_BOOST_CONTEXT option
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2020-10-23 11:21:53 -04:00