[Gluster-users] Version 2.0.0: "validating translator failed"

Greg greg at easyflirt.com
Wed May 6 12:40:01 UTC 2009


Hi,

i've upgraded from rc4 to 2.0.0 and it didn't work. The servers start 
successfully, but the client are unable to connect :

lab:~# /usr/sbin/glusterfs --log-level=DEBUG --volfile=/etc/glusterfs/glusterfs.vol --volume-name=afr-small /var/local/gluster/small
lab:~# 2009-05-06 14:30:54 D [glusterfsd.c:339:_get_specfp] glusterfs: loading volume file /etc/glusterfs/glusterfs.vol
================================================================================
Version      : glusterfs 2.0.0 built on May  6 2009 10:53:34
TLA Revision : 7b2e459db65edd302aa12476bc73b3b7a17b1410
Starting Time: 2009-05-06 14:30:54
Command line : /usr/sbin/glusterfs --log-level=DEBUG --volfile=/etc/glusterfs/glusterfs.vol --volume-name=afr-small /var/local/gluster/small
PID          : 8385
System name  : Linux
Nodename     : lab
Kernel Release : 2.6.26-1-xen-amd64
Hardware Identifier: x86_64

Given volfile:
+------------------------------------------------------------------------------+
  1: # file: /etc/glusterfs/glusterfs-client.vol
  2:
  3:
  4: #
  5: # Clients
  6: #
  7: volume media-small-varan-01
  8:    type protocol/client
  9:    option transport-type tcp/client
 10:    option remote-host varan-01.lab.easyflirt.com
 11:    option remote-subvolume media-small-wb
 12: end-volume
 13:
 14: volume media-small-varan-02
 15:    type protocol/client
 16:    option transport-type tcp/client
 17:    option remote-host varan-02.lab.easyflirt.com
 18:    option remote-subvolume media-small-wb
 19: end-volume
 20:
 21: volume media-medium-varan-01
 22:    type protocol/client
 23:    option transport-type tcp/client
 24:    option remote-host varan-01.lab.easyflirt.com
 25:    option remote-subvolume media-medium-wb
 26: end-volume
 27:
 28: volume media-medium-varan-02
 29:    type protocol/client
 30:    option transport-type tcp/client
 31:    option remote-host varan-02.lab.easyflirt.com
 32:    option remote-subvolume media-medium-wb
 33: end-volume
 34:
 35:
 36: #
 37: # Volume principal
 38: #
 39: volume afr-small
 40:    type cluster/afr
 41:    # Il faut mettre le serveur avec le moins d'espace disque en 1er :
 42:    # "When doing a "df -h" on a client, the AVAILABLE disk space will display the maximum disk space of the first AFR sub volume defined in the spec file. So if you have two servers with 50 gigs and 100 gigs of free disk space, and the server with 100 gigs is listed first, then you will see 100 gigs available even though one server only has 50 gigs free. "
 43:    subvolumes media-small-varan-01 media-small-varan-02
 44: end-volume
 45:
 46: volume afr-medium
 47:    type cluster/afr
 48:    subvolumes media-medium-varan-01 media-medium-varan-02
 49: end-volume
 50:
 51: #
 52: # Performance
 53: #
 54: #volume iot-small
 55: #  type performance/io-threads
 56: #  subvolumes afr-small
 57: #end-volume
 58: #
 59: #volume readahead-small
 60: #  type performance/read-ahead
 61: #  subvolumes iot-small
 62: #  option page-size 1MB         # default is 256KB
 63: #  option page-count 4          # default is 2 - cache per file = (page-count x page-size)
 64: #  option force-atime-update no # defalut is 'no'
 65: #end-volume
 66: #
 67: #volume iocache-small
 68: #  type performance/io-cache
 69: #  option page-size 256KB
 70: #  subvolumes readahead-small
 71: #end-volume
 72: #
 73: #volume writeback-small
 74: #  type performance/write-behind
 75: #  option block-size 1MB
 76: #  option flush-behind off
 77: #  subvolumes iocache-small
 78: #end-volume
 79: #
 80: #volume iot-medium
 81: #  type performance/io-threads
 82: #  subvolumes afr-medium
 83: #end-volume
 84: #
 85: #volume readahead-medium
 86: #  type performance/read-ahead
 87: #  subvolumes iot-medium
 88: #  option page-size 1MB         # default is 256KB
 89: #  option page-count 4          # default is 2 - cache per file = (page-count x page-size)
 90: #  option force-atime-update no # defalut is 'no'
 91: #end-volume
 92: #
 93: #volume iocache-medium
 94: #  type performance/io-cache
 95: #  option page-size 256KB
 96: #  subvolumes readahead-medium
 97: #end-volume
 98: #
 99: #volume writeback-medium
100: #  type performance/write-behind
101: #  option block-size 1MB
102: #  option flush-behind off
103: #  subvolumes iocache-medium
104: #end-volume

+------------------------------------------------------------------------------+
2009-05-06 14:30:54 D [spec.y:188:new_section] parser: New node for 'media-small-varan-01'
2009-05-06 14:30:54 D [xlator.c:594:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/2.0.0/xlator/protocol/client.so
2009-05-06 14:30:54 D [spec.y:214:section_type] parser: Type:media-small-varan-01:protocol/client
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-small-varan-01:transport-type:tcp/client
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-small-varan-01:remote-host:varan-01.lab.easyflirt.com
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-small-varan-01:remote-subvolume:media-small-wb
2009-05-06 14:30:54 D [spec.y:327:section_end] parser: end:media-small-varan-01
2009-05-06 14:30:54 D [spec.y:188:new_section] parser: New node for 'media-small-varan-02'
2009-05-06 14:30:54 D [xlator.c:594:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/2.0.0/xlator/protocol/client.so
2009-05-06 14:30:54 D [spec.y:214:section_type] parser: Type:media-small-varan-02:protocol/client
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-small-varan-02:transport-type:tcp/client
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-small-varan-02:remote-host:varan-02.lab.easyflirt.com
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-small-varan-02:remote-subvolume:media-small-wb
2009-05-06 14:30:54 D [spec.y:327:section_end] parser: end:media-small-varan-02
2009-05-06 14:30:54 D [spec.y:188:new_section] parser: New node for 'media-medium-varan-01'
2009-05-06 14:30:54 D [xlator.c:594:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/2.0.0/xlator/protocol/client.so
2009-05-06 14:30:54 D [spec.y:214:section_type] parser: Type:media-medium-varan-01:protocol/client
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-medium-varan-01:transport-type:tcp/client
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-medium-varan-01:remote-host:varan-01.lab.easyflirt.com
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-medium-varan-01:remote-subvolume:media-medium-wb
2009-05-06 14:30:54 D [spec.y:327:section_end] parser: end:media-medium-varan-01
2009-05-06 14:30:54 D [spec.y:188:new_section] parser: New node for 'media-medium-varan-02'
2009-05-06 14:30:54 D [xlator.c:594:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/2.0.0/xlator/protocol/client.so
2009-05-06 14:30:54 D [spec.y:214:section_type] parser: Type:media-medium-varan-02:protocol/client
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-medium-varan-02:transport-type:tcp/client
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-medium-varan-02:remote-host:varan-02.lab.easyflirt.com
2009-05-06 14:30:54 D [spec.y:243:section_option] parser: Option:media-medium-varan-02:remote-subvolume:media-medium-wb
2009-05-06 14:30:54 D [spec.y:327:section_end] parser: end:media-medium-varan-02
2009-05-06 14:30:54 D [spec.y:188:new_section] parser: New node for 'afr-small'
2009-05-06 14:30:54 D [xlator.c:594:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/2.0.0/xlator/cluster/afr.so
2009-05-06 14:30:54 D [spec.y:214:section_type] parser: Type:afr-small:cluster/afr
2009-05-06 14:30:54 D [spec.y:312:section_sub] parser: child:afr-small->media-small-varan-01
2009-05-06 14:30:54 D [spec.y:312:section_sub] parser: child:afr-small->media-small-varan-02
2009-05-06 14:30:54 D [spec.y:327:section_end] parser: end:afr-small
2009-05-06 14:30:54 D [spec.y:188:new_section] parser: New node for 'afr-medium'
2009-05-06 14:30:54 D [xlator.c:594:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/2.0.0/xlator/cluster/afr.so
2009-05-06 14:30:54 D [spec.y:214:section_type] parser: Type:afr-medium:cluster/afr
2009-05-06 14:30:54 D [spec.y:312:section_sub] parser: child:afr-medium->media-medium-varan-01
2009-05-06 14:30:54 D [spec.y:312:section_sub] parser: child:afr-medium->media-medium-varan-02
2009-05-06 14:30:54 D [spec.y:327:section_end] parser: end:afr-medium
2009-05-06 14:30:54 D [xlator.c:594:xlator_set_type] xlator: attempt to load file /usr/lib/glusterfs/2.0.0/xlator/mount/fuse.so
2009-05-06 14:30:54 D [glusterfsd.c:1133:main] glusterfs: running in pid 8386
2009-05-06 14:30:54 E [glusterfsd.c:483:_xlator_graph_init] media-medium-varan-02: validating translator failed
2009-05-06 14:30:54 E [glusterfsd.c:1145:main] glusterfs: translator initialization failed.  exiting



-- 	
Greg





More information about the Gluster-users mailing list