neofs-cli should allow changing the status of nodes from offline to maintenance #871

Open
opened 2025-12-28 17:20:59 +00:00 by sami · 1 comment
Owner

Originally created by @ikovalev1 on GitHub (Nov 9, 2022).

It is allowed to change nodes status to maintenance mode(MM) from online mode but it is not allowed the offline->MM changing:

# neofs-cli --endpoint localhost:8091 -w /etc/neofs/storage/wallet.json control set-status --status maintenance
Enter password >
rpc error: rpc error: code = Aborted desc = local maintenance is started, but state is not updated in the network: could not invoke smart contract: neofs error: chain/client: contract execution finished with state FAULT; exception: at instruction 4574 (THROW): unhandled exception: "peer is missing"

Describe the solution you'd like

It should be allowed to change offline mode to MM

Originally created by @ikovalev1 on GitHub (Nov 9, 2022). ## Is your feature request related to a problem? Please describe.It It is allowed to change nodes status to maintenance mode(MM) from online mode but it is not allowed the offline->MM changing: ``` # neofs-cli --endpoint localhost:8091 -w /etc/neofs/storage/wallet.json control set-status --status maintenance Enter password > rpc error: rpc error: code = Aborted desc = local maintenance is started, but state is not updated in the network: could not invoke smart contract: neofs error: chain/client: contract execution finished with state FAULT; exception: at instruction 4574 (THROW): unhandled exception: "peer is missing" ``` ## Describe the solution you'd like It should be allowed to change offline mode to MM
Author
Owner

@roman-khimov commented on GitHub (Apr 25, 2025):

It's rather easy to send add node request in this case.

@roman-khimov commented on GitHub (Apr 25, 2025): It's rather easy to send add node request in this case.
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#871
No description provided.