adm: Fix dump-config output #1139

Closed
elebedeva wants to merge 1 commits from elebedeva:fix/ffs-adm-output into master
Collaborator

Added preferable type to params in frostfs-adm morph dump-config output.

service@ekaterinalebedeva-node1[alone_datacenter]:~$ frostfs-adm morph dump-config  -r http://localhost:40332
EigenTrustAlpha:             0.1 (string)
EigenTrustIterations:        4 (int)
EpochDuration:               75 (int)
InnerRingCandidateFee:       10000000000 (int)
MaintenanceModeAllowed:      true (bool)
AuditFee:                    0 (int)
BasicIncomeRate:             0 (int)
ContainerFee:                0 (int)
WithdrawFee:                 100000000 (int)
ContainerAliasFee:           0 (int)
HomomorphicHashingDisabled:  true (bool)
MaxObjectSize:               5242880 (int)

Also, in the original issue there is a problem with MaxECParityCount and MaxECDataCount parameters type. However, I wasn't able to reproduce it:
Screenshot from 2024-05-16 20-22-18-1

Signed-off-by: Ekaterina Lebedeva ekaterina.lebedeva@yadro.com

Added preferable type to params in `frostfs-adm morph dump-config` output. ``` service@ekaterinalebedeva-node1[alone_datacenter]:~$ frostfs-adm morph dump-config -r http://localhost:40332 EigenTrustAlpha: 0.1 (string) EigenTrustIterations: 4 (int) EpochDuration: 75 (int) InnerRingCandidateFee: 10000000000 (int) MaintenanceModeAllowed: true (bool) AuditFee: 0 (int) BasicIncomeRate: 0 (int) ContainerFee: 0 (int) WithdrawFee: 100000000 (int) ContainerAliasFee: 0 (int) HomomorphicHashingDisabled: true (bool) MaxObjectSize: 5242880 (int) ``` Also, in the original issue there is a problem with `MaxECParityCount` and `MaxECDataCount` parameters type. However, I wasn't able to reproduce it: ![Screenshot from 2024-05-16 20-22-18-1](/attachments/54c4e180-778c-4de9-8db4-7d1a538adc26) Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
elebedeva added 1 commit 2024-05-16 18:13:35 +00:00
DCO action / DCO (pull_request) Failing after 1m26s Details
Vulncheck / Vulncheck (pull_request) Successful in 3m8s Details
Build / Build Components (1.22) (pull_request) Successful in 3m56s Details
Build / Build Components (1.21) (pull_request) Successful in 4m2s Details
Pre-commit hooks / Pre-commit (pull_request) Successful in 4m27s Details
Tests and linters / Staticcheck (pull_request) Successful in 4m44s Details
Tests and linters / gopls check (pull_request) Successful in 5m2s Details
Tests and linters / Lint (pull_request) Successful in 5m54s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 8m55s Details
Tests and linters / Tests with -race (pull_request) Successful in 8m52s Details
Tests and linters / Tests (1.22) (pull_request) Successful in 9m6s Details
6f0e52238c
[OBJECT-8900] adm: fix dump-config output
Added preferable type to params in `frostfs-adm morph dump-config`
output.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>

Please, use #1139 as the commit message prefix, OBJECT-8900 is not a public link.

Please, use #1139 as the commit message prefix, `OBJECT-8900` is not a public link.
elebedeva force-pushed fix/ffs-adm-output from 6f0e52238c to c255d3ea12 2024-05-17 10:30:34 +00:00 Compare
elebedeva changed title from WIP: adm: Fix dump-config output to adm: Fix dump-config output 2024-05-17 11:01:45 +00:00
elebedeva requested review from storage-core-committers 2024-05-17 11:01:56 +00:00
elebedeva requested review from storage-core-developers 2024-05-17 11:01:56 +00:00
dstepanov-yadro approved these changes 2024-05-17 11:16:59 +00:00
aarifullin approved these changes 2024-05-17 12:27:14 +00:00
fyrchik reviewed 2024-05-17 13:15:14 +00:00
@ -62,3 +62,3 @@
netmap.EpochDurationConfig, netmap.IrCandidateFeeConfig,
netmap.MaxObjectSizeConfig, netmap.WithdrawFeeConfig,
netmap.MaxECDataCountConfig, netmap.MaxECParityCountConfig:
netmap.MaxECDataCountConfig, netmap.MaxECParityCountConfig,

The task was mostly about EC fields.
The others were intentionally deleted, as they are unused and thus are output in hex as the default format.

The task was mostly about EC fields. The others were intentionally deleted, as they are unused and thus are output in hex as the default format.
Poster
Collaborator

Then there is no problem to fix, closing PR.

Then there is no problem to fix, closing PR.
fyrchik marked this conversation as resolved
elebedeva closed this pull request 2024-05-21 11:09:17 +00:00
All checks were successful
DCO action / DCO (pull_request) Successful in 2m48s
Vulncheck / Vulncheck (pull_request) Successful in 3m3s
Build / Build Components (1.22) (pull_request) Successful in 4m1s
Build / Build Components (1.21) (pull_request) Successful in 4m6s
Tests and linters / Staticcheck (pull_request) Successful in 4m35s
Tests and linters / gopls check (pull_request) Successful in 4m48s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m35s
Tests and linters / Lint (pull_request) Successful in 6m24s
Tests and linters / Tests (1.21) (pull_request) Successful in 8m54s
Tests and linters / Tests with -race (pull_request) Successful in 9m0s
Tests and linters / Tests (1.22) (pull_request) Successful in 9m13s

Pull request closed

Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#1139
There is no content yet.