Skip to content
New issue

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 container nodes" outputs "REP 1" even though REP>1 #1991

Closed
ikovalev1 opened this issue Oct 27, 2022 · 0 comments · Fixed by #1997
Closed

"neofs-cli container nodes" outputs "REP 1" even though REP>1 #1991

ikovalev1 opened this issue Oct 27, 2022 · 0 comments · Fixed by #1997
Assignees
Labels
bug Something isn't working U4 Nothing urgent

Comments

@ikovalev1
Copy link

ikovalev1 commented Oct 27, 2022

Expected Behavior

output should show the configured number of REP

Current Behavior

"REP 1" is always outputted

Steps to Reproduce (for bugs)

  1. create container with REP 2
 neofs-cli container create -r node1:8080 -w /etc/neofs/storage/wallet.json --policy "REP 2 IN X CBF 1 SELECT 2 FROM * AS X" --await --basic-acl public-read-write
Enter password >
container ID: FdxjV1aYZoVmaAXvGnkMiAdw7bT1Rh9B3deuPHpXL1a7
awaiting...
container has been persisted on sidechain
  1. run node container. The output shows REP 1
neofs-cli container nodes  -r node1:8080 -w /etc/neofs/storage/wallet.json --cid FdxjV1aYZoVmaAXvGnkMiAdw7bT1Rh9B3deuPHpXL1a7
Enter password >
Rep 1
        Node 1: 0263c5cb4b22969aad3ed132cfda5838a4a6675693aba4a2b60127c5d6fd20a67f ONLINE /dns4/node1.neofs/tcp/8080
                Continent: Europe
                Country: Russia
                CountryCode: RU
                Deployed: YACZROKH
                Location: Moskva
                Node: node1
                Price: 10
                SubDiv: Moskva
                SubDivCode: MOW
                UN-LOCODE: RU MOW
        Node 2: 03d1f4fc72d6a77da748d86451d4d190a5dcf2bcdc80360387609ad7a19817b688 ONLINE /dns4/node3.neofs/tcp/8080
                Continent: Europe
                Country: Sweden
                CountryCode: SE
                Deployed: YACZROKH
                Location: Stockholm
                Node: node3
                Price: 10
                SubDiv: Stockholms l�n
                SubDivCode: AB
                UN-LOCODE: SE STO

Your Environment

neofs-node --version
NeoFS Storage node
Version: v0.33.0-78-g846ff515
GoVersion: go1.18.4

@alexchetaev alexchetaev added the U3 Regular label Oct 27, 2022
@carpawell carpawell self-assigned this Oct 27, 2022
@alexchetaev alexchetaev added U4 Nothing urgent and removed U3 Regular labels Oct 28, 2022
carpawell added a commit that referenced this issue Nov 1, 2022
Not to confuse a user by mixing a replication vector number with its copy
number.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working U4 Nothing urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants