]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
volumes/fs/nfs: Don't parse rados export objects during FSExport init 35417/head
authorPatrick Donnelly <pdonnell@redhat.com>
Sat, 27 Jun 2020 00:00:46 +0000 (17:00 -0700)
committerVarsha Rao <varao@redhat.com>
Tue, 30 Jun 2020 17:47:38 +0000 (23:17 +0530)
commit4ebb2581d655ae903d42942b4ef1f2c3c6fe5b8a
treeee07aacf5aec15b3d3fc7702ad3b450c61829731
parent4da75816754e888f7c4a7ac7375039763b5f9a35
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>
src/pybind/mgr/volumes/fs/nfs.py