adm: Fix dump-config output #1139

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

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>
Owner

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,
Owner

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.
Author
Member

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
Required
Details
Vulncheck / Vulncheck (pull_request) Successful in 3m3s
Required
Details
Build / Build Components (1.22) (pull_request) Successful in 4m1s
Required
Details
Build / Build Components (1.21) (pull_request) Successful in 4m6s
Required
Details
Tests and linters / Staticcheck (pull_request) Successful in 4m35s
Required
Details
Tests and linters / gopls check (pull_request) Successful in 4m48s
Required
Details
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m35s
Required
Details
Tests and linters / Lint (pull_request) Successful in 6m24s
Required
Details
Tests and linters / Tests (1.21) (pull_request) Successful in 8m54s
Required
Details
Tests and linters / Tests with -race (pull_request) Successful in 9m0s
Required
Details
Tests and linters / Tests (1.22) (pull_request) Successful in 9m13s
Required
Details

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
No description provided.