Azure / Moodle

Tooling and guidance on deploying Scalable Moodle Clusters on Azure.
MIT License
153 stars 165 forks source link

Mount failed When choose fileserver type Gluster #292

Open Aman123mishra opened 1 year ago

Aman123mishra commented 1 year ago

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.

naioja commented 1 year ago

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

Aman123mishra commented 1 year ago

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) ...

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 commented 1 year ago

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 commented 1 year ago

Hi @naioja

still looking forward for a help on this please.

naioja commented 1 year ago

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.