<div dir="ltr"><br><div>Thank you!! </div><div><br></div><div>We have to push this patch also because Manila had issue related policy.json file which i have to delete in order to make it work properly. <a href="https://review.opendev.org/c/openstack/kolla/+/812479">https://review.opendev.org/c/openstack/kolla/+/812479</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 8, 2022 at 10:17 AM Radosław Piliszek <<a href="mailto:radoslaw.piliszek@gmail.com">radoslaw.piliszek@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">As we have discussed on IRC - this is a discrepancy in Debuntu images.<br>
I have reported the issue for you and will see to it getting fixed as<br>
it's a simple and obvious bug. [1]<br>
<br>
[1] <a href="https://bugs.launchpad.net/kolla/+bug/1964140" rel="noreferrer" target="_blank">https://bugs.launchpad.net/kolla/+bug/1964140</a><br>
<br>
-yoctozepto<br>
<br>
On Tue, 8 Mar 2022 at 06:07, Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br>
><br>
> Folks,<br>
><br>
> I am trying to configure Manila with kolla-ansible using glusterfs with ganesha-nfs server, I am running glusterfs and ganesha-nfs on the same server and getting the following error messages in manila-share.log service file. What am I missing here?<br>
><br>
> 2022-03-08 04:39:32.940 17 INFO paramiko.transport [-] Connected (version 2.0, client OpenSSH_8.2p1)<br>
> 2022-03-08 04:39:32.982 17 INFO paramiko.transport [-] Authentication (password) successful!<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager [req-c2925794-b62a-47b9-8f44-90939d417329 - - - - -] Error encountered during initialization of driver GlusterfsShareDriver@kolla@ganesha: manila.exception.GlusterfsException: mount.glusterfs is not installed.<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager Traceback (most recent call last):<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager   File "/usr/lib/python3/dist-packages/manila/share/drivers/glusterfs/layout.py", line 216, in _check_mount_glusterfs<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager     self.driver._execute('mount.glusterfs', check_exit_code=False)<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager   File "/usr/lib/python3/dist-packages/manila/utils.py", line 101, in execute<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager     return processutils.execute(*cmd, **kwargs)<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager   File "/usr/lib/python3/dist-packages/oslo_concurrency/processutils.py", line 395, in execute<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager     obj = subprocess.Popen(cmd,<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager   File "/usr/lib/python3/dist-packages/eventlet/green/subprocess.py", line 58, in __init__<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager     subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager   File "/usr/lib/python3.8/subprocess.py", line 858, in __init__<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager     self._execute_child(args, executable, preexec_fn, close_fds,<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager   File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager     raise child_exception_type(errno_num, err_msg, err_filename)<br>
> 2022-03-08 04:39:33.815 17 ERROR manila.share.manager FileNotFoundError: [Errno 2] No such file or directory: 'mount.glusterfs'<br>
><br>
><br>
> My manila Config<br>
><br>
> [DEFAULT]<br>
> enabled_share_backends=ganesha<br>
> enabled_share_protocols = NFS,CIFS,GLUSTERFS<br>
><br>
> [ganesha]<br>
> share_backend_name = ganesha<br>
> glusterfs_nfs_server_type = Ganesha<br>
> glusterfs_target=<a href="mailto:root@10.30.1." target="_blank">root@10.30.1.</a>206:/myshare/brick1/brick<br>
> glusterfs_server_password=XXXXXXXXXXX<br>
> share_driver = manila.share.drivers.glusterfs.GlusterfsShareDriver<br>
> ganesha_service_name = nfs-ganesha<br>
> driver_handles_share_servers = False<br>
> glusterfs_ganesha_server_ip=10.30.1.206<br>
> glusterfs_ganesha_server_username=root<br>
> glusterfs_ganesha_server_password=XXXXXXXXXX<br>
><br>
><br>
> My share<br>
><br>
> root@kolla-gluster:~# showmount -e localhost<br>
> Export list for localhost:<br>
> /myshare/brick1/brick (everyone)<br>
><br>
><br>
</blockquote></div>