Errors are not passed correctly to client from control service #1551

Open
opened 2025-12-28 17:35:49 +00:00 by sami · 0 comments
Owner

Originally created by @roman-khimov on GitHub (Dec 12, 2025).

Expected Behavior

Client error when control service can't do something.

Current Behavior

./neofs-cli --config /home/runner/work/neofs-node/neofs-node/neofs-testcases/test-run-2025-12-12-12-46-22-437272/env_files/neofs-env-2025-12-12-13-35-18-140468875602816/inner_ring_btscrmukxu/ir_cli_config_mgsamroofj.yml control notary request --address 'NNzVrPZKboWnhV7VAJboPLitCxPmyuSHg4' --endpoint 'localhost:35457' --wallet '/home/runner/work/neofs-node/neofs-node/neofs-testcases/test-run-2025-12-12-12-46-22-437272/env_files/neofs-env-2025-12-12-13-35-18-140468875602816/ir_alphabet_goeflyagzl/alphabet1.json' --method 'removeNode' 03ed92cf9dde91bf35d7d806130ce7c22cbdb639dbb59e77b0fb87287359cbf88d
RETCODE: 0

STDOUT:
Transaction Hash: 0000000000000000000000000000000000000000000000000000000000000000

STDERR:

It failed because of https://github.com/nspcc-dev/neofs-node/pull/3737 and the error can be clearly seen in node logs, but client receives an empty hash and no error.

Possible Solution

Fix something.

Steps to Reproduce (for bugs)

Make some control service call fail internally like above, see how client reacts.

Context

https://rest.fs.neo.org/Aku38wpn2xEqfEPxmwyAa7N3VnAkMV8PEVkpLqwKM1z3/4517-1765549647/index.html#suites/e85a210f8eb4807f0e7a860383537e45/5e43625665631138/

Regression

Not likely.

Your Environment

  • Version used: master
Originally created by @roman-khimov on GitHub (Dec 12, 2025). ## Expected Behavior Client error when control service can't do something. ## Current Behavior ``` ./neofs-cli --config /home/runner/work/neofs-node/neofs-node/neofs-testcases/test-run-2025-12-12-12-46-22-437272/env_files/neofs-env-2025-12-12-13-35-18-140468875602816/inner_ring_btscrmukxu/ir_cli_config_mgsamroofj.yml control notary request --address 'NNzVrPZKboWnhV7VAJboPLitCxPmyuSHg4' --endpoint 'localhost:35457' --wallet '/home/runner/work/neofs-node/neofs-node/neofs-testcases/test-run-2025-12-12-12-46-22-437272/env_files/neofs-env-2025-12-12-13-35-18-140468875602816/ir_alphabet_goeflyagzl/alphabet1.json' --method 'removeNode' 03ed92cf9dde91bf35d7d806130ce7c22cbdb639dbb59e77b0fb87287359cbf88d RETCODE: 0 STDOUT: Transaction Hash: 0000000000000000000000000000000000000000000000000000000000000000 STDERR: ``` It failed because of https://github.com/nspcc-dev/neofs-node/pull/3737 and the error can be clearly seen in node logs, but client receives an empty hash and no error. ## Possible Solution Fix something. ## Steps to Reproduce (for bugs) Make some control service call fail internally like above, see how client reacts. ## Context https://rest.fs.neo.org/Aku38wpn2xEqfEPxmwyAa7N3VnAkMV8PEVkpLqwKM1z3/4517-1765549647/index.html#suites/e85a210f8eb4807f0e7a860383537e45/5e43625665631138/ ## Regression Not likely. ## Your Environment * Version used: master
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-node#1551
No description provided.