We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
neofs-cli control shards set-mode --all --mode read-write --clear-errors should clear shard errors
neofs-cli control shards set-mode --all --mode read-write --clear-errors
neofs-cli control shards set-mode --all --mode read-write --clear-errors doesn't clear shard errors
root@az:~# neofs-cli --endpoint 127.0.0.1:8091 -w /etc/neofs/storage/wallet.json control shards list|grep -A 10 7qAhxeP39ucvQnrp4Q3nGu Enter password > Shard 7qAhxeP39ucvQnrp4Q3nGu: Mode: degraded-read-only Metabase: /srv/neofs/meta0/metabase2.db Blobstor: Path 0: /srv/neofs/data2/blobovnicza Type 0: blobovnicza Path 1: /srv/neofs/data2 Type 1: fstree Write-cache: /srv/neofs/meta0/write_cache2 Pilorama: /srv/neofs/meta0/pilorama2.db Error count: 31
root@az:~# neofs-cli --endpoint 127.0.0.1:8091 -w /etc/neofs/storage/wallet.json control shards set-mode --all --mode read-write --clear-errors Enter password > Shard mode update request successfully sent.
root@az:~# neofs-cli --endpoint 127.0.0.1:8091 -w /etc/neofs/storage/wallet.json control shards list|grep -A 10 7qAhxeP39ucvQnrp4Q3nGu Enter password > Shard 7qAhxeP39ucvQnrp4Q3nGu: Mode: read-write Metabase: /srv/neofs/meta0/metabase2.db Blobstor: Path 0: /srv/neofs/data2/blobovnicza Type 0: blobovnicza Path 1: /srv/neofs/data2 Type 1: fstree Write-cache: /srv/neofs/meta0/write_cache2 Pilorama: /srv/neofs/meta0/pilorama2.db Error count: 58
Versions:
NeoFS Storage node Version: v0.32.0-121-gade19077 GoVersion: go1.18.4
Your Environment Server setup and configuration: cloud, 4 VMs, 4 SN, 4 http qw, 4 s3 gw
Operating System and version (uname -a): linux vedi 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered:
SetShardMode
fyrchik
Successfully merging a pull request may close this issue.
Expected Behavior
neofs-cli control shards set-mode --all --mode read-write --clear-errors
should clear shard errorsCurrent Behavior
neofs-cli control shards set-mode --all --mode read-write --clear-errors
doesn't clear shard errorsSteps to Reproduce (for bugs)
Versions:
Your Environment
Server setup and configuration:
cloud, 4 VMs, 4 SN, 4 http qw, 4 s3 gw
Operating System and version (uname -a):
linux vedi 5.10.0-16-amd64 #1 SMP Debian 5.10.127-1 (2022-06-30) x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: