Commit Graph

112722 Commits

Author SHA1 Message Date
Yin Congmin
1af4ed0a76 librbd/image: fix immutable object cache read failed bug when daemon down
Fix bug: read child image failed when enabling immutable object cache and daemon down

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
2020-07-01 14:19:59 -04:00
Yin Congmin
25f1f62cba qa: add tests for immutable object cache
based on qemu task, use immutable_object_cache task to test parent cache
based on rbd_fio task, use immutable_object_cache task to test parent cache

Signed-off-by: Yin Congmin <congmin.yin@intel.com>
Signed-off-by: Feng Hualong <hualong.feng@intel.com>
2020-07-01 14:19:59 -04:00
Jason Dillaman
33dd9ea305
Merge pull request #35699 from fflorens/ff/work/bug_46139
osd/OSDCap: rbd profile permits use of "rbd_info"

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-07-01 13:18:21 -04:00
Jason Dillaman
82e27b536a
Merge pull request #35596 from Songweibin/wip-fix-rbd-rm
librbd: fix potential image rm failure due to parent missing

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-07-01 13:18:00 -04:00
Kefu Chai
a914e094e1
Merge pull request #35856 from tchaikov/wip-46267
test/unittest_lockdep: skip lockdep test if CEPH_DEBUG_MUTEX is not d…

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2020-07-01 23:26:54 +08:00
Josh Durgin
124ffa4663
Merge pull request #35751 from smithfarm/wip-radosgw-admin-orphans
doc: PendingReleaseNotes: fix deprecated radosgw-admin commands

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2020-07-01 07:59:34 -07:00
Lenz Grimmer
5859346631
Merge pull request #35782 from tspmelo/wip-ng-datepicker
mgr/dashboard: Use ng-bootstrap for Datepicker

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-07-01 16:17:03 +02:00
Josh Durgin
8233d86784
Merge pull request #35869 from smithfarm/wip-rn-15_2_4
doc/releases/octopus: add 15.2.4 release notes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2020-07-01 07:12:19 -07:00
Sebastian Wagner
7efae08d28
Merge pull request #35805 from ricardoasmarques/ceph-orch-status-format
cephadm: Add "--format" option to "ceph orch status"

Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-01 15:17:11 +02:00
Kefu Chai
87395bcf1e
Merge pull request #35811 from tchaikov/wip-46054
kv/RocksDBStore: always release column family handles

Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
2020-07-01 20:47:28 +08:00
Lenz Grimmer
4af207735e
Merge pull request #35723 from tspmelo/wip-fix-action-tooltip
mgr/dashboard: Fix title of disabled table actions

Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-07-01 14:21:19 +02:00
Sebastian Wagner
b911a95652
Merge pull request #35606 from Daniel-Pivonka/cephadm-45653-44866
cephadm: add sudo ssh user option

Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-01 13:08:02 +02:00
Nathan Cutler
1c480a58d8 doc/releases/octopus: add 15.2.4 release notes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2020-07-01 12:36:44 +02:00
Ricardo Marques
83ff83157c cephadm: Add "--format" option to "ceph orch status"
Fixes: https://tracker.ceph.com/issues/46233

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2020-07-01 10:05:33 +01:00
Sebastian Wagner
d3b8716e96
Merge pull request #35577 from mgfritch/orch-test-iscsi
mgr/test_orchestrator: add iscsi

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-01 10:06:02 +02:00
Patrick Donnelly
2555ed1def
Merge PR #35417 into master
* refs/pull/35417/head:
	volumes/fs/nfs: Don't parse rados export objects during FSExport init
	pybind/mgr/volumes/nfs: Fix flake8 errors
	qa/tasks/test_nfs: Add todo note for cluster update test
	qa/tasks/cephfs/test_nfs: Add test for get and list detailed export
	qa/tasks/cephfs/test_nfs: Add test for export user id
	qa/tasks/cephfs/test_nfs: Add description for each test
	doc/cephfs: Add list and get export usage
	qa/tasks/cephfs: Add tests for export create with non-existing fsname and cluster id
	qa/tasks/cephfs: Add tests for invalid cluster id, export type and modify list cluster
	qa/tasks/cephfs: Add test for listing exports
	pybind/mgr/volumes/nfs: Reorder FSExport and NFSCluster class methods
	mgr/volumes/nfs: Set pool_namespace and cluster_id through decorator
	mgr/volumes/nfs: Check cluster availability in export command methods
	mgr/volumes/nfs: Misc changes to export get and ls command
	qa/tasks/cephfs: Add test for nfs cluster ls command
	mgr/volumes/nfs: Add nfs cluster ls command
	mgr/volumes/nfs: Remove 'ganesha-' prefix from orch returned service id
	mgr/volumes/nfs: get export in a nfs cluster
	mgr/volumes/nfs: list exports within a ganesha cluster
	mgr/volume/nfs: allow only [A-Za-z0-9-_.] characters
	qa/tasks/cephfs: Add test to check if export is available on restarting mgr
	qa/tasks/cephfs: Add idempotency test for nfs commands
	mgr/volumes/nfs: Check if cluster exists before creating exports
	mgr/volumes/nfs: Fetch exports in persistent way if mgr is restarted

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
2020-06-30 19:32:58 -07:00
Patrick Donnelly
4ebb2581d6 volumes/fs/nfs: Don't parse rados export objects during FSExport init
Instead we can do it if any export commands are used. This fixes ImportError
raised when FSExport is initialized with cephadm module disabled.

Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
4da7581675 pybind/mgr/volumes/nfs: Fix flake8 errors
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
d7396fdc0f qa/tasks/test_nfs: Add todo note for cluster update test
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
5f506e3969 qa/tasks/cephfs/test_nfs: Add test for get and list detailed export
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
1aa2a660bd qa/tasks/cephfs/test_nfs: Add test for export user id
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
dfa3ab4349 qa/tasks/cephfs/test_nfs: Add description for each test
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
55fd634e88 doc/cephfs: Add list and get export usage
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
eab60b5fad qa/tasks/cephfs: Add tests for export create with non-existing fsname and cluster id
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
285ab1b4ae qa/tasks/cephfs: Add tests for invalid cluster id, export type and modify list cluster
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
9418b42b29 qa/tasks/cephfs: Add test for listing exports
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
ed20bd8693 pybind/mgr/volumes/nfs: Reorder FSExport and NFSCluster class methods
To maintain consistency and improve readability.

Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
2692a94d69 mgr/volumes/nfs: Set pool_namespace and cluster_id through decorator
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
9d83045467 mgr/volumes/nfs: Check cluster availability in export command methods
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
310c7fbf73 mgr/volumes/nfs: Misc changes to export get and ls command
This patch does following changes:
* Add extra line before every class definition
* Reorder export dictionary
* Use _fetch_export() in get export command
* Remove cluster_id key from export dictionary if single export is deleted

Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
eb2cd16fbe qa/tasks/cephfs: Add test for nfs cluster ls command
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
b77c3eef78 mgr/volumes/nfs: Add nfs cluster ls command
This commands provides list of deployed nfs clusters.

Fixes: https://tracker.ceph.com/issues/45742
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
555da003fb mgr/volumes/nfs: Remove 'ganesha-' prefix from orch returned service id
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Ramana Raja
7dcefb158d mgr/volumes/nfs: get export in a nfs cluster
Fixes: https://tracker.ceph.com/issues/45741
Signed-off-by: Ramana Raja <rraja@redhat.com>
2020-06-30 23:17:38 +05:30
Ramana Raja
6f8d20f2cb mgr/volumes/nfs: list exports within a ganesha cluster
List the pseudo paths of the exports within a ganesha cluster
with `nfs export ls <cluster ID>` command.

List all the details of the exports within a ganesha cluster
with `nfs export ls <cluster ID> --detailed` command.

Partially-fixes: https://tracker.ceph.com/issues/45741
Signed-off-by: Ramana Raja <rraja@redhat.com>
2020-06-30 23:17:38 +05:30
Ramana Raja
7ae24c22f6 mgr/volume/nfs: allow only [A-Za-z0-9-_.] characters
... for ganesha cluster names.

Fixes: https://tracker.ceph.com/issues/45744
Signed-off-by: Ramana Raja <rraja@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
3b554f2310 qa/tasks/cephfs: Add test to check if export is available on restarting mgr
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
1a55888b1b qa/tasks/cephfs: Add idempotency test for nfs commands
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
c13a40b99e mgr/volumes/nfs: Check if cluster exists before creating exports
Fixes: https://tracker.ceph.com/issues/45740
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Varsha Rao
162a57156f mgr/volumes/nfs: Fetch exports in persistent way if mgr is restarted
Fixes: https://tracker.ceph.com/issues/45740
Signed-off-by: Varsha Rao <varao@redhat.com>
2020-06-30 23:17:38 +05:30
Patrick Donnelly
f7f156db5e
Merge PR #35784 into master
* refs/pull/35784/head:
	mon/MDSMonitor: copy MDS info which may be removed

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
2020-06-30 10:37:29 -07:00
Patrick Donnelly
95332d5fab
Merge PR #35038 into master
* refs/pull/35038/head:
	qa/tasks/cephfs/cephfs_test_case.py: skip cleaning the core dumps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-06-30 10:36:36 -07:00
Tiago Melo
4b2f28af47 mgr/dashboard: Use ng-bootstrap for Datepicker
Fixes: https://tracker.ceph.com/issues/45757

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-06-30 16:44:35 +00:00
Kefu Chai
fb74d5443a test/unittest_lockdep: skip lockdep test if CEPH_DEBUG_MUTEX is not defined
this change addresses a regression introduced by
2dc50b5f91

Fixes: https://tracker.ceph.com/issues/46267
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-06-30 23:16:07 +08:00
Jan Fajerski
2650550192
Merge pull request #32493 from rishabh-d-dave/cv-use-dash-S-everywhere
ceph-volume: don't use container classes in api/lvm.py
2020-06-30 14:59:44 +02:00
Daniel-Pivonka
1052b9db7b cephadm: add sudo ssh user option
add the ability to use a non-root users for connecting to hosts, this user requires pass wordless sudo access

useful for clusters that have root ssh access disabled

Fixes: https://tracker.ceph.com/issues/44866
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
2020-06-30 08:57:24 -04:00
Tiago Melo
ce34442476 mgr/dashboard: Fix title of disabled table actions
Fix regression introduced in a1fac664f5.
Title attribute was unintentionally removed from the table actions.

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

Signed-off-by: Tiago Melo <tmelo@suse.com>
2020-06-30 11:21:22 +00:00
Kefu Chai
7948e2de78
Merge pull request #35657 from athanatos/sjust/wip-lba-replay
crimson/seastore: add extent replay support, implement for lba tree nodes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-06-30 18:52:24 +08:00
Lenz Grimmer
ffaf709cad
Merge pull request #35370 from tspmelo/wip-ng-modal
mgr/dashboard: Use ng-bootstrap for Modal

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-06-30 11:51:04 +02:00
Rishabh Dave
ca1d3e694c ceph-volume: delete devices.lvm.prepare.Prepare.get_lv
Since it calls get_lv_from_argument() internally and use get_first_lv()
instead and update tests.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
2020-06-30 14:21:12 +05:30