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

Can't upload big object with bearer token #2667

Closed
roman-khimov opened this issue Dec 4, 2023 · 0 comments
Closed

Can't upload big object with bearer token #2667

roman-khimov opened this issue Dec 4, 2023 · 0 comments
Assignees
Labels
bug Something isn't working I2 Regular impact neofs-storage Storage node application issues S2 Regular significance U2 Seriously planned
Milestone

Comments

@roman-khimov
Copy link
Member

Expected Behavior

Uploads working with bearer token irrespective of object size.

Current Behavior

write: status: code = 1024 message = incomplete object PUT by placement: could not close object stream: (*putsvc.remoteTarget) could not put object to [/dns4/st2.t5.fs.neo.org/tcp/8080]: write object payload into stream: status: code = 2048 message = access to object operation denied

Steps to Reproduce (for bugs)

Try uploading >64M file into https://send.fs.neo.org/

@roman-khimov roman-khimov added bug Something isn't working neofs-storage Storage node application issues labels Dec 4, 2023
@roman-khimov roman-khimov added this to the v0.40.0 milestone Dec 4, 2023
@roman-khimov roman-khimov added U2 Seriously planned S2 Regular significance I2 Regular impact labels Dec 21, 2023
@roman-khimov roman-khimov modified the milestones: v0.40.0, v0.41.0 Jan 29, 2024
carpawell added a commit that referenced this issue Feb 29, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Feb 29, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 1, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 1, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 6, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 6, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 7, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 11, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 11, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 12, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 14, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 14, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 20, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
carpawell added a commit that referenced this issue Mar 20, 2024
On reading:
Support both split chain versions a new and an old one.
On writing:
Split objects only with the V2 version:
 1. Link objects do not have child objects in their headers, payload is used
 instead
 2. Link objects contain child objects' sizes along with the IDs
 3. SplitID is not attached to the objects anymore
 4. The First part's ID of a big object is attached to every split part (a link
 has it too, but obviously the first part itself does not have its ID in
 its split header)
 5. Receiving link object triggers verification of its children: they should
 have the same first object and have the same payload size as the link
 declares
 6. The First object part now has an original object's paylaod (without
 payload-dependent fields set).

 Closes #2667.

Signed-off-by: Pavel Karpy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working I2 Regular impact neofs-storage Storage node application issues S2 Regular significance U2 Seriously planned
Projects
None yet
Development

No branches or pull requests

2 participants