Hi, and thanks

I tried to apply the patch, but it didn't work, this is the manila-share.log.
By the way, I did change to caps for the manila client to what is said in wallaby documentation, that is :
[client.manila]
       key = keyyyyyyyy.....
       caps mgr = "allow rw"
       caps mon = "allow r"


[root@ControllerA manila]# cat manila-share.log  
2021-10-20 10:03:22.286 7 INFO oslo_service.periodic_task [-] Skipping periodic task update_share_usage_size because it is disabled
2021-10-20 10:03:22.310 7 INFO oslo_service.service [req-5b253656-4fe2-4087-b4ab-9ba2a8a0443f - - - - -] Starting 1 workers
2021-10-20 10:03:22.315 30 INFO manila.service [-] Starting manila-share node (version 12.0.1)
2021-10-20 10:03:22.320 30 INFO manila.share.drivers.cephfs.driver [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] [CEPHFS1] Cep
h client found, connecting...
2021-10-20 10:03:22.368 30 INFO manila.share.drivers.cephfs.driver [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] [CEPHFS1] Cep
h client connection complete.
2021-10-20 10:03:22.372 30 ERROR manila.share.manager [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] Error encountered during i
nitialization of driver CephFSDriver@ControllerA@cephfsnative1: manila.exception.ShareBackendException: json_command failed - prefix=
fs volume ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:03:22.372 30 ERROR manila.share.manager Traceback (most recent call last):

2021-10-20 10:03:22.372 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 191, in rados_command
2021-10-20 10:03:22.372 30 ERROR manila.share.manager     timeout=RADOS_TIMEOUT)
2021-10-20 10:03:22.372 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1460, in json_
command
2021-10-20 10:03:22.372 30 ERROR manila.share.manager     inbuf, timeout, verbose)
2021-10-20 10:03:22.372 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1330, in send_
command_retry
2021-10-20 10:03:22.372 30 ERROR manila.share.manager     return send_command(*args, **kwargs)
2021-10-20 10:03:22.372 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1412, in send_
command
2021-10-20 10:03:22.372 30 ERROR manila.share.manager     raise ArgumentValid("Bad target type '{0}'".format(target[0]))
2021-10-20 10:03:22.372 30 ERROR manila.share.manager ceph_argparse.ArgumentValid: Bad target type 'mon-mgr'
2021-10-20 10:03:22.372 30 ERROR manila.share.manager  
2021-10-20 10:03:22.372 30 ERROR manila.share.manager During handling of the above exception, another exception occurred:
2021-10-20 10:03:22.372 30 ERROR manila.share.manager  
2021-10-20 10:03:22.372 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:03:22.372 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/manager.py
", line 346, in _driver_setup
2021-10-20 10:03:22.372 30 ERROR manila.share.manager     self.driver.do_setup(ctxt)
2021-10-20 10:03:22.372 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 251, in do_setup
2021-10-20 10:03:22.372 30 ERROR manila.share.manager     volname=self.volname)
2021-10-20 10:03:22.372 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 401, in volname
2021-10-20 10:03:22.372 30 ERROR manila.share.manager     self.rados_client, "fs volume ls", json_obj=True)
2021-10-20 10:03:22.372 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 205, in rados_command
2021-10-20 10:03:22.372 30 ERROR manila.share.manager     raise exception.ShareBackendException(msg)
2021-10-20 10:03:22.372 30 ERROR manila.share.manager manila.exception.ShareBackendException: json_command failed - prefix=fs volume
ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:03:22.372 30 ERROR manila.share.manager  
2021-10-20 10:03:26.379 30 ERROR manila.share.manager [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] Error encountered during i
nitialization of driver CephFSDriver@ControllerA@cephfsnative1: manila.exception.ShareBackendException: json_command failed - prefix=
fs volume ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:03:26.379 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:03:26.379 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 191, in rados_command
2021-10-20 10:03:26.379 30 ERROR manila.share.manager     timeout=RADOS_TIMEOUT)
2021-10-20 10:03:26.379 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1460, in json_
command
2021-10-20 10:03:26.379 30 ERROR manila.share.manager     inbuf, timeout, verbose)
2021-10-20 10:03:26.379 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1330, in send_
command_retry
2021-10-20 10:03:26.379 30 ERROR manila.share.manager     return send_command(*args, **kwargs)
2021-10-20 10:03:26.379 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1412, in send_
command
2021-10-20 10:03:26.379 30 ERROR manila.share.manager     raise ArgumentValid("Bad target type '{0}'".format(target[0]))
2021-10-20 10:03:26.379 30 ERROR manila.share.manager ceph_argparse.ArgumentValid: Bad target type 'mon-mgr'
2021-10-20 10:03:26.379 30 ERROR manila.share.manager  
2021-10-20 10:03:26.379 30 ERROR manila.share.manager During handling of the above exception, another exception occurred:
2021-10-20 10:03:26.379 30 ERROR manila.share.manager  
2021-10-20 10:03:26.379 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:03:26.379 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/manager.py
", line 346, in _driver_setup
2021-10-20 10:03:26.379 30 ERROR manila.share.manager     self.driver.do_setup(ctxt)
2021-10-20 10:03:26.379 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 251, in do_setup
2021-10-20 10:03:26.379 30 ERROR manila.share.manager     volname=self.volname)
2021-10-20 10:03:26.379 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 401, in volname
2021-10-20 10:03:26.379 30 ERROR manila.share.manager     self.rados_client, "fs volume ls", json_obj=True)
2021-10-20 10:03:26.379 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 205, in rados_command
2021-10-20 10:03:26.379 30 ERROR manila.share.manager     raise exception.ShareBackendException(msg)
2021-10-20 10:03:26.379 30 ERROR manila.share.manager manila.exception.ShareBackendException: json_command failed - prefix=fs volume
ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:03:26.379 30 ERROR manila.share.manager  
2021-10-20 10:03:34.387 30 ERROR manila.share.manager [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] Error encountered during i
nitialization of driver CephFSDriver@ControllerA@cephfsnative1: manila.exception.ShareBackendException: json_command failed - prefix=
fs volume ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:03:34.387 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:03:34.387 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 191, in rados_command
2021-10-20 10:03:34.387 30 ERROR manila.share.manager     timeout=RADOS_TIMEOUT)
2021-10-20 10:03:34.387 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1460, in json_
command
2021-10-20 10:03:34.387 30 ERROR manila.share.manager     inbuf, timeout, verbose)
2021-10-20 10:03:34.387 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1330, in send_
command_retry
2021-10-20 10:03:34.387 30 ERROR manila.share.manager     return send_command(*args, **kwargs)
2021-10-20 10:03:34.387 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1412, in send_
command
2021-10-20 10:03:34.387 30 ERROR manila.share.manager     raise ArgumentValid("Bad target type '{0}'".format(target[0]))
2021-10-20 10:03:34.387 30 ERROR manila.share.manager ceph_argparse.ArgumentValid: Bad target type 'mon-mgr'
2021-10-20 10:03:34.387 30 ERROR manila.share.manager  
2021-10-20 10:03:34.387 30 ERROR manila.share.manager During handling of the above exception, another exception occurred:
2021-10-20 10:03:34.387 30 ERROR manila.share.manager  
2021-10-20 10:03:34.387 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:03:34.387 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/manager.py
", line 346, in _driver_setup
2021-10-20 10:03:34.387 30 ERROR manila.share.manager     self.driver.do_setup(ctxt)
2021-10-20 10:03:34.387 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 251, in do_setup
2021-10-20 10:03:34.387 30 ERROR manila.share.manager     volname=self.volname)
2021-10-20 10:03:34.387 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 401, in volname
2021-10-20 10:03:34.387 30 ERROR manila.share.manager     self.rados_client, "fs volume ls", json_obj=True)
2021-10-20 10:03:34.387 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 205, in rados_command
2021-10-20 10:03:34.387 30 ERROR manila.share.manager     raise exception.ShareBackendException(msg)
2021-10-20 10:03:34.387 30 ERROR manila.share.manager manila.exception.ShareBackendException: json_command failed - prefix=fs volume
ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:03:34.387 30 ERROR manila.share.manager  
2021-10-20 10:03:50.404 30 ERROR manila.share.manager [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] Error encountered during i
nitialization of driver CephFSDriver@ControllerA@cephfsnative1: manila.exception.ShareBackendException: json_command failed - prefix=
fs volume ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:03:50.404 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:03:50.404 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 191, in rados_command
2021-10-20 10:03:50.404 30 ERROR manila.share.manager     timeout=RADOS_TIMEOUT)
2021-10-20 10:03:50.404 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1460, in json_
command
2021-10-20 10:03:50.404 30 ERROR manila.share.manager     inbuf, timeout, verbose)
2021-10-20 10:03:50.404 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1330, in send_
command_retry
2021-10-20 10:03:50.404 30 ERROR manila.share.manager     return send_command(*args, **kwargs)
2021-10-20 10:03:50.404 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1412, in send_
command
2021-10-20 10:03:50.404 30 ERROR manila.share.manager     raise ArgumentValid("Bad target type '{0}'".format(target[0]))
2021-10-20 10:03:50.404 30 ERROR manila.share.manager ceph_argparse.ArgumentValid: Bad target type 'mon-mgr'
2021-10-20 10:03:50.404 30 ERROR manila.share.manager  
2021-10-20 10:03:50.404 30 ERROR manila.share.manager During handling of the above exception, another exception occurred:
2021-10-20 10:03:50.404 30 ERROR manila.share.manager  
2021-10-20 10:03:50.404 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:03:50.404 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/manager.py
", line 346, in _driver_setup
2021-10-20 10:03:50.404 30 ERROR manila.share.manager     self.driver.do_setup(ctxt)
2021-10-20 10:03:50.404 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 251, in do_setup
2021-10-20 10:03:50.404 30 ERROR manila.share.manager     volname=self.volname)
2021-10-20 10:03:50.404 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 401, in volname
2021-10-20 10:03:50.404 30 ERROR manila.share.manager     self.rados_client, "fs volume ls", json_obj=True)
2021-10-20 10:03:50.404 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 205, in rados_command
2021-10-20 10:03:50.404 30 ERROR manila.share.manager     raise exception.ShareBackendException(msg)
2021-10-20 10:03:50.404 30 ERROR manila.share.manager manila.exception.ShareBackendException: json_command failed - prefix=fs volume
ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:03:50.404 30 ERROR manila.share.manager  
2021-10-20 10:04:22.436 30 ERROR manila.share.manager [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] Error encountered during i
nitialization of driver CephFSDriver@ControllerA@cephfsnative1: manila.exception.ShareBackendException: json_command failed - prefix=
fs volume ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:04:22.436 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:04:22.436 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 191, in rados_command
2021-10-20 10:04:22.436 30 ERROR manila.share.manager     timeout=RADOS_TIMEOUT)
2021-10-20 10:04:22.436 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1460, in json_
command
2021-10-20 10:04:22.436 30 ERROR manila.share.manager     inbuf, timeout, verbose)
2021-10-20 10:04:22.436 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1330, in send_
command_retry
2021-10-20 10:04:22.436 30 ERROR manila.share.manager     return send_command(*args, **kwargs)
2021-10-20 10:04:22.436 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1412, in send_
command
2021-10-20 10:04:22.436 30 ERROR manila.share.manager     raise ArgumentValid("Bad target type '{0}'".format(target[0]))
2021-10-20 10:04:22.436 30 ERROR manila.share.manager ceph_argparse.ArgumentValid: Bad target type 'mon-mgr'
2021-10-20 10:04:22.436 30 ERROR manila.share.manager  
2021-10-20 10:04:22.436 30 ERROR manila.share.manager During handling of the above exception, another exception occurred:
2021-10-20 10:04:22.436 30 ERROR manila.share.manager  
2021-10-20 10:04:22.436 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:04:22.436 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/manager.py
", line 346, in _driver_setup
2021-10-20 10:04:22.436 30 ERROR manila.share.manager     self.driver.do_setup(ctxt)
2021-10-20 10:04:22.436 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 251, in do_setup
2021-10-20 10:04:22.436 30 ERROR manila.share.manager     volname=self.volname)
2021-10-20 10:04:22.436 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 401, in volname
2021-10-20 10:04:22.436 30 ERROR manila.share.manager     self.rados_client, "fs volume ls", json_obj=True)
2021-10-20 10:04:22.436 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 205, in rados_command
2021-10-20 10:04:22.436 30 ERROR manila.share.manager     raise exception.ShareBackendException(msg)
2021-10-20 10:04:22.436 30 ERROR manila.share.manager manila.exception.ShareBackendException: json_command failed - prefix=fs volume
ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:04:22.436 30 ERROR manila.share.manager  
2021-10-20 10:05:26.438 30 ERROR manila.share.manager [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] Error encountered during i
nitialization of driver CephFSDriver@ControllerA@cephfsnative1: manila.exception.ShareBackendException: json_command failed - prefix=
fs volume ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:05:26.438 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:05:26.438 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 191, in rados_command
2021-10-20 10:05:26.438 30 ERROR manila.share.manager     timeout=RADOS_TIMEOUT)
2021-10-20 10:05:26.438 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1460, in json_
command
2021-10-20 10:05:26.438 30 ERROR manila.share.manager     inbuf, timeout, verbose)
2021-10-20 10:05:26.438 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1330, in send_
command_retry
2021-10-20 10:05:26.438 30 ERROR manila.share.manager     return send_command(*args, **kwargs)
2021-10-20 10:05:26.438 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1412, in send_
command
2021-10-20 10:05:26.438 30 ERROR manila.share.manager     raise ArgumentValid("Bad target type '{0}'".format(target[0]))
2021-10-20 10:05:26.438 30 ERROR manila.share.manager ceph_argparse.ArgumentValid: Bad target type 'mon-mgr'
2021-10-20 10:05:26.438 30 ERROR manila.share.manager  
2021-10-20 10:05:26.438 30 ERROR manila.share.manager During handling of the above exception, another exception occurred:
2021-10-20 10:05:26.438 30 ERROR manila.share.manager  
2021-10-20 10:05:26.438 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:05:26.438 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/manager.py
", line 346, in _driver_setup
2021-10-20 10:05:26.438 30 ERROR manila.share.manager     self.driver.do_setup(ctxt)
2021-10-20 10:05:26.438 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 251, in do_setup
2021-10-20 10:05:26.438 30 ERROR manila.share.manager     volname=self.volname)
2021-10-20 10:05:26.438 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 401, in volname
2021-10-20 10:05:26.438 30 ERROR manila.share.manager     self.rados_client, "fs volume ls", json_obj=True)
2021-10-20 10:05:26.438 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 205, in rados_command
2021-10-20 10:05:26.438 30 ERROR manila.share.manager     raise exception.ShareBackendException(msg)
2021-10-20 10:05:26.438 30 ERROR manila.share.manager manila.exception.ShareBackendException: json_command failed - prefix=fs volume
ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:05:26.438 30 ERROR manila.share.manager  
2021-10-20 10:07:34.539 30 ERROR manila.share.manager [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] Error encountered during i
nitialization of driver CephFSDriver@ControllerA@cephfsnative1: manila.exception.ShareBackendException: json_command failed - prefix=
fs volume ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:07:34.539 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:07:34.539 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 191, in rados_command
2021-10-20 10:07:34.539 30 ERROR manila.share.manager     timeout=RADOS_TIMEOUT)
2021-10-20 10:07:34.539 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1460, in json_
command
2021-10-20 10:07:34.539 30 ERROR manila.share.manager     inbuf, timeout, verbose)
2021-10-20 10:07:34.539 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1330, in send_
command_retry
2021-10-20 10:07:34.539 30 ERROR manila.share.manager     return send_command(*args, **kwargs)
2021-10-20 10:07:34.539 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1412, in send_
command
2021-10-20 10:07:34.539 30 ERROR manila.share.manager     raise ArgumentValid("Bad target type '{0}'".format(target[0]))
2021-10-20 10:07:34.539 30 ERROR manila.share.manager ceph_argparse.ArgumentValid: Bad target type 'mon-mgr'
2021-10-20 10:07:34.539 30 ERROR manila.share.manager  
2021-10-20 10:07:34.539 30 ERROR manila.share.manager During handling of the above exception, another exception occurred:
2021-10-20 10:07:34.539 30 ERROR manila.share.manager  
2021-10-20 10:07:34.539 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:07:34.539 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/manager.py
", line 346, in _driver_setup
2021-10-20 10:07:34.539 30 ERROR manila.share.manager     self.driver.do_setup(ctxt)
2021-10-20 10:07:34.539 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 251, in do_setup
2021-10-20 10:07:34.539 30 ERROR manila.share.manager     volname=self.volname)
2021-10-20 10:07:34.539 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 401, in volname
2021-10-20 10:07:34.539 30 ERROR manila.share.manager     self.rados_client, "fs volume ls", json_obj=True)
2021-10-20 10:07:34.539 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 205, in rados_command
2021-10-20 10:07:34.539 30 ERROR manila.share.manager     raise exception.ShareBackendException(msg)
2021-10-20 10:07:34.539 30 ERROR manila.share.manager manila.exception.ShareBackendException: json_command failed - prefix=fs volume
ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:07:34.539 30 ERROR manila.share.manager  
2021-10-20 10:11:50.596 30 ERROR manila.share.manager [req-9e549670-d131-4572-b57e-761b513abc75 - - - - -] Error encountered during i
nitialization of driver CephFSDriver@ControllerA@cephfsnative1: manila.exception.ShareBackendException: json_command failed - prefix=
fs volume ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:11:50.596 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:11:50.596 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 191, in rados_command
2021-10-20 10:11:50.596 30 ERROR manila.share.manager     timeout=RADOS_TIMEOUT)
2021-10-20 10:11:50.596 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1460, in json_
command
2021-10-20 10:11:50.596 30 ERROR manila.share.manager     inbuf, timeout, verbose)
2021-10-20 10:11:50.596 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1330, in send_
command_retry
2021-10-20 10:11:50.596 30 ERROR manila.share.manager     return send_command(*args, **kwargs)
2021-10-20 10:11:50.596 30 ERROR manila.share.manager   File "/usr/lib/python3.6/site-packages/ceph_argparse.py", line 1412, in send_
command
2021-10-20 10:11:50.596 30 ERROR manila.share.manager     raise ArgumentValid("Bad target type '{0}'".format(target[0]))
2021-10-20 10:11:50.596 30 ERROR manila.share.manager ceph_argparse.ArgumentValid: Bad target type 'mon-mgr'
2021-10-20 10:11:50.596 30 ERROR manila.share.manager  
2021-10-20 10:11:50.596 30 ERROR manila.share.manager During handling of the above exception, another exception occurred:
2021-10-20 10:11:50.596 30 ERROR manila.share.manager  
2021-10-20 10:11:50.596 30 ERROR manila.share.manager Traceback (most recent call last):
2021-10-20 10:11:50.596 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/manager.py
", line 346, in _driver_setup
2021-10-20 10:11:50.596 30 ERROR manila.share.manager     self.driver.do_setup(ctxt)
2021-10-20 10:11:50.596 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 251, in do_setup
2021-10-20 10:11:50.596 30 ERROR manila.share.manager     volname=self.volname)
2021-10-20 10:11:50.596 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 401, in volname
2021-10-20 10:11:50.596 30 ERROR manila.share.manager     self.rados_client, "fs volume ls", json_obj=True)
2021-10-20 10:11:50.596 30 ERROR manila.share.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/manila/share/drivers/ce
phfs/driver.py", line 205, in rados_command
2021-10-20 10:11:50.596 30 ERROR manila.share.manager     raise exception.ShareBackendException(msg)
2021-10-20 10:11:50.596 30 ERROR manila.share.manager manila.exception.ShareBackendException: json_command failed - prefix=fs volume
ls, argdict={'format': 'json'} - exception message: Bad target type 'mon-mgr'.
2021-10-20 10:11:50.596 30 ERROR manila.share.manager

Regards

Le mer. 20 oct. 2021 à 00:14, Goutham Pacha Ravi <gouthampravi@gmail.com> a écrit :

On Tue, Oct 19, 2021 at 2:35 PM wodel youchi <wodel.youchi@gmail.com> wrote:
Hi,
Has anyone been successful in deploying Manila wallaby using kolla-ansible with ceph pacific as a backend?

I have created the manila client in ceph pacific like this :

ceph auth get-or-create client.manila mon 'allow r' mds 'allow r, allow rw path=/' osd 'allow rw pool=cephfs_data' mgr 'allow rw'

When I deploy, I get this error in manila's log file :

Bad target type 'mon-mgr'

Any ideas?

Could you share the full log from the manila-share service? 
There's an open bug related to manila/cephfs deployment: https://bugs.launchpad.net/kolla-ansible/+bug/1935784 
Proposed fix: https://review.opendev.org/c/openstack/kolla-ansible/+/802743


 

Regards.