mirror of
https://github.com/nspcc-dev/neofs-node.git
synced 2026-03-01 04:29:10 +00:00
object hash command fails with "context deadline exceeded" error #824
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#824
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 @vkarak1 on GitHub (Oct 20, 2022).
I faced issue when node1 was attemted to start but due to issue with ports couldn't:
And I tried to issue object hash command to node2 and got the following error:
When I issued "systemctl restart neofs-storage.service" to node2 the problem had been sorted out.
Expected Behavior
Node2 should process command while node1 was trying to start.
Current Behavior
Object hash fails on node2 while node1 is unavailable.
Possible Solution
run
systemctl restart neofs-storage.serviceSteps to Reproduce (for bugs)
neofs-cli --rpc-endpoint node1.neofs:8080 --wallet wallet.json container create --name test --policy "REP 2 IN X CBF 1 SELECT 2 FROM * AS X" --basic-acl public-read-write --awaitdd if=/dev/urandom of=object1 bs=1M count=1neofs-cli --rpc-endpoint node1.neofs:8080 -w wallet.json object put --file object1 --cid 5oFBZsSdAvRKUsL2FknAnNqjyFj6UjvXW8QfWQeEtG3z --no-progressneofs-cli --endpoint localhost:8091 -w /etc/neofs/storage/wallet.json control shards list | grep Shard && curl -s localhost:6672 | rg neofs_node_object_counter | sed 1,2dsystemctl restart neofs-storage.serviceto double check that shards list and neofs_node_object_counter display the same shard ids
rpc error: read payload hashes via client: write request: context deadline exceededYour Environment
Linux buky 5.10.0-18-amd64 #1 SMP Debian 5.10.140-1 (2022-09-02) x86_64 GNU/Linux
NeoFS Storage node
Version: v0.33.0-6-g4c63be66
GoVersion: go1.18.4
Attached logs
@vkarak1 commented on GitHub (Oct 20, 2022):
Also would like to add that when I issued "systemctl restart neofs-storage.service" to node2 it took about 1.5 min.
Also before the error message in step#8 displayed the command was running about 15 seconds.