seaweedfs报错

seaweedfs报错_第1张图片

## Volume Server

Volume Server found a new master newLeader: localhost:9333 instead of seaweedfs-master:9333

(base) [root@localhost docker-catering]# docker-compose -f appDev.yml logs seaweedfs-volume
Attaching to docker-catering_seaweedfs-volume_1
seaweedfs-volume_1   | I1218 07:47:31     1 config.go:26] Reading : Config File "security" Not Found in "[/ /root/.seaweedfs /etc/seaweedfs]"
seaweedfs-volume_1   | I1218 07:47:31     1 file_util.go:19] Folder /data Permission: -rwxr-xr-x
seaweedfs-volume_1   | I1218 07:47:31     1 disk_location.go:109] Store started on dir: /data with 0 volumes max 15
seaweedfs-volume_1   | I1218 07:47:31     1 disk_location.go:112] Store started on dir: /data with 0 ec shards
seaweedfs-volume_1   | I1218 07:47:31     1 volume.go:272] Start Seaweed volume server 30GB 1.47 at 0.0.0.0:8080
seaweedfs-volume_1   | I1218 07:47:31     1 volume_grpc_client_to_master.go:25] Volume server start with seed master nodes: [seaweedfs-master:9333]
seaweedfs-volume_1   | I1218 07:47:31     1 volume_grpc_client_to_master.go:66] SendHeartbeat to seaweedfs-master:9333: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 172.20.0.6:19333: connect: connection refused"
seaweedfs-volume_1   | I1218 07:47:31     1 volume_grpc_client_to_master.go:46] heartbeat error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 172.20.0.6:19333: connect: connection refused"
seaweedfs-volume_1   | I1218 07:47:36     1 volume_grpc_client_to_master.go:69] Heartbeat to: seaweedfs-master:9333
seaweedfs-volume_1   | I1218 07:47:36     1 volume_grpc_client_to_master.go:85] Volume Server found a new master newLeader: localhost:9333 instead of seaweedfs-master:9333
seaweedfs-volume_1   | I1218 07:47:36     1 volume_grpc_client_to_master.go:66] SendHeartbeat to localhost:9333: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:19333: connect: connection refused"
seaweedfs-volume_1   | I1218 07:47:36     1 volume_grpc_client_to_master.go:46] heartbeat error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:19333: connect: connection refused"
seaweedfs-volume_1   | I1218 07:47:41     1 volume_grpc_client_to_master.go:69] Heartbeat to: seaweedfs-master:9333
seaweedfs-volume_1   | I1218 07:47:41     1 volume_grpc_client_to_master.go:85] Volume Server found a new master newLeader: localhost:9333 instead of seaweedfs-master:9333
seaweedfs-volume_1   | I1218 07:47:41     1 volume_grpc_client_to_master.go:66] SendHeartbeat to localhost:9333: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:19333: connect: connection refused"
seaweedfs-volume_1   | I1218 07:47:41     1 volume_grpc_client_to_master.go:46] heartbeat error: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:19333: connect: connection refused"

## master server

(base) [root@localhost docker-catering]# docker-compose -f appDev.yml logs seaweedfs-master
Attaching to docker-catering_seaweedfs-master_1
seaweedfs-master_1   | I1218 07:47:31     1 config.go:26] Reading : Config File "security" Not Found in "[/ /root/.seaweedfs /etc/seaweedfs]"
seaweedfs-master_1   | I1218 07:47:31     1 config.go:26] Reading : Config File "master" Not Found in "[/ /root/.seaweedfs /etc/seaweedfs]"
seaweedfs-master_1   | I1218 07:47:31     1 file_util.go:19] Folder /data Permission: -rwxr-xr-x
seaweedfs-master_1   | I1218 07:47:31     1 master_server.go:102] Volume Size Limit is 30000 MB
seaweedfs-master_1   | I1218 07:47:31     1 master_server.go:188] adminScripts:
seaweedfs-master_1   | I1218 07:47:31     1 master.go:112] Start Seaweed Master 30GB 1.47 at 0.0.0.0:9333
seaweedfs-master_1   | I1218 07:47:31     1 raft_server.go:44] Starting RaftServer with localhost:9333
seaweedfs-master_1   | I1218 07:47:31     1 raft_server.go:48] Peers Change: [] => [localhost:9333]
seaweedfs-master_1   | I1218 07:47:31     1 raft_server.go:71] Initializing new cluster
seaweedfs-master_1   | I1218 07:47:31     1 raft_server.go:84] current cluster leader: localhost:9333
seaweedfs-master_1   | I1218 07:47:31     1 master_server.go:143] [ localhost:9333 ] I am the leader!
seaweedfs-master_1   | I1218 07:47:31     1 master.go:136] Start Seaweed Master 30GB 1.47 grpc server at 0.0.0.0:19333
seaweedfs-master_1   | I1218 07:47:31     1 master_grpc_server.go:206] + client master127.0.0.1:46014
seaweedfs-master_1   | I1218 07:47:32     1 master_grpc_server.go:206] + client filer172.20.0.2:48902
seaweedfs-master_1   | I1218 07:47:36     1 node.go:255] topo adds child DefaultDataCenter
seaweedfs-master_1   | I1218 07:47:36     1 node.go:255] topo:DefaultDataCenter adds child DefaultRack
seaweedfs-master_1   | I1218 07:47:36     1 node.go:255] topo:DefaultDataCenter:DefaultRack adds child 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:36     1 master_grpc_server.go:78] added volume server 172.20.0.3:8080
seaweedfs-master_1   | W1218 07:47:36     1 master_grpc_server.go:54] SendHeartbeat.Recv server 172.20.0.3:8080 : rpc error: code = Canceled desc = context canceled
seaweedfs-master_1   | I1218 07:47:36     1 master_grpc_server.go:25] unregister disconnected volume server 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:36     1 node.go:271] topo:DefaultDataCenter:DefaultRack removes 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:41     1 node.go:255] topo:DefaultDataCenter:DefaultRack adds child 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:41     1 master_grpc_server.go:78] added volume server 172.20.0.3:8080
seaweedfs-master_1   | W1218 07:47:41     1 master_grpc_server.go:54] SendHeartbeat.Recv server 172.20.0.3:8080 : rpc error: code = Canceled desc = context canceled
seaweedfs-master_1   | I1218 07:47:41     1 master_grpc_server.go:25] unregister disconnected volume server 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:41     1 node.go:271] topo:DefaultDataCenter:DefaultRack removes 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:46     1 node.go:255] topo:DefaultDataCenter:DefaultRack adds child 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:46     1 master_grpc_server.go:78] added volume server 172.20.0.3:8080
seaweedfs-master_1   | W1218 07:47:46     1 master_grpc_server.go:54] SendHeartbeat.Recv server 172.20.0.3:8080 : rpc error: code = Canceled desc = context canceled
seaweedfs-master_1   | I1218 07:47:46     1 master_grpc_server.go:25] unregister disconnected volume server 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:46     1 node.go:271] topo:DefaultDataCenter:DefaultRack removes 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:51     1 node.go:255] topo:DefaultDataCenter:DefaultRack adds child 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:51     1 master_grpc_server.go:78] added volume server 172.20.0.3:8080
seaweedfs-master_1   | W1218 07:47:51     1 master_grpc_server.go:54] SendHeartbeat.Recv server 172.20.0.3:8080 : rpc error: code = Canceled desc = context canceled
seaweedfs-master_1   | I1218 07:47:51     1 master_grpc_server.go:25] unregister disconnected volume server 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:51     1 node.go:271] topo:DefaultDataCenter:DefaultRack removes 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:56     1 node.go:255] topo:DefaultDataCenter:DefaultRack adds child 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:56     1 master_grpc_server.go:78] added volume server 172.20.0.3:8080
seaweedfs-master_1   | W1218 07:47:56     1 master_grpc_server.go:54] SendHeartbeat.Recv server 172.20.0.3:8080 : rpc error: code = Canceled desc = context canceled
seaweedfs-master_1   | I1218 07:47:56     1 master_grpc_server.go:25] unregister disconnected volume server 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:47:56     1 node.go:271] topo:DefaultDataCenter:DefaultRack removes 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:48:00     1 master_grpc_server.go:206] + client shell172.20.0.5:52350
seaweedfs-master_1   | I1218 07:48:00     1 master_grpc_server.go:206] + client shell172.20.0.5:52352
seaweedfs-master_1   | I1218 07:48:00     1 master_grpc_server.go:216] - client shell172.20.0.5:52350
seaweedfs-master_1   | I1218 07:48:00     1 master_grpc_server.go:216] - client shell172.20.0.5:52352
seaweedfs-master_1   | I1218 07:48:01     1 node.go:255] topo:DefaultDataCenter:DefaultRack adds child 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:48:01     1 master_grpc_server.go:78] added volume server 172.20.0.3:8080
seaweedfs-master_1   | W1218 07:48:01     1 master_grpc_server.go:54] SendHeartbeat.Recv server 172.20.0.3:8080 : rpc error: code = Canceled desc = context canceled
seaweedfs-master_1   | I1218 07:48:01     1 master_grpc_server.go:25] unregister disconnected volume server 172.20.0.3:8080
seaweedfs-master_1   | I1218 07:48:01     1 node.go:271] topo:DefaultDataCenter:DefaultRack removes 172.20.0.3:8080

## filer server

(base) [root@localhost docker-catering]# docker-compose -f appDev.yml logs seaweedfs-filer
Attaching to docker-catering_seaweedfs-filer_1
seaweedfs-filer_1    | I1218 07:47:29     1 config.go:26] Reading : Config File "security" Not Found in "[/ /root/.seaweedfs /etc/seaweedfs]"
seaweedfs-filer_1    | I1218 07:47:29     1 config.go:26] Reading : Config File "notification" Not Found in "[/ /root/.seaweedfs /etc/seaweedfs]"
seaweedfs-filer_1    | I1218 07:47:29     1 leveldb2_store.go:39] filer store leveldb2 dir: /data/filerldb2
seaweedfs-filer_1    | I1218 07:47:29     1 file_util.go:19] Folder /data/filerldb2 Permission: -rwxr-xr-x
seaweedfs-filer_1    | I1218 07:47:29     1 configuration.go:26] Configure filer for leveldb2
seaweedfs-filer_1    | I1218 07:47:31     1 masterclient.go:73] filer failed to keep connected to seaweedfs-master:9333: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 172.20.0.6:19333: connect: connection refused"
seaweedfs-filer_1    | I1218 07:47:31     1 masterclient.go:116] filer failed to connect with master seaweedfs-master:9333: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 172.20.0.6:19333: connect: connection refused"
seaweedfs-filer_1    | I1218 07:47:38     1 filer.go:133] Start Seaweed Filer 30GB 1.47 at :8888
seaweedfs-filer_1    | E1218 07:48:01     1 filer_server_handlers_write.go:67] failing to assign a file id: rpc error: code = Unknown desc = No free volumes left!
seaweedfs-filer_1    | I1218 07:48:01     1 filer_server_handlers_write.go:103] fail to allocate volume for /, collection:, datacenter:
(base) [root@localhost docker-catering]# docker-compose -f appDev.yml exec seaweedfs-filer /bin/sh
/ # ping seaweedfs-master
PING seaweedfs-master (172.20.0.6): 56 data bytes
64 bytes from 172.20.0.6: seq=0 ttl=64 time=0.116 ms
64 bytes from 172.20.0.6: seq=1 ttl=64 time=0.153 ms
/ # exit
(base) [root@localhost docker-catering]# docker-compose -f appDev.yml exec seaweedfs-master /bin/sh
/ # ping seaweedfs-volume
PING seaweedfs-volume (172.20.0.3): 56 data bytes
64 bytes from 172.20.0.3: seq=0 ttl=64 time=0.132 ms
64 bytes from 172.20.0.3: seq=1 ttl=64 time=0.138 ms

 

你可能感兴趣的:(seaweedfs报错)