Re: gluster-3.7 cannot start volume & ganesha feature cannot turn on problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank for your reply.

I have already upgrade glusterfs 3.7.1 and I can start the volume!
Therefore I am going to turn on ganesha feature by glusterfs.

[root@n1 yum.repos.d]# gluster volume set ganesha ganesha.enable on
volume set: failed: The option nfs-ganesha should be enabled before setting ganesha.enable.

There is the log in "/var/log/glusterfs/etc-glusterfs-glusterd.vol.log"

[2015-06-03 06:12:29.976469] W [common-utils.c:1676:gf_string2boolean] (--> /lib64/libglusterfs.so.0(_gf_log_callingfn+0x147)[0x7f9937dc0b77] (--> /lib64/libglusterfs.so.0(gf_string2boolean+0x13f)[0x7f9937dd8ccf] (--> /usr/lib64/glusterfs/3.7.1/xlator/mgmt/glusterd.so(glusterd_op_stage_set_ganesha+0xaa)[0x7f992cc0a32a] (--> /usr/lib64/glusterfs/3.7.1/xlator/mgmt/glusterd.so(glusterd_op_stage_validate+0x9b)[0x7f992cbbf76b] (--> /usr/lib64/glusterfs/3.7.1/xlator/mgmt/glusterd.so(gd_stage_op_phase+0x1bd)[0x7f992cc369ed] ))))) 0-management: argument invalid
[2015-06-03 06:12:29.976823] I [MSGID: 106132] [glusterd-proc-mgmt.c:83:glusterd_proc_stop] 0-management: nfs already stopped
[2015-06-03 06:12:29.976938] I [glusterd-ganesha.c:364:check_host_list] 0-management: couldn't open the file /etc/ganesha/ganesha-ha.conf
[2015-06-03 06:12:29.984693] E [glusterd-ganesha.c:670:pre_setup] 0-THIS->name: mkdir() failed on path /var/run/gluster/shared_storage/nfs-ganesha,errno: 沒有此一檔案或目錄
[2015-06-03 06:12:29.984851] E [glusterd-ganesha.c:254:glusterd_op_set_ganesha] 0-management: Initial NFS-Ganesha set up failed
[2015-06-03 06:12:29.984883] E [glusterd-syncop.c:1396:gd_commit_op_phase] 0-management: Commit of operation 'Volume (null)' failed on localhost

The Chinese log means that the path is empty or no directory.
It seems that glusterfs does not build ganesha configuration in initialization.
How do I continue next step?

Thanks,
Ben


-----Original Message-----
From: Anoop C S [mailto:achiraya@xxxxxxxxxx] 
Sent: Tuesday, June 02, 2015 11:18 PM
To: benchuang@xxxxxxxxxx; gluster-users@xxxxxxxxxxx
Cc: Meghana Madhusudhan; Soumya Koduri
Subject: Re:  gluster-3.7 cannot start volume & ganesha feature cannot turn on problem


Can you please attach the glusterd logs here? You are having trouble to even start the volume here right?
And also HA configuration is mandatory to use NFS-Ganesha in this release. Once you have the volume started, I can help you with the remaining steps in detail.

Thanks
Meghana

----- Original Message -----
From: "Anoop C S" <achiraya@xxxxxxxxxx>
To: gluster-users@xxxxxxxxxxx
Cc: "Meghana Madhusudhan" <mmadhusu@xxxxxxxxxx>, "Soumya Koduri"
<skoduri@xxxxxxxxxx>
Sent: Tuesday, June 2, 2015 4:38:39 PM
Subject: Re:  gluster-3.7 cannot start volume & ganesha feature cannot turn on problem manadatroy


On 06/02/2015 01:42 PM, 莊尚豪 wrote:
> Hi all,
> 
> I have two question for glusterfs-3.7 on fedora-22
> 
> I used to have a glusterfs cluster version 3.6.2.
> 
> The following configuration can be work in version-3.6.2, but not in 
> version-3.7
> 
> 
> 
> There is 2 node for glusterfs.
> 
> OS: fedora 22
> 
> Gluster: 3.7 on
> https://download.gluster.org/pub/gluster/glusterfs/3.7/3.7.0/
> 
> 
> 
> #gluster peer probe n1
> 
> #gluster volume create ganesha n1:/data/brick1/gv0
> n2:/data/brick1/gv0
> 
> 
> 
> Volume Name: ganesha
> 
> Type: Distribute
> 
> Volume ID: cbb8d360-0025-419c-a12b-b29e4b91d7f8
> 
> Status: Created
> 
> Number of Bricks: 2
> 
> Transport-type: tcp
> 
> Bricks:
> 
> Brick1: n1:/data/brick1/gv0
> 
> Brick2: n2:/data/brick1/gv0
> 
> Options Reconfigured:
> 
> performance.readdir-ahead: on
> 
> 
> 
> The problem to start the volume "ganesha"
> 
> #gluster volume start ganesha
> 
> 
> 
> volume start: ganesha: failed: Commit failed on localhost. Please 
> check the log file for more details.
> 
> 
> 
> LOG in /var/log/glusterfs/bricks/data-brick1-gv0.log
> 
> 
> 
> [2015-06-02 08:02:55.232923] I [MSGID: 100030] 
> [glusterfsd.c:2294:main] 0-/usr/sbin/glusterfsd: Started running 
> /usr/sbin/glusterfsd version 3.7.0 (args: /usr/sbin/glusterfsd -s
> n2 --volfile-id ganesha.n2.data-brick1-gv0 -p 
> /var/lib/glusterd/vols/ganesha/run/n2-data-brick1-gv0.pid -S 
> /var/run/gluster/73ea8a39514304f5ebd440321d784386.socket
> --brick-name /data/brick1/gv0 -l
> /var/log/glusterfs/bricks/data-brick1-gv0.log --xlator-option 
> *-posix.glusterd-uuid=35547067-d343-4fee-802a-0e911b5a07cd
> --brick-port 49157 --xlator-option
> ganesha-server.listen-port=49157)
> 
> [2015-06-02 08:02:55.284206] I
> [event-epoll.c:629:event_dispatch_epoll_worker] 0-epoll: Started 
> thread with index 1
> 
> [2015-06-02 08:02:55.397923] W [xlator.c:192:xlator_dynload]
> 0-xlator: /usr/lib64/glusterfs/3.7.0/xlator/features/changelog.so: 
> undefined symbol: changelog_select_event
> 

This particular error for "undefined symbol changelog_select_event"
was identified recently and corresponding fix [
http://review.gluster.org/#/c/11004/ ] is already in master and
hopefully will be available with v3.7.1.

> [2015-06-02 08:02:55.397963] E [graph.y:212:volume_type] 0-parser: 
> Volume 'ganesha-changelog', line 30: type 'features/changelog' is 
> not valid or not found on this machine
> 
> [2015-06-02 08:02:55.397992] E [graph.y:321:volume_end] 0-parser: 
> "type" not specified for volume ganesha-changelog
> 
> [2015-06-02 08:02:55.398214] E [MSGID: 100026] 
> [glusterfsd.c:2149:glusterfs_process_volfp] 0-: failed to
> construct the graph
> 
> [2015-06-02 08:02:55.398423] W
> [glusterfsd.c:1219:cleanup_and_exit] (--> 0-: received signum (0),
> shutting down
> 
> 
> 
> I cannot google method to resolve it.
> 
> Does anyone have across this problem?
> 
> 
> 
> Another question is the feature in nfs-ganesha(version 2.2)
> 
> The volume command I cannot turn on this feature.
> 
> I try to copy the demo glusterfs-ganesha video but cannot work.
> 
> Demo link: 
> https://plus.google.com/events/c9omal6366f2cfkcd0iuee5ta1o
> 
> 
> 
> [root@n1 brick1]# gluster nfs-ganesha enable
> 
> Enabling NFS-Ganesha requires Gluster-NFS to be disabled across
> the trusted pool. Do you still want to continue? (y/n) y
> 
> nfs-ganesha: failed: Commit failed on localhost. Please check the 
> log file for more details.
> 
> 

Adding ganesha folks to the thread.

> 
> Does anyone have the detail configuration?
> 
> THANKS for giving advice.
> 
> 
> 
> Regards,
> 
> Ben
> 
> 
> 
> 
> 
> 
> _______________________________________________ Gluster-users 
> mailing list Gluster-users@xxxxxxxxxxx 
> http://www.gluster.org/mailman/listinfo/gluster-users
> 


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users





[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux