Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mount failed When choose fileserver type Gluster #292

Open
Aman123mishra opened this issue Jun 18, 2023 · 5 comments
Open

Mount failed When choose fileserver type Gluster #292

Aman123mishra opened this issue Jun 18, 2023 · 5 comments

Comments

@Aman123mishra
Copy link

Hi,

When choose fileserver type Gluster in the template Moodle mount point faild and site url not working and no web server installed in the system.

  • setup_and_mount_gluster_moodle_share gluster-vm-iypot30 data
  • local glusterNode=gluster-vm-iypot30
  • local glusterVolume=data
  • grep -q '/moodle.*glusterfs' /etc/fstab
  • echo -e 'gluster-vm-iypot30:/data /moodle glusterfs defaults,_netdev,log-level=WARNING,log-file=/var/log/gluster.log 0 0'
  • mount /moodle
    Mount failed. Please check the log file for more details.
@naioja
Copy link
Collaborator

naioja commented Jun 19, 2023

@Aman123mishra what is the exact error that you get when the mount fails ?

@Aman123mishra
Copy link
Author

Hi @naioja

As i have mention the error which i have seen in install.log file when i choose fileserver type gluster and now i have also tried to chose fileserver type NFS and i am getting the error in the instrall.log file please see below.

The following NEW packages will be installed:
unzip
0 upgraded, 1 newly installed, 0 to remove and 45 not upgraded.
Need to get 168 kB of archives.
After this operation, 567 kB of additional disk space will be used.
Get:1 http://azure.archive.ubuntu.com/ubuntu bionic-updates/main amd64 unzip amd64 6.0-21ubuntu1.2 [168 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 168 kB in 0s (4816 kB/s)
Selecting previously unselected package unzip.
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%$
Preparing to unpack .../unzip_6.0-21ubuntu1.2_amd64.deb ...
Unpacking unzip (6.0-21ubuntu1.2) ...
Setting up unzip (6.0-21ubuntu1.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...

  • sudo apt-get -y --force-yes install nginx php7.4-fpm varnish
    W: --force-yes is deprecated, use one of the options starting with --allow instead.
    E: Unable to locate package php7.4-fpm
    E: Couldn't find any package by glob 'php7.4-fpm'
    E: Couldn't find any package by regex 'php7.4-fpm'

I have deleted Gluster template, i have now only NFS template installed if you want some others logs related NFS, please let me know the location i will share the same here.

Thanks

@Aman123mishra
Copy link
Author

Hi @naioja,

This is the error which i have seen in gluster.log file.

[2023-06-20 08:52:59.080697] W [MSGID: 101002] [options.c:995:xl_opt_validate] 0-glusterfs: option 'address-family' is deprecated, preferred is 'transport.address-family', continuing with correction
[2023-06-20 08:52:59.084888] W [socket.c:3216:socket_connect] 0-glusterfs: Error disabling sockopt IPV6_V6ONLY: "Protocol not available"
[2023-06-20 08:52:59.086201] E [socket.c:2374:socket_connect_finish] 0-glusterfs: connection to 172.31.2.4:24007 failed (Connection refused); disconnecting socket
[2023-06-20 08:52:59.089293] W [glusterfsd.c:1393:cleanup_and_exit] (-->/usr/lib/x86_64-linux-gnu/libgfrpc.so.0(rpc_clnt_notify+0xab) [0x7f281cd7652b] -->/usr/sbin/glusterfs(+0x1131e) [0x55d09f58431e] -->/usr/sbin/glusterfs(cleanup_and_exit+0x5a) [0x55d09f57a44a] ) 0-: received signum (1), shutting down
[2023-06-20 08:52:59.092926] W [glusterfsd.c:1393:cleanup_and_exit] (-->/lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f281c7336db] -->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xf5) [0x55d09f57a655] -->/usr/sbin/glusterfs(cleanup_and_exit+0x5a) [0x55d09f57a44a] ) 0-: received signum (15), shutting down

@Aman123mishra
Copy link
Author

Hi @naioja

still looking forward for a help on this please.

@naioja
Copy link
Collaborator

naioja commented Jun 27, 2023

Hello,

I would say your safest bet is to delete any resources created by previous development s and try again. While doing that make sure if you use a fork for deployment that's updated and containing all the fixes we've merged in the last few weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants