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

Object not found while deleting object with Session Token #1697

Closed
EliChin opened this issue Aug 17, 2022 · 0 comments · Fixed by #1823
Closed

Object not found while deleting object with Session Token #1697

EliChin opened this issue Aug 17, 2022 · 0 comments · Fixed by #1823
Assignees
Labels
bug Something isn't working U0 Needs to be resolved immediately
Milestone

Comments

@EliChin
Copy link
Contributor

EliChin commented Aug 17, 2022

Deletion of an object with a session token via a node which IS in the container (where the object is put) and NOT granted a session token fails with an unexpected error. While other operations using a session token via other nodes run as expected.

Expected Behavior

Deletion fails with rpc error: client failure: status: code = 4096 message = session token not found.

Current Behavior

Deletion fails with rpc error: remove object via client: status: code = 2049 message = object not found.

Steps to Reproduce (for bugs)

  1. Create a wallet and make a deposit;
  2. Created a private container (with a placement policy allowing one rep and one loc) and put an object thereinto;
  3. Issue a session token with the wallet generated above to trust a certain node;
  4. Try to delete the object via a node which IS IN the container and NOT granted a session token.

Context

While writing a test for session token via neofs-cli.
https://github.com/EliChin/neofs-testcases/blob/feature/pytest_session/pytest_tests/testsuites/session_token/test_object_st.py

Your Environment

neofs-node: 0.31.0
neo-go: 0.99.2
neofs-node:Ubuntu 0.22.4

@EliChin EliChin added bug Something isn't working triage labels Aug 17, 2022
aprasolova pushed a commit to aprasolova/neofs-node that referenced this issue Oct 19, 2022
…n is missing

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.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 U0 Needs to be resolved immediately
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants