storj / up

Docker-compose files for running full Storj network locally
GNU Affero General Public License v3.0
23 stars 7 forks source link

Error on Start Storage node in storj-up Docker Setup #95

Closed ohari5336 closed 10 months ago

ohari5336 commented 10 months ago

I Setup StorJ in Docker via storj-up.

now I setup a storage node in my mac, but giving this error

I added the docker satellite node ID in the storage node config

storage2.trust.sources: "12whfK1EDvHJtajBiAUeajQLYcWqxcQmdYQU5zX5cCf6bAxfgu4@127.0.0.1:7777"

storagenode --identity.cert-path "./storagenodeOLD/identity.cert" --identity.key-path "./storagenodeOLD/identity.key" --config-dir "./configStorageNode/" run

2023-12-26T12:33:22+05:30   INFO    process/exec_conf.go:318    Configuration loaded    {"process": "storagenode", "Location": "/Users/hariom/Downloads/builds/configStorageNode/config.yaml"}
2023-12-26T12:33:22+05:30   INFO    process/tracing.go:73   Anonymized tracing enabled  {"process": "storagenode"}
2023-12-26T12:33:22+05:30   INFO    operator/operator.go:42 Operator email  {"process": "storagenode", "Address": "ohari@ohari5336.in"}
2023-12-26T12:33:22+05:30   INFO    operator/operator.go:56 Operator wallet {"process": "storagenode", "Address": "0x5e32E579dF2A08606981cb2ceF486C6D534a476E"}
2023-12-26T12:33:24+05:30   INFO    db.migration    migrate/versions.go:218 Database Version    {"process": "storagenode", "version": 54}
2023-12-26T12:33:24+05:30   INFO    preflight:localtime preflight/localtime.go:54   start checking local system clock with trusted satellites' system clock.    {"process": "storagenode"}
2023-12-26T12:33:24+05:30   INFO    preflight:localtime preflight/localtime.go:99   local system clock is in sync with trusted satellites' system clock.    {"process": "storagenode"}
2023-12-26T12:33:24+05:30   INFO    bandwidth   bandwidth/service.go:52 Performing bandwidth usage rollups  {"process": "storagenode"}
2023-12-26T12:33:24+05:30   INFO    storagenode/peer.go:390 Node 1E5zst22XwUzrvLxpp9EwzJyi7EpsxomruT4yw3H19pxAqGhun started {"process": "storagenode"}
2023-12-26T12:33:24+05:30   INFO    storagenode/peer.go:391 Public server started on [::]:28967 {"process": "storagenode"}
2023-12-26T12:33:24+05:30   INFO    storagenode/peer.go:392 Private server started on 127.0.0.1:7788    {"process": "storagenode"}
2023-12-26T12:33:24+05:30   INFO    trust   trust/service.go:116    Scheduling next refresh {"process": "storagenode", "after": "7h14m59.317454927s"}
2023-12-26T12:33:24+05:30   INFO    pieces:trash    pieces/trashchore.go:81 emptying trash started  {"process": "storagenode", "Satellite ID": "12whfK1EDvHJtajBiAUeajQLYcWqxcQmdYQU5zX5cCf6bAxfgu4"}
2023-12-26T12:33:24+05:30   ERROR   contact:service contact/service.go:162  ping satellite failed   {"process": "storagenode", "Satellite ID": "12whfK1EDvHJtajBiAUeajQLYcWqxcQmdYQU5zX5cCf6bAxfgu4", "attempts": 1, "error": "ping satellite: failed to ping storage node, your node indicated error code: 0, rpc: tcp connector failed: rpc: dial tcp [::]:28967: connect: cannot assign requested address", "errorVerbose": "ping satellite: failed to ping storage node, your node indicated error code: 0, rpc: tcp connector failed: rpc: dial tcp [::]:28967: connect: cannot assign requested address\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatelliteOnce:209\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatellite:157\n\tstorj.io/storj/storagenode/contact.(*Chore).updateCycles.func1:87\n\tstorj.io/common/sync2.(*Cycle).Run:99\n\tstorj.io/common/sync2.(*Cycle).Start.func1:77\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75"}
storj.io/storj/storagenode/contact.(*Service).pingSatellite
    /Users/hariom/Desktop/StorJ/storj/storagenode/contact/service.go:162
storj.io/storj/storagenode/contact.(*Chore).updateCycles.func1
    /Users/hariom/Desktop/StorJ/storj/storagenode/contact/chore.go:87
storj.io/common/sync2.(*Cycle).Run
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:99
storj.io/common/sync2.(*Cycle).Start.func1
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:77
golang.org/x/sync/errgroup.(*Group).Go.func1
    /Users/hariom/go/pkg/mod/golang.org/x/sync@v0.5.0/errgroup/errgroup.go:75
2023-12-26T12:33:25+05:30   ERROR   nodestats:cache nodestats/cache.go:132  Get disk space usage query failed   {"process": "storagenode", "error": "nodestats: EOF", "errorVerbose": "nodestats: EOF\n\tstorj.io/storj/storagenode/nodestats.(*Service).GetDailyStorageUsage:123\n\tstorj.io/storj/storagenode/nodestats.(*Cache).CacheSpaceUsage.func1:177\n\tstorj.io/storj/storagenode/nodestats.(*Cache).satelliteLoop:261\n\tstorj.io/storj/storagenode/nodestats.(*Cache).CacheSpaceUsage:176\n\tstorj.io/storj/storagenode/nodestats.(*Cache).Run.func3:130\n\tstorj.io/common/sync2.(*Cycle).Run:99\n\tstorj.io/common/sync2.(*Cycle).Start.func1:77\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75"}
storj.io/storj/storagenode/nodestats.(*Cache).Run.func3
    /Users/hariom/Desktop/StorJ/storj/storagenode/nodestats/cache.go:132
storj.io/common/sync2.(*Cycle).Run
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:99
storj.io/common/sync2.(*Cycle).Start.func1
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:77
golang.org/x/sync/errgroup.(*Group).Go.func1
    /Users/hariom/go/pkg/mod/golang.org/x/sync@v0.5.0/errgroup/errgroup.go:75
2023-12-26T12:33:25+05:30   ERROR   nodestats:cache nodestats/cache.go:210  payouts err {"process": "storagenode", "satellite": "12whfK1EDvHJtajBiAUeajQLYcWqxcQmdYQU5zX5cCf6bAxfgu4"}
storj.io/storj/storagenode/nodestats.(*Cache).CacheHeldAmount.func1
    /Users/hariom/Desktop/StorJ/storj/storagenode/nodestats/cache.go:210
storj.io/storj/storagenode/nodestats.(*Cache).satelliteLoop
    /Users/hariom/Desktop/StorJ/storj/storagenode/nodestats/cache.go:261
storj.io/storj/storagenode/nodestats.(*Cache).CacheHeldAmount
    /Users/hariom/Desktop/StorJ/storj/storagenode/nodestats/cache.go:196
storj.io/storj/storagenode/nodestats.(*Cache).Run.func3
    /Users/hariom/Desktop/StorJ/storj/storagenode/nodestats/cache.go:135
storj.io/common/sync2.(*Cycle).Run
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:99
storj.io/common/sync2.(*Cycle).Start.func1
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:77
golang.org/x/sync/errgroup.(*Group).Go.func1
    /Users/hariom/go/pkg/mod/golang.org/x/sync@v0.5.0/errgroup/errgroup.go:75
2023-12-26T12:33:25+05:30   ERROR   nodestats:cache nodestats/cache.go:137  Get held amount query failed    {"process": "storagenode", "error": "payouts service: node not found: 1E5zst22XwUzrvLxpp9EwzJyi7EpsxomruT4yw3H19pxAqGhun", "errorVerbose": "payouts service: node not found: 1E5zst22XwUzrvLxpp9EwzJyi7EpsxomruT4yw3H19pxAqGhun\n\tstorj.io/storj/storagenode/payouts.(*Endpoint).GetPaystub:73\n\tstorj.io/storj/storagenode/nodestats.(*Cache).CacheHeldAmount.func1:204\n\tstorj.io/storj/storagenode/nodestats.(*Cache).satelliteLoop:261\n\tstorj.io/storj/storagenode/nodestats.(*Cache).CacheHeldAmount:196\n\tstorj.io/storj/storagenode/nodestats.(*Cache).Run.func3:135\n\tstorj.io/common/sync2.(*Cycle).Run:99\n\tstorj.io/common/sync2.(*Cycle).Start.func1:77\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75"}
storj.io/storj/storagenode/nodestats.(*Cache).Run.func3
    /Users/hariom/Desktop/StorJ/storj/storagenode/nodestats/cache.go:137
storj.io/common/sync2.(*Cycle).Run
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:99
storj.io/common/sync2.(*Cycle).Start.func1
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:77
golang.org/x/sync/errgroup.(*Group).Go.func1
    /Users/hariom/go/pkg/mod/golang.org/x/sync@v0.5.0/errgroup/errgroup.go:75
2023-12-26T12:33:25+05:30   ERROR   nodestats:cache nodestats/cache.go:120  Get stats query failed  {"process": "storagenode", "error": "nodestats: EOF", "errorVerbose": "nodestats: EOF\n\tstorj.io/storj/storagenode/nodestats.(*Service).GetReputationStats:74\n\tstorj.io/storj/storagenode/nodestats.(*Cache).CacheReputationStats.func1:152\n\tstorj.io/storj/storagenode/nodestats.(*Cache).satelliteLoop:261\n\tstorj.io/storj/storagenode/nodestats.(*Cache).CacheReputationStats:151\n\tstorj.io/storj/storagenode/nodestats.(*Cache).Run.func2:118\n\tstorj.io/common/sync2.(*Cycle).Run:99\n\tstorj.io/common/sync2.(*Cycle).Start.func1:77\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75"}
storj.io/storj/storagenode/nodestats.(*Cache).Run.func2
    /Users/hariom/Desktop/StorJ/storj/storagenode/nodestats/cache.go:120
storj.io/common/sync2.(*Cycle).Run
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:99
storj.io/common/sync2.(*Cycle).Start.func1
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:77
golang.org/x/sync/errgroup.(*Group).Go.func1
    /Users/hariom/go/pkg/mod/golang.org/x/sync@v0.5.0/errgroup/errgroup.go:75
2023-12-26T12:33:25+05:30   ERROR   contact:service contact/service.go:162  ping satellite failed   {"process": "storagenode", "Satellite ID": "12whfK1EDvHJtajBiAUeajQLYcWqxcQmdYQU5zX5cCf6bAxfgu4", "attempts": 2, "error": "ping satellite: failed to ping storage node, your node indicated error code: 0, rpc: tcp connector failed: rpc: dial tcp [::]:28967: connect: cannot assign requested address", "errorVerbose": "ping satellite: failed to ping storage node, your node indicated error code: 0, rpc: tcp connector failed: rpc: dial tcp [::]:28967: connect: cannot assign requested address\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatelliteOnce:209\n\tstorj.io/storj/storagenode/contact.(*Service).pingSatellite:157\n\tstorj.io/storj/storagenode/contact.(*Chore).updateCycles.func1:87\n\tstorj.io/common/sync2.(*Cycle).Run:99\n\tstorj.io/common/sync2.(*Cycle).Start.func1:77\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:75"}
storj.io/storj/storagenode/contact.(*Service).pingSatellite
    /Users/hariom/Desktop/StorJ/storj/storagenode/contact/service.go:162
storj.io/storj/storagenode/contact.(*Chore).updateCycles.func1
    /Users/hariom/Desktop/StorJ/storj/storagenode/contact/chore.go:87
storj.io/common/sync2.(*Cycle).Run
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:99
storj.io/common/sync2.(*Cycle).Start.func1
    /Users/hariom/go/pkg/mod/storj.io/common@v0.0.0-20231213124955-23aba17361c7/sync2/cycle.go:77
golang.org/x/sync/errgroup.(*Group).Go.func1
    /Users/hariom/go/pkg/mod/golang.org/x/sync@v0.5.0/errgroup/errgroup.go:75
^C2023-12-26T12:33:27+05:30 INFO    process/exec_conf.go:140    Got a signal from the OS: "interrupt"   {"process": "storagenode"}
2023-12-26T12:33:27+05:30   INFO    contact:service contact/service.go:166  context cancelled   {"process": "storagenode", "Satellite ID": "12whfK1EDvHJtajBiAUeajQLYcWqxcQmdYQU5zX5cCf6bAxfgu4"}