NFS share creation error with manila

Solution In Progress - Updated -

Issue

  • We are unable to create shares using manila:
[cloud-user@vm ~]$ manila access-list share01
+--------------------------------------+-------------+---------------+--------------+-------+------------+----------------------------+------------+
| id                                   | access_type | access_to     | access_level | state | access_key | created_at                 | updated_at |
+--------------------------------------+-------------+---------------+--------------+-------+------------+----------------------------+------------+
| 8764221e-2039-4057-9ce4-36b68cd4ccd3 | ip          | 10.10.10.10 | rw           | error | None       | 2020-04-20T18:18:43.000000 | None       |
| fa91b26e-401b-4687-bce6-fcc859d68820 | ip          | 172.18.10.10  | rw           | error | None       | 2020-04-20T15:03:13.000000 | None       |
+--------------------------------------+-------------+---------------+--------------+-------+------------+----------------------------+------------+
  • The following error is seen:
[root@overcloud-controller-0 manila]# zgrep "2020-04-20 18:18:"  manila-share.log.2.gz
2020-04-20 18:18:27.898 26 INFO manila.share.manager [req-346337af-7b6e-4b88-8cb9-04bd19c878cb - - - - -] Updating share status
2020-04-20 18:18:44.573 26 INFO paramiko.transport [-] Connected (version 2.0, client OpenSSH_7.4)
2020-04-20 18:18:44.715 26 INFO paramiko.transport [-] Auth banner:      ************WARNING********WARNING*********WARNING***************
2020-04-20 18:18:44.715 26 INFO paramiko.transport [-] Authentication (publickey) successful!
2020-04-20 18:18:45.305 26 ERROR manila.share.drivers.ganesha.manager [req-fc6a0ef4-921d-4d19-a19a-f8f2d9642169 36c1656e58f8a1bbf5b66c943f42d0661836ed2633a6b90e1b5a89419750e7b0 f1c5c4a0d30e4be2bfb62559fc269231 - - -] Error while executing management command on Ganesha node <no name>: dbus call exportmgr.AddExport.: ProcessExecutionError: Unexpected error while running command.
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server [req-fc6a0ef4-921d-4d19-a19a-f8f2d9642169 36c1656e58f8a1bbf5b66c943f42d0661836ed2633a6b90e1b5a89419750e7b0 f1c5c4a0d30e4be2bfb62559fc269231 - - -] Exception during message handling: GaneshaCommandFailure: Ganesha management command failed.
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 166, in _process_incoming
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 220, in dispatch
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 190, in _do_dispatch
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/manila/share/manager.py", line 187, in wrapped
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     return f(self, *args, **kwargs)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/manila/utils.py", line 598, in wrapper
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     return func(self, *args, **kwargs)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/manila/share/manager.py", line 3353, in update_access
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     share_server=share_server)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/manila/share/access.py", line 283, in update_access_rules
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     share_server=share_server)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/manila/share/access.py", line 322, in _update_access_rules
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     share_server)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/manila/share/access.py", line 390, in _update_rules_through_share_driver
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     share_server=share_server
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/manila/share/drivers/cephfs/driver.py", line 267, in update_access
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     share_server=share_server)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/manila/share/drivers/ganesha/__init__.py", line 308, in update_access
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     self.ganesha.add_export(share['name'], confdict)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server   File "/usr/lib/python2.7/site-packages/manila/share/drivers/ganesha/manager.py", line 491, in add_export
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server     cmd=e.cmd)
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server GaneshaCommandFailure: Ganesha management command failed.
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server Command: dbus-send --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.AddExport string:/etc/ganesha/export.d/share-4e34cc0a-74b9-4a59-a8e1-1ac83e8267b0.conf.Rn3LgQ 'string:EXPORT(Export_Id=1003)'
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server Exit code: 1
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server Stdout: u''
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server Stderr: u'Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.ganesha.nfsd was not provided by any .service files\n'
2020-04-20 18:18:45.511 26 ERROR oslo_messaging.rpc.server

Environment

  • Red Hat OpenStack Platform 13.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content