Folks, 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? 2022-03-08 04:39:32.940 17 INFO paramiko.transport [-] Connected (version 2.0, client OpenSSH_8.2p1) 2022-03-08 04:39:32.982 17 INFO paramiko.transport [-] Authentication (password) successful! 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. 2022-03-08 04:39:33.815 17 ERROR manila.share.manager Traceback (most recent call last): 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager self.driver._execute('mount.glusterfs', check_exit_code=False) 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager return processutils.execute(*cmd, **kwargs) 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager obj = subprocess.Popen(cmd, 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__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager self._execute_child(args, executable, preexec_fn, close_fds, 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child 2022-03-08 04:39:33.815 17 ERROR manila.share.manager raise child_exception_type(errno_num, err_msg, err_filename) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager FileNotFoundError: [Errno 2] No such file or directory: 'mount.glusterfs' My manila Config [DEFAULT] enabled_share_backends=ganesha enabled_share_protocols = NFS,CIFS,GLUSTERFS [ganesha] share_backend_name = ganesha glusterfs_nfs_server_type = Ganesha glusterfs_target=root@10.30.1.206:/myshare/brick1/brick glusterfs_server_password=XXXXXXXXXXX share_driver = manila.share.drivers.glusterfs.GlusterfsShareDriver ganesha_service_name = nfs-ganesha driver_handles_share_servers = False glusterfs_ganesha_server_ip=10.30.1.206 glusterfs_ganesha_server_username=root glusterfs_ganesha_server_password=XXXXXXXXXX My share root@kolla-gluster:~# showmount -e localhost Export list for localhost: /myshare/brick1/brick (everyone)
As we have discussed on IRC - this is a discrepancy in Debuntu images. I have reported the issue for you and will see to it getting fixed as it's a simple and obvious bug. [1] [1] https://bugs.launchpad.net/kolla/+bug/1964140 -yoctozepto On Tue, 8 Mar 2022 at 06:07, Satish Patel <satish.txt@gmail.com> wrote:
Folks,
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?
2022-03-08 04:39:32.940 17 INFO paramiko.transport [-] Connected (version 2.0, client OpenSSH_8.2p1) 2022-03-08 04:39:32.982 17 INFO paramiko.transport [-] Authentication (password) successful! 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. 2022-03-08 04:39:33.815 17 ERROR manila.share.manager Traceback (most recent call last): 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager self.driver._execute('mount.glusterfs', check_exit_code=False) 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager return processutils.execute(*cmd, **kwargs) 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager obj = subprocess.Popen(cmd, 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__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager self._execute_child(args, executable, preexec_fn, close_fds, 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child 2022-03-08 04:39:33.815 17 ERROR manila.share.manager raise child_exception_type(errno_num, err_msg, err_filename) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager FileNotFoundError: [Errno 2] No such file or directory: 'mount.glusterfs'
My manila Config
[DEFAULT] enabled_share_backends=ganesha enabled_share_protocols = NFS,CIFS,GLUSTERFS
[ganesha] share_backend_name = ganesha glusterfs_nfs_server_type = Ganesha glusterfs_target=root@10.30.1.206:/myshare/brick1/brick glusterfs_server_password=XXXXXXXXXXX share_driver = manila.share.drivers.glusterfs.GlusterfsShareDriver ganesha_service_name = nfs-ganesha driver_handles_share_servers = False glusterfs_ganesha_server_ip=10.30.1.206 glusterfs_ganesha_server_username=root glusterfs_ganesha_server_password=XXXXXXXXXX
My share
root@kolla-gluster:~# showmount -e localhost Export list for localhost: /myshare/brick1/brick (everyone)
Thank you!! 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. https://review.opendev.org/c/openstack/kolla/+/812479 On Tue, Mar 8, 2022 at 10:17 AM Radosław Piliszek < radoslaw.piliszek@gmail.com> wrote:
As we have discussed on IRC - this is a discrepancy in Debuntu images. I have reported the issue for you and will see to it getting fixed as it's a simple and obvious bug. [1]
[1] https://bugs.launchpad.net/kolla/+bug/1964140
-yoctozepto
On Tue, 8 Mar 2022 at 06:07, Satish Patel <satish.txt@gmail.com> wrote:
Folks,
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?
2022-03-08 04:39:32.940 17 INFO paramiko.transport [-] Connected
2022-03-08 04:39:32.982 17 INFO paramiko.transport [-] Authentication (password) successful! 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. 2022-03-08 04:39:33.815 17 ERROR manila.share.manager Traceback (most recent call last): 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3/dist-packages/manila/share/drivers/glusterfs/layout.py",
2022-03-08 04:39:33.815 17 ERROR manila.share.manager self.driver._execute('mount.glusterfs', check_exit_code=False) 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager return
(version 2.0, client OpenSSH_8.2p1) line 216, in _check_mount_glusterfs processutils.execute(*cmd, **kwargs)
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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager obj = subprocess.Popen(cmd, 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__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager self._execute_child(args, executable, preexec_fn, close_fds, 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child 2022-03-08 04:39:33.815 17 ERROR manila.share.manager raise child_exception_type(errno_num, err_msg, err_filename) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager FileNotFoundError: [Errno 2] No such file or directory: 'mount.glusterfs'
My manila Config
[DEFAULT] enabled_share_backends=ganesha enabled_share_protocols = NFS,CIFS,GLUSTERFS
[ganesha] share_backend_name = ganesha glusterfs_nfs_server_type = Ganesha glusterfs_target=root@10.30.1.206:/myshare/brick1/brick glusterfs_server_password=XXXXXXXXXXX share_driver = manila.share.drivers.glusterfs.GlusterfsShareDriver ganesha_service_name = nfs-ganesha driver_handles_share_servers = False glusterfs_ganesha_server_ip=10.30.1.206 glusterfs_ganesha_server_username=root glusterfs_ganesha_server_password=XXXXXXXXXX
My share
root@kolla-gluster:~# showmount -e localhost Export list for localhost: /myshare/brick1/brick (everyone)
If you are using "binary" images, then the recommendation is to switch to "source" images. "binary" images are deprecated and will only receive minimal fixing. I replied on the change as well. -yoctozepto On Tue, 8 Mar 2022 at 20:19, Satish Patel <satish.txt@gmail.com> wrote:
Thank you!!
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. https://review.opendev.org/c/openstack/kolla/+/812479
On Tue, Mar 8, 2022 at 10:17 AM Radosław Piliszek <radoslaw.piliszek@gmail.com> wrote:
As we have discussed on IRC - this is a discrepancy in Debuntu images. I have reported the issue for you and will see to it getting fixed as it's a simple and obvious bug. [1]
[1] https://bugs.launchpad.net/kolla/+bug/1964140
-yoctozepto
On Tue, 8 Mar 2022 at 06:07, Satish Patel <satish.txt@gmail.com> wrote:
Folks,
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?
2022-03-08 04:39:32.940 17 INFO paramiko.transport [-] Connected (version 2.0, client OpenSSH_8.2p1) 2022-03-08 04:39:32.982 17 INFO paramiko.transport [-] Authentication (password) successful! 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. 2022-03-08 04:39:33.815 17 ERROR manila.share.manager Traceback (most recent call last): 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager self.driver._execute('mount.glusterfs', check_exit_code=False) 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager return processutils.execute(*cmd, **kwargs) 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager obj = subprocess.Popen(cmd, 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__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager self._execute_child(args, executable, preexec_fn, close_fds, 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child 2022-03-08 04:39:33.815 17 ERROR manila.share.manager raise child_exception_type(errno_num, err_msg, err_filename) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager FileNotFoundError: [Errno 2] No such file or directory: 'mount.glusterfs'
My manila Config
[DEFAULT] enabled_share_backends=ganesha enabled_share_protocols = NFS,CIFS,GLUSTERFS
[ganesha] share_backend_name = ganesha glusterfs_nfs_server_type = Ganesha glusterfs_target=root@10.30.1.206:/myshare/brick1/brick glusterfs_server_password=XXXXXXXXXXX share_driver = manila.share.drivers.glusterfs.GlusterfsShareDriver ganesha_service_name = nfs-ganesha driver_handles_share_servers = False glusterfs_ganesha_server_ip=10.30.1.206 glusterfs_ganesha_server_username=root glusterfs_ganesha_server_password=XXXXXXXXXX
My share
root@kolla-gluster:~# showmount -e localhost Export list for localhost: /myshare/brick1/brick (everyone)
Thanks for the tip! I will switch images to sources then :) On Tue, Mar 8, 2022 at 2:26 PM Radosław Piliszek < radoslaw.piliszek@gmail.com> wrote:
If you are using "binary" images, then the recommendation is to switch to "source" images. "binary" images are deprecated and will only receive minimal fixing. I replied on the change as well.
-yoctozepto
On Tue, 8 Mar 2022 at 20:19, Satish Patel <satish.txt@gmail.com> wrote:
Thank you!!
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. https://review.opendev.org/c/openstack/kolla/+/812479
On Tue, Mar 8, 2022 at 10:17 AM Radosław Piliszek <
As we have discussed on IRC - this is a discrepancy in Debuntu images. I have reported the issue for you and will see to it getting fixed as it's a simple and obvious bug. [1]
[1] https://bugs.launchpad.net/kolla/+bug/1964140
-yoctozepto
On Tue, 8 Mar 2022 at 06:07, Satish Patel <satish.txt@gmail.com> wrote:
Folks,
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?
2022-03-08 04:39:32.940 17 INFO paramiko.transport [-] Connected
(version 2.0, client OpenSSH_8.2p1)
2022-03-08 04:39:32.982 17 INFO paramiko.transport [-] Authentication (password) successful! 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. 2022-03-08 04:39:33.815 17 ERROR manila.share.manager Traceback (most recent call last): 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3/dist-packages/manila/share/drivers/glusterfs/layout.py",
2022-03-08 04:39:33.815 17 ERROR manila.share.manager self.driver._execute('mount.glusterfs', check_exit_code=False) 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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager return
radoslaw.piliszek@gmail.com> wrote: line 216, in _check_mount_glusterfs processutils.execute(*cmd, **kwargs)
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 2022-03-08 04:39:33.815 17 ERROR manila.share.manager obj = subprocess.Popen(cmd, 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__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 858, in __init__ 2022-03-08 04:39:33.815 17 ERROR manila.share.manager self._execute_child(args, executable, preexec_fn, close_fds, 2022-03-08 04:39:33.815 17 ERROR manila.share.manager File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child 2022-03-08 04:39:33.815 17 ERROR manila.share.manager raise child_exception_type(errno_num, err_msg, err_filename) 2022-03-08 04:39:33.815 17 ERROR manila.share.manager FileNotFoundError: [Errno 2] No such file or directory: 'mount.glusterfs'
My manila Config
[DEFAULT] enabled_share_backends=ganesha enabled_share_protocols = NFS,CIFS,GLUSTERFS
[ganesha] share_backend_name = ganesha glusterfs_nfs_server_type = Ganesha glusterfs_target=root@10.30.1.206:/myshare/brick1/brick glusterfs_server_password=XXXXXXXXXXX share_driver = manila.share.drivers.glusterfs.GlusterfsShareDriver ganesha_service_name = nfs-ganesha driver_handles_share_servers = False glusterfs_ganesha_server_ip=10.30.1.206 glusterfs_ganesha_server_username=root glusterfs_ganesha_server_password=XXXXXXXXXX
My share
root@kolla-gluster:~# showmount -e localhost Export list for localhost: /myshare/brick1/brick (everyone)
participants (2)
-
Radosław Piliszek
-
Satish Patel