[kolla-ansible][manila] mount.glusterfs is not installed

Satish Patel satish.txt at gmail.com
Tue Mar 8 19:19:46 UTC 2022


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 at 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 at 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 at 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 at 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 at kolla-gluster:~# showmount -e localhost
> > Export list for localhost:
> > /myshare/brick1/brick (everyone)
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220308/5bb2b195/attachment.htm>


More information about the openstack-discuss mailing list