Need option in frostfs-cli to show nodes for storage policy without real create container #227
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#227
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
I want to know container nodes before create a container to check that policy meets my expectations.
Solution
Need option in frostfs-cli to show nodes for storage policy without real create container.
netmap view-policy
?Or, maybe a flag to
container nodes
which takes a policy?The problem is that we cannot know for sure without a container ID, but we can build an approximation.
In technical terms, this involves creating a container structure locally without adding the result to the container contract. The placement vector is computed using the most recent network map.
If the generated output meets the necessary requirements, the container must be produced precisely the same way, with the Nonce and Timestamp fields included to obtain the same resulting ContainerID. This process adds an interactive dimension to the command.
@anikeev-yadro @realloc is the
policy-playground
command in #416 sufficient for closing this? or do we want some additional tooling?I think yes, that sufficient. You can close this.