manila-share failed to start cause of improper 'driver_handles_share_servers' for cephfs nfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Eric Xie |
Bug Description
I setup one share node with configurations below
[DEFAULT]
...
enabled_
enabled_
[cephfsnfs1]
ganesha_
ganesha_
driver_
share_backend_name = CEPHFSNFS1
share_driver = manila.
cephfs_
cephfs_conf_path = /etc/ceph/ceph.conf
cephfs_auth_id = manila
cephfs_cluster_name = ceph
cephfs_
cephfs_
cephfs_
cephfs_
cephfs_
When i restarted the manila-share service, got error:
2019-08-07 22:39:42.789 6892 CRITICAL manila [req-816c8416-
2019-08-07 22:39:42.789 6892 ERROR manila Traceback (most recent call last):
2019-08-07 22:39:42.789 6892 ERROR manila File "/usr/bin/
2019-08-07 22:39:42.789 6892 ERROR manila sys.exit(main())
2019-08-07 22:39:42.789 6892 ERROR manila File "/usr/lib/
2019-08-07 22:39:42.789 6892 ERROR manila coordination=True)
2019-08-07 22:39:42.789 6892 ERROR manila File "/usr/lib/
2019-08-07 22:39:42.789 6892 ERROR manila coordination=
2019-08-07 22:39:42.789 6892 ERROR manila File "/usr/lib/
2019-08-07 22:39:42.789 6892 ERROR manila *args, **kwargs)
2019-08-07 22:39:42.789 6892 ERROR manila File "/usr/lib/
2019-08-07 22:39:42.789 6892 ERROR manila configuration=
2019-08-07 22:39:42.789 6892 ERROR manila File "/usr/lib/
2019-08-07 22:39:42.789 6892 ERROR manila return import_
2019-08-07 22:39:42.789 6892 ERROR manila File "/usr/lib/
2019-08-07 22:39:42.789 6892 ERROR manila [False, True], *args, **kwargs)
2019-08-07 22:39:42.789 6892 ERROR manila File "/usr/lib/
2019-08-07 22:39:42.789 6892 ERROR manila self._verify_
2019-08-07 22:39:42.789 6892 ERROR manila File "/usr/lib/
2019-08-07 22:39:42.789 6892 ERROR manila self.driver_
2019-08-07 22:39:42.789 6892 ERROR manila ManilaException: Config opt 'driver_
I found the specification has incorrect ref in https:/ /docs.openstack .org/manila/ latest/ admin/cephfs_ driver. html#for- cephfs- nfs-shares. share_backends to point to the driver’s backend section using the section name, cephfnfs1.'
'Edit enabled_
The cephfnfs1 should be cephfsnfs1. It missed 's'.
I push one commit for this.