You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Create a wallet and make a deposit;
Created a private container (with a placement policy allowing one rep and one loc) and put an object thereinto;
Issue a session token with the wallet generated above to trust a certain node;
Try to delete the object via a node which IS IN the container and NOT granted a session token.
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)
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
The text was updated successfully, but these errors were encountered: