Track progress in control shards evacuate #109

Closed
opened 2023-03-08 23:34:34 +00:00 by snegurochka · 1 comment
Member

Original issue: https://github.com/nspcc-dev/neofs-node/issues/2077

There is no ability to track the progress of the evacuate command and what the timeout duration should I specify according to the data on a shard?

I have 1.7G data on shard:
/dev/vdh1 20G 1.7G 17G 10% /srv/neofs/data6

And when I tried to evacuate objects I always get

root@az:/etc/neofs/storage/tatlin-object-sber-tfstate/vkarakozov# neofs-cli --wallet /etc/neofs/storage/wallet.json --endpoint localhost:8091 control shards evacuate --id XpwHq2ojz93WzZsct4TS7f -t 10m               
Enter password >
rpc error: context deadline exceeded

Just for proposal it would be great to always display status bar for this command and add someting like --no-progress option in case if no need to display. One more suggestion is in case if --no-progress is specified or session has been terminated and there is no way to track if evacuate is finished or not, we could display status 'evacuated' or 'evacuate in progress' for example in control shards list command or somewhere else.

Your Environment

Linux az 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
Server setup and configuration:
cloud, 4 VMs, 4 SN, 4 http qw, 4 s3 gw

NeoFS Storage node
Version: v0.34.0-54-g402bbba1
GoVersion: go1.19.3

Original issue: https://github.com/nspcc-dev/neofs-node/issues/2077 There is no ability to track the progress of the evacuate command and what the timeout duration should I specify according to the data on a shard? I have 1.7G data on shard: `/dev/vdh1 20G 1.7G 17G 10% /srv/neofs/data6` And when I tried to evacuate objects I always get ``` root@az:/etc/neofs/storage/tatlin-object-sber-tfstate/vkarakozov# neofs-cli --wallet /etc/neofs/storage/wallet.json --endpoint localhost:8091 control shards evacuate --id XpwHq2ojz93WzZsct4TS7f -t 10m Enter password > rpc error: context deadline exceeded ``` Just for proposal it would be great to always display status bar for this command and add someting like `--no-progress` option in case if no need to display. One more suggestion is in case if `--no-progress` is specified or session has been terminated and there is no way to track if evacuate is finished or not, we could display status 'evacuated' or 'evacuate in progress' for example in `control shards list` command or somewhere else. ## Your Environment Linux az 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux Server setup and configuration: cloud, 4 VMs, 4 SN, 4 http qw, 4 s3 gw NeoFS Storage node Version: v0.34.0-54-g402bbba1 GoVersion: go1.19.3
fyrchik added the
enhancement
frostfs-node
refactoring
labels 2023-03-23 08:48:41 +00:00
dstepanov-yadro was assigned by fyrchik 2023-05-18 08:36:19 +00:00
fyrchik added this to the v0.37.0 milestone 2023-05-18 08:36:22 +00:00
Owner

Related #329.

Related #329.
fyrchik added the
observability
label 2023-05-18 10:46:16 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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: TrueCloudLab/frostfs-node#109
No description provided.