mirror of
https://github.com/nspcc-dev/neofs-node.git
synced 2026-03-01 04:29:10 +00:00
neofs-storage.service gets continuously restarting when internal interface is down #797
Labels
No labels
I1
I2
I3
I4
S0
S1
S2
S3
S4
U0
U1
U2
U3
U4
blocked
bug
config
dependencies
discussion
documentation
enhancement
enhancement
epic
feature
go
good first issue
help wanted
neofs-adm
neofs-cli
neofs-cli
neofs-cli
neofs-ir
neofs-lens
neofs-storage
neofs-storage
performance
question
security
task
test
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-node#797
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ikovalev1 on GitHub (Oct 13, 2022).
Originally assigned to: @fyrchik on GitHub.
Expected Behavior
If a node loses internal network, it should continiue to respond on data network via gRPC/HTTP/S3
Current Behavior
neofs storage gets restarting endlessly every 5 sec (systemd configuration):
systemctl status neofs-storage.service ... Active: activating (auto-restart) (Result: exit-code) since Thu 2022-10-13 12:14:49 UTC; 3s agoSteps to Reproduce (for bugs)
neofs-cli -r node1:8080 -w wallet.json container create --policy "REP 1 IN Node1 SELECT 1 FROM N1 AS Node1 FILTER Node EQ node1 AS N1" --await --basic-acl public-read-write neofs-cli -r node1.data:8080 -w wallet.json object put --file /home/service/test.txt --no-progress --cid Fk89aSd6YErcmGyf9UMvKx4bAwXbGBJCSvG4Zza7U5nK Enter password > [/home/service/test.txt] Object successfully stored OID: hR4kM3aPD4icZuPPFKmoocCogHep4HfJjMfcTG2spUY CID: Fk89aSd6YErcmGyf9UMvKx4bAwXbGBJCSvG4Zza7U5nKneofs-cli -r node1.data:8080 -w wallet.json object get --cid Fk89aSd6YErcmGyf9UMvKx4bAwXbGBJCSvG4Zza7U5nK --oid hR4kM3aPD4icZuPPFKmoocCogHep4HfJjMfcTG2spUY --file /tmp/get_object.sample --no-progressifdown intoot@buky:/home/service# neofs-cli -r node1.data:8080 -w /etc/neofs/storage/wallet.json object put --file /home/service/test.txt --no-progress --cid Fk89aSd6YErcmGyf9UMvKx4bAwXbGBJCSvG4Zza7U5nK Enter password > create session: can't fetch network info: write request: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 172.26.161.238:8080: connect: connection refused"root@az:/home/service# systemctl status neofs-storage.service Active: activating (auto-restart) (Result: exit-code) since Thu 2022-10-13 12:14:49 UTC; 3s agoYour Environment
sbercloun 4 VM with 2 interfaces
root@az:/home/service# uname -a
Linux az 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux
root@az:/home/service# neofs-cli --version
NeoFS CLI
Version: v0.32.0-34-g76cfcc24
GoVersion: go1.18.4
root@az:/home/service# neofs-node --version
NeoFS Storage node
Version: v0.32.0-34-g76cfcc24
GoVersion: go1.18.4