]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Ulrich Weigand [Fri, 3 Jul 2020 13:47:00 +0000 (15:47 +0200)]
msg/msg_types: entity_addrvec_t: fix decode on big-endian hosts
When decoding an entity_addrvec_t with marker 1, we just have
a single (non-legacy) entity_addr_t. This should be decoded
exactly the same as done by entity_addr_t::decode, but it
currently is not. Specifically, the sa_family member of
the sockaddr is not converted from the on-wire little-endian
format to host byte order (as done by entity_addr_t::decode).
Fixed by using the same code as in entity_addr_t::decode.
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Lenz Grimmer [Fri, 3 Jul 2020 13:40:35 +0000 (15:40 +0200)]
Merge pull request #35859 from tspmelo/wip-remove-ngx-bootstrap
mgr/dashboard: Remove ngx-bootstrap
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Lenz Grimmer [Fri, 3 Jul 2020 11:53:46 +0000 (13:53 +0200)]
Merge pull request #35875 from Devp00l/wip-46303
mgr/dashboard: Fixes regression in device selection modal
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Fri, 3 Jul 2020 10:51:19 +0000 (18:51 +0800)]
Merge pull request #35912 from tchaikov/wip-crimson-osd-flush-pg-stats
crimson/osd: implement flush_pg_stats command
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Sebastian Wagner [Fri, 3 Jul 2020 10:01:53 +0000 (12:01 +0200)]
Merge pull request #35374 from jschmid1/activate_osdspec_affinity
mgr/cephadm: re-enable osdspec affinity passing
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Fri, 3 Jul 2020 08:57:56 +0000 (16:57 +0800)]
crimson/osd: avoid `-Wunused-but-set-variable` warning
in release build, `found` is not used at all. but GCC complains with a
`-Wunused-but-set-variable` warning.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Fri, 3 Jul 2020 08:50:18 +0000 (10:50 +0200)]
Merge pull request #35704 from Devp00l/wip-46135
mgr/dashboard: Fixes typeahead regression in the silence matcher
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Fri, 3 Jul 2020 08:08:55 +0000 (16:08 +0800)]
crimson/osd: update the osd stats with hb peers
just to align with classic OSD
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 3 Jul 2020 08:05:56 +0000 (16:05 +0800)]
crimson/osd: implement flush_pg_stats command
this command is used by teuthology based tests for updating the mgr with
the lastes pg stats on OSD.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 3 Jul 2020 07:59:11 +0000 (15:59 +0800)]
crimson/{mgr,osd}: add WithStats::update_stats()
because we need to implement a tell command which forces osd to
send the latest pg stats to mgr, and the command returns the user with
the sequence id of the report, and `mgr::Client::report()` does not
return a future, so we have to update the seq id before sending
the report. the solution is to update the seq id in a separated
method, so in this change:
* add `const` to `WithStats::get_stats()
* add a dedicated method of `WithStats::update_stats()` to update
the stats to be collected by mgr::Client.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 3 Jul 2020 01:48:55 +0000 (09:48 +0800)]
Merge pull request #35887 from joscollin/wip-update-kyr
.githubmap: add Kyr
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kefu Chai [Fri, 3 Jul 2020 01:46:31 +0000 (09:46 +0800)]
Merge pull request #35845 from tchaikov/wip-rpm-crimson
rpm: package crimson-osd in ceph-osd
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Neha Ojha [Fri, 3 Jul 2020 00:48:50 +0000 (17:48 -0700)]
Merge pull request #35867 from jwilk-forks/spelling
doc/dev/osd_internals: fix typos
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Thu, 2 Jul 2020 14:48:00 +0000 (22:48 +0800)]
Merge pull request #35894 from tchaikov/wip-crimson-os
crimson/os: pin the last cpu core for the alien worker threads
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Deepika Upadhyay <dupadhya@redhat.com>
Lenz Grimmer [Thu, 2 Jul 2020 13:52:18 +0000 (15:52 +0200)]
Merge pull request #35745 from votdev/issue_46146_delete_host
mgr/dashboard: Host delete action should be disabled if not managed by Orchestrator
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Lenz Grimmer [Thu, 2 Jul 2020 13:50:06 +0000 (15:50 +0200)]
Merge pull request #35642 from tspmelo/wip-fix-flicker
mgr/dashboard: Re-enable OSD's table autoReload
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Lenz Grimmer [Thu, 2 Jul 2020 13:47:10 +0000 (15:47 +0200)]
Merge pull request #34889 from votdev/issue_43120_tabs
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Thu, 2 Jul 2020 11:32:09 +0000 (19:32 +0800)]
crimson/os/alienstore: assert on failure
before we have a failure recovery, better off failing fast.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 2 Jul 2020 11:27:40 +0000 (19:27 +0800)]
crimson/os: pin the last cpu core for the alien worker threads
before this change, we assume that we have at least current_shared + 10
cores. but that's not always true. so in this change, the last core
is used for performing the alien tasks scheduled by reactor.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Volker Theile [Fri, 26 Jun 2020 14:18:53 +0000 (16:18 +0200)]
mgr/dashboard: stay on active tab (accessible via URL)
This PR refactors the /monitoring page by introducing a new component which is responsible for rendering the tabs. All tabs have a dedicated route/URL now, no fragments are used anymore, thus they will act like the iSCSI and RBD pages.
Fixes: https://tracker.ceph.com/issues/45375
Signed-off-by: Volker Theile <vtheile@suse.com>
Ilya Dryomov [Thu, 2 Jul 2020 08:54:16 +0000 (10:54 +0200)]
Merge pull request #35816 from idryomov/wip-msgr21-fix-reuse
msg/async/ProtocolV2: take care of features when replacing the socket
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Lenz Grimmer [Thu, 2 Jul 2020 08:29:13 +0000 (10:29 +0200)]
Merge pull request #35854 from tspmelo/wip-fix-nfs-loading
mgr/dashboard: Fix NFS Edit page loading problem
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Sebastian Wagner [Thu, 2 Jul 2020 08:22:32 +0000 (10:22 +0200)]
Merge pull request #35823 from bk201/wip-46245
mgr/cephadm: reconfig ssh after setting or clearing ssh_config
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Lenz Grimmer [Thu, 2 Jul 2020 08:20:46 +0000 (10:20 +0200)]
Merge pull request #35765 from votdev/issue_46145_reset_action_button
mgr/dashboard: Action button is not reset after switching tabs
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Thu, 2 Jul 2020 07:59:24 +0000 (09:59 +0200)]
Merge pull request #35803 from s0nea/wip-dashboard-remove-formatted-attr
mgr/dashboard: remove cdCopy2ClipboardButton `formatted` attribute
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Thu, 2 Jul 2020 07:57:37 +0000 (09:57 +0200)]
Merge pull request #35828 from votdev/issue_46249_rm_tab
mgr/dashboard: Remove useless tab in monitoring/alerts datatable details
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Laura Paduano [Thu, 2 Jul 2020 07:08:07 +0000 (09:08 +0200)]
Merge pull request #35564 from rhcs-dashboard/wip-45957-fixUiApiEndpoints
mgr/dashboard: fix ui api endpoints
Jos Collin [Thu, 2 Jul 2020 06:35:54 +0000 (12:05 +0530)]
.githubmap: add Kyr
Signed-off-by: Jos Collin <jcollin@redhat.com>
Jos Collin [Thu, 2 Jul 2020 06:26:19 +0000 (11:56 +0530)]
Merge pull request #35639 from joscollin/wip-fix-sh-as-in-teuthology
qa/tasks: make sh() in vstart_runner.py identical with teuthology.orchestra.remote.sh
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Jason Dillaman [Thu, 2 Jul 2020 00:08:11 +0000 (20:08 -0400)]
Merge pull request #35037 from CongMinYin/qa-test-for-immutale-object-cache
qa: add tests for immutable object cache
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yin Congmin [Wed, 10 Jun 2020 06:52:08 +0000 (14:52 +0800)]
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>
Yin Congmin [Fri, 8 May 2020 17:36:12 +0000 (01:36 +0800)]
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>
Jason Dillaman [Wed, 1 Jul 2020 17:18:21 +0000 (13:18 -0400)]
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>
Jason Dillaman [Wed, 1 Jul 2020 17:18:00 +0000 (13:18 -0400)]
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>
Stephan Müller [Wed, 1 Jul 2020 14:30:55 +0000 (16:30 +0200)]
mgr/dashboard: Fixes regression in device selection modal
The 'ExpressionChangedAfterItHasBeenCheckedError' has recently
shown up in device selection modal in OSD creation form. It looks
like it's a regression due to the modal switch (PR #35370). Which was
merged yesterday and it had worked on Monday.
Fixes: https://tracker.ceph.com/issues/46303
Signed-off-by: Stephan Müller <smueller@suse.com>
Kefu Chai [Wed, 1 Jul 2020 15:26:54 +0000 (23:26 +0800)]
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>
Josh Durgin [Wed, 1 Jul 2020 14:59:34 +0000 (07:59 -0700)]
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>
Tiago Melo [Tue, 30 Jun 2020 16:34:07 +0000 (16:34 +0000)]
mgr/dashboard: Remove ngx-bootstrap
Fixes: https://tracker.ceph.com/issues/46281
Signed-off-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Wed, 1 Jul 2020 14:17:03 +0000 (16:17 +0200)]
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>
Josh Durgin [Wed, 1 Jul 2020 14:12:19 +0000 (07:12 -0700)]
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>
Sebastian Wagner [Wed, 1 Jul 2020 13:17:11 +0000 (15:17 +0200)]
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>
Kefu Chai [Wed, 1 Jul 2020 12:47:28 +0000 (20:47 +0800)]
Merge pull request #35811 from tchaikov/wip-46054
kv/RocksDBStore: always release column family handles
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Lenz Grimmer [Wed, 1 Jul 2020 12:21:19 +0000 (14:21 +0200)]
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>
Jos Collin [Thu, 18 Jun 2020 06:09:03 +0000 (11:39 +0530)]
qa/tasks: make sh() in vstart_runner.py identical with teuthology.orchestra.remote.sh
Fixes: https://tracker.ceph.com/issues/46069
Signed-off-by: Jos Collin <jcollin@redhat.com>
Sebastian Wagner [Wed, 1 Jul 2020 11:08:02 +0000 (13:08 +0200)]
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>
Nathan Cutler [Wed, 1 Jul 2020 10:36:44 +0000 (12:36 +0200)]
doc/releases/octopus: add 15.2.4 release notes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Jakub Wilk [Wed, 1 Jul 2020 09:56:25 +0000 (11:56 +0200)]
doc/dev/osd_internals: fix typos
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Ricardo Marques [Fri, 26 Jun 2020 17:44:45 +0000 (18:44 +0100)]
cephadm: Add "--format" option to "ceph orch status"
Fixes: https://tracker.ceph.com/issues/46233
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Stephan Müller [Fri, 19 Jun 2020 15:22:40 +0000 (17:22 +0200)]
mgr/dashboard: Fixes typeahead regression in the silence matcher
This regression was introduced by PR #35300 which updated the typeahead
module usage from ngx-bootstrap to ng-bootstrap's typeahead module.
The regression was that the typeahead didn't open on click into the
input field. Another regression was that the suggestions didn't overlap
the modal anymore.
Fixes: https://tracker.ceph.com/issues/46135
Signed-off-by: Stephan Müller <smueller@suse.com>
Sebastian Wagner [Wed, 1 Jul 2020 08:06:02 +0000 (10:06 +0200)]
Merge pull request #35577 from mgfritch/orch-test-iscsi
mgr/test_orchestrator: add iscsi
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Patrick Donnelly [Wed, 1 Jul 2020 02:32:23 +0000 (19:32 -0700)]
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>
Patrick Donnelly [Sat, 27 Jun 2020 00:00:46 +0000 (17:00 -0700)]
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>
Varsha Rao [Thu, 25 Jun 2020 07:03:04 +0000 (12:33 +0530)]
pybind/mgr/volumes/nfs: Fix flake8 errors
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Thu, 25 Jun 2020 06:53:39 +0000 (12:23 +0530)]
qa/tasks/test_nfs: Add todo note for cluster update test
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 23 Jun 2020 18:25:46 +0000 (23:55 +0530)]
qa/tasks/cephfs/test_nfs: Add test for get and list detailed export
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 23 Jun 2020 18:17:43 +0000 (23:47 +0530)]
qa/tasks/cephfs/test_nfs: Add test for export user id
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Fri, 19 Jun 2020 17:36:12 +0000 (23:06 +0530)]
qa/tasks/cephfs/test_nfs: Add description for each test
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 16 Jun 2020 10:29:19 +0000 (15:59 +0530)]
doc/cephfs: Add list and get export usage
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 16 Jun 2020 10:04:36 +0000 (15:34 +0530)]
qa/tasks/cephfs: Add tests for export create with non-existing fsname and cluster id
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 16 Jun 2020 08:45:22 +0000 (14:15 +0530)]
qa/tasks/cephfs: Add tests for invalid cluster id, export type and modify list cluster
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Mon, 15 Jun 2020 19:09:58 +0000 (00:39 +0530)]
qa/tasks/cephfs: Add test for listing exports
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 16 Jun 2020 07:09:45 +0000 (12:39 +0530)]
pybind/mgr/volumes/nfs: Reorder FSExport and NFSCluster class methods
To maintain consistency and improve readability.
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 16 Jun 2020 06:31:05 +0000 (12:01 +0530)]
mgr/volumes/nfs: Set pool_namespace and cluster_id through decorator
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Mon, 15 Jun 2020 15:47:59 +0000 (21:17 +0530)]
mgr/volumes/nfs: Check cluster availability in export command methods
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Mon, 15 Jun 2020 11:29:41 +0000 (16:59 +0530)]
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>
Varsha Rao [Thu, 11 Jun 2020 05:27:50 +0000 (10:57 +0530)]
qa/tasks/cephfs: Add test for nfs cluster ls command
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Thu, 11 Jun 2020 05:18:56 +0000 (10:48 +0530)]
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>
Varsha Rao [Wed, 10 Jun 2020 13:00:24 +0000 (18:30 +0530)]
mgr/volumes/nfs: Remove 'ganesha-' prefix from orch returned service id
Signed-off-by: Varsha Rao <varao@redhat.com>
Ramana Raja [Fri, 5 Jun 2020 10:38:14 +0000 (16:08 +0530)]
mgr/volumes/nfs: get export in a nfs cluster
Fixes: https://tracker.ceph.com/issues/45741
Signed-off-by: Ramana Raja <rraja@redhat.com>
Ramana Raja [Sun, 14 Jun 2020 16:33:16 +0000 (22:03 +0530)]
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>
Ramana Raja [Thu, 4 Jun 2020 06:46:49 +0000 (12:16 +0530)]
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>
Varsha Rao [Tue, 9 Jun 2020 07:44:36 +0000 (07:44 +0000)]
qa/tasks/cephfs: Add test to check if export is available on restarting mgr
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Tue, 2 Jun 2020 11:34:19 +0000 (11:34 +0000)]
qa/tasks/cephfs: Add idempotency test for nfs commands
Signed-off-by: Varsha Rao <varao@redhat.com>
Varsha Rao [Fri, 5 Jun 2020 10:33:01 +0000 (16:03 +0530)]
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>
Varsha Rao [Fri, 5 Jun 2020 09:14:59 +0000 (14:44 +0530)]
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>
Patrick Donnelly [Tue, 30 Jun 2020 17:37:29 +0000 (10:37 -0700)]
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>
Patrick Donnelly [Tue, 30 Jun 2020 17:36:36 +0000 (10:36 -0700)]
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>
Tiago Melo [Fri, 29 May 2020 19:13:03 +0000 (19:13 +0000)]
mgr/dashboard: Use ng-bootstrap for Datepicker
Fixes: https://tracker.ceph.com/issues/45757
Signed-off-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Tue, 30 Jun 2020 15:15:44 +0000 (23:15 +0800)]
test/unittest_lockdep: skip lockdep test if CEPH_DEBUG_MUTEX is not defined
this change addresses a regression introduced by
2dc50b5f91476cf10429dbcdd52b00e32f599d5c
Fixes: https://tracker.ceph.com/issues/46267
Signed-off-by: Kefu Chai <kchai@redhat.com>
Tiago Melo [Tue, 30 Jun 2020 14:24:12 +0000 (14:24 +0000)]
mgr/dashboard: Fix NFS Edit page loading problem
We were trying to access a component that is only created
after the form loading is finished, before it was finished.
Fixes: https://tracker.ceph.com/issues/46276
Signed-off-by: Tiago Melo <tmelo@suse.com>
Jan Fajerski [Tue, 30 Jun 2020 12:59:44 +0000 (14:59 +0200)]
Merge pull request #32493 from rishabh-d-dave/cv-use-dash-S-everywhere
ceph-volume: don't use container classes in api/lvm.py
Daniel-Pivonka [Thu, 11 Jun 2020 14:28:44 +0000 (10:28 -0400)]
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>
Tiago Melo [Tue, 23 Jun 2020 10:40:23 +0000 (10:40 +0000)]
mgr/dashboard: Fix title of disabled table actions
Fix regression introduced in
a1fac664f5b0fa1c8b78de3440e99ee68d34f512 .
Title attribute was unintentionally removed from the table actions.
Fixes: https://tracker.ceph.com/issues/46153
Signed-off-by: Tiago Melo <tmelo@suse.com>
Tiago Melo [Wed, 17 Jun 2020 16:38:25 +0000 (16:38 +0000)]
mgr/dashboard: Re-enable OSD's table autoReload
Fixes: https://tracker.ceph.com/issues/45303
Signed-off-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Tue, 30 Jun 2020 10:52:24 +0000 (18:52 +0800)]
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>
Lenz Grimmer [Tue, 30 Jun 2020 09:51:04 +0000 (11:51 +0200)]
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>
Rishabh Dave [Sat, 4 Jan 2020 08:24:58 +0000 (13:54 +0530)]
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>
Rishabh Dave [Tue, 31 Dec 2019 11:54:42 +0000 (17:24 +0530)]
ceph-volume: don't use api.lvm.VolumeGroups
Use api.lvm.get_vgs() and api.lvm.get_first_vg() instead and update
tests.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Fri, 3 Jan 2020 11:40:23 +0000 (17:10 +0530)]
ceph-volume: don't use api.lvm.PVolumes
Update api.lvm.get_first_pv() and api.lvm.get_pvs() instead and update
tests.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Mon, 30 Dec 2019 14:56:22 +0000 (20:26 +0530)]
ceph-volume: don't use api.lvm.get_lv
Use api.lvm.get_lvs() and api.lvm.get_first_lv() instead and update the
tests.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Mon, 30 Dec 2019 14:05:56 +0000 (19:35 +0530)]
ceph-volume: don't use api.lvm.get_lv_from_argument
Use api.lvm.get_lvs() and api.lvm.get_first_lv() instead and update
tests.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Rishabh Dave [Mon, 30 Dec 2019 06:18:08 +0000 (11:48 +0530)]
ceph-volume: don't use class api.lvm.Volumes
Replace code using class Volumes by methods get_lvs() and
get_first_lv(). Also, update the tests accordingly.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Lenz Grimmer [Tue, 30 Jun 2020 08:50:59 +0000 (10:50 +0200)]
Merge pull request #34532 from rhcs-dashboard/wip-45068-fix-parse-error
mgr/dashboard: Prometheus query error in the metrics of Pools, OSDs and RBD images
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Sebastian Wagner [Tue, 30 Jun 2020 08:50:21 +0000 (10:50 +0200)]
Merge pull request #35576 from sebastian-philipp/cephadm-etc-ceph-ceph-conf
mgr/cephadm: Manage /etc/ceph/ceph.conf
Reviewed-by: Joshua Schmid <jschmid@suse.de>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Lenz Grimmer [Tue, 30 Jun 2020 08:46:54 +0000 (10:46 +0200)]
Merge pull request #35565 from bk201/wip-44985
mgr/dashboard: fix wal/db slots controls in the OSD form
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Tue, 30 Jun 2020 08:31:43 +0000 (10:31 +0200)]
Merge pull request #35779 from votdev/show_yes_no
mgr/dashboard: Display check icon instead of true|false in various datatables
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kefu Chai [Tue, 30 Jun 2020 08:14:16 +0000 (16:14 +0800)]
rpm: package crimson-osd in ceph-osd
in hope to simplify the enabling of crimson-osd. as we will use cephadm
as the way for deploying crimson-osd in future. it's unlikely we will
have classic osd and crimson osd co-located in the same system. so
this is most simple way to enable crimson-osd with minimum efforts.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Lenz Grimmer [Tue, 30 Jun 2020 08:01:24 +0000 (10:01 +0200)]
Merge pull request #35615 from ishanrai05/scss-linting
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Patrick Donnelly [Mon, 29 Jun 2020 19:57:23 +0000 (12:57 -0700)]
Merge PR #35826 into master
* refs/pull/35826/head:
mds: fix typo in MDSSocketHook
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Ilya Dryomov [Mon, 29 Jun 2020 14:36:39 +0000 (16:36 +0200)]
Merge pull request #35729 from rzarzynski/wip-bl-deprecate-claim
common/bl, *: deprecate bufferlist::claim() and switch to rvalue-taking operator=()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>