[Gluster-devel] glusterfs-3.4.0alpha3 released (rpm upgrade problems)

Nux! nux at li.nux.ro
Sun Apr 21 12:48:40 UTC 2013


On 21.04.2013 12:39, Niels de Vos wrote:
> 
> Yeah, you could do that (but --force isn't really nice). Or, build a 
> 2nd
> one and add something to the Release line in the .spec like
> 
> Release:          1%{?dist}.0.bz954149

I went with --force because I'm building the RPMS with "make 
glusterrpms" and there seems no easy way to change version/release 
number.
So what I did is this and it still killed glusterd:
1. BUILD
git clone git://git.gluster.com/glusterfs.git glusterfs-release-3.4
cd glusterfs-release-3.4
git checkout release-3.4
./autogen.sh
./configure --enable-fusermount
make dist
cd extras/LinuxRPM/
make glusterrpms

2. INSTALL
3. RE-INSTALL with --force which resulted in this:

[root at 2216 RPMS.old]# rpm -Uvh --force 
glusterfs-3.4git-1.el6.nux.x86_64.rpm 
glusterfs-server-3.4git-1.el6.nux.x86_64.rpm 
glusterfs-fuse-3.4git-1.el6.nux.x86_64.rpm
Preparing...                ########################################### 
[100%]
    1:glusterfs              ########################################### 
[ 33%]
    2:glusterfs-fuse         ########################################### 
[ 67%]
    3:glusterfs-server       ########################################### 
[100%]
error reading information on service glusterfsd: No such file or 
directory
warning: 
/var/lib/glusterd/vols/r1soft/r1soft.1631.storage.domeniu.net.bricks-r1soft.vol 
saved as 
/var/lib/glusterd/vols/r1soft/r1soft.1631.storage.domeniu.net.bricks-r1soft.vol.rpmsave
warning: /var/lib/glusterd/vols/r1soft/trusted-r1soft-fuse.vol saved as 
/var/lib/glusterd/vols/r1soft/trusted-r1soft-fuse.vol.rpmsave
warning: 
/var/lib/glusterd/vols/r1soft/r1soft.2216.storage.domeniu.net.bricks-r1soft.vol 
saved as 
/var/lib/glusterd/vols/r1soft/r1soft.2216.storage.domeniu.net.bricks-r1soft.vol.rpmsave
warning: /var/lib/glusterd/vols/r1soft/r1soft-fuse.vol saved as 
/var/lib/glusterd/vols/r1soft/r1soft-fuse.vol.rpmsave

And this in the LOG:

==> /var/log/glusterfs/etc-glusterfs-glusterd.vol.log <==
[2013-04-21 12:37:44.041275] W [glusterfsd.c:970:cleanup_and_exit] 
(-->/lib64/libc.so.6(clone+0x6d) [0x7f327280290d] 
(-->/lib64/libpthread.so.0(+0x78
51) [0x7f3272e4e851] (-->/usr/sbin/glusterd(glusterfs_sigwaiter+0xcd) 
[0x40523d]))) 0-: received signum (15), shutting down
[2013-04-21 12:37:44.050366] I [glusterfsd.c:1878:main] 0-glusterd: 
Started running glusterd version 3.4git (glusterd --xlator-option 
*.upgrade=on -N)
[2013-04-21 12:37:44.053019] I [graph.c:239:gf_add_cmdline_options] 
0-management: adding option 'upgrade' for volume 'management' with value 
'on'
[2013-04-21 12:37:44.053093] I [glusterd.c:962:init] 0-management: 
Using /var/lib/glusterd as working directory
[2013-04-21 12:37:44.055338] I [socket.c:3471:socket_init] 
0-socket.management: SSL support is NOT enabled
[2013-04-21 12:37:44.055372] I [socket.c:3486:socket_init] 
0-socket.management: using system polling thread
[2013-04-21 12:37:44.058834] E [rpc-transport.c:253:rpc_transport_load] 
0-rpc-transport: /usr/lib64/glusterfs/3.4git/rpc-transport/rdma.so: 
cannot open shared object file: No such file or directory
[2013-04-21 12:37:44.058887] W [rpc-transport.c:257:rpc_transport_load] 
0-rpc-transport: volume 'rdma.management': transport-type 'rdma' is not 
valid or not found on this machine
[2013-04-21 12:37:44.058902] W [rpcsvc.c:1388:rpcsvc_transport_create] 
0-rpc-service: cannot create listener, initing the transport failed
[2013-04-21 12:37:45.241250] I 
[glusterd-store.c:1738:glusterd_restore_op_version] 0-glusterd: 
retrieved op-version: 1
[2013-04-21 12:37:45.241628] E 
[glusterd-store.c:2476:glusterd_store_retrieve_volume] 0-: Unknown key: 
brick-0
[2013-04-21 12:37:45.241656] E 
[glusterd-store.c:2476:glusterd_store_retrieve_volume] 0-: Unknown key: 
brick-1
[2013-04-21 12:37:45.810781] I 
[glusterd-handler.c:2716:glusterd_friend_add] 0-management: connect 
returned 0
[2013-04-21 12:37:45.810884] I 
[rpc-clnt.c:961:rpc_clnt_connection_init] 0-management: setting 
frame-timeout to 600
[2013-04-21 12:37:45.810953] I [socket.c:3471:socket_init] 
0-management: SSL support is NOT enabled
[2013-04-21 12:37:45.810965] I [socket.c:3486:socket_init] 
0-management: using system polling thread
[2013-04-21 12:37:45.825496] W [common-utils.c:2330:gf_ports_reserved] 
0-glusterfs-socket:  is not a valid port identifier
[2013-04-21 12:37:45.827600] I [glusterd.c:125:glusterd_uuid_init] 
0-management: retrieved UUID: 2c4a9f80-975e-4d34-88fc-6330db8bd927
Given volfile:
+------------------------------------------------------------------------------+
   1: volume management
   2:     type mgmt/glusterd
   3:     option working-directory /var/lib/glusterd
   4:     option transport-type socket,rdma
   5:     option transport.socket.keepalive-time 10
   6:     option transport.socket.keepalive-interval 2
   7:     option transport.socket.read-fail-log off
   8: end-volume

+------------------------------------------------------------------------------+
[2013-04-21 12:37:45.829145] W [glusterfsd.c:970:cleanup_and_exit] 
(-->/lib64/libc.so.6(clone+0x6d) [0x7f3d33fc990d] 
(-->/lib64/libpthread.so.0(+0x7851) [0x7f3d34615851] 
(-->glusterd(glusterfs_sigwaiter+0xcd) [0x40523d]))) 0-: received signum 
(15), shutting down

-- 
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro




More information about the Gluster-devel mailing list