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

Shared uploads can't handle a non-existent _segments container #388

Closed
sampsapenna opened this issue Nov 9, 2021 · 0 comments
Closed

Shared uploads can't handle a non-existent _segments container #388

sampsapenna opened this issue Nov 9, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sampsapenna
Copy link
Member

Describe the bug

Current upload behavior is to break >5GiB files into segments as per Swift API guidelines. The process, however, currently expects that the segments should be pushed into a $CONTAINER_NAME_segments -container, which is a behavior similar to the native Openstack tools for object storage. The issue is, when a user has shared a container to the uploading party, the _segments container doesn't necessarily exist, thus leading to a situation where the upload runner creates a _segments container to the uploading project, instead of the _segments container being owned by the project that originally shared the container.

To Reproduce

Steps to reproduce the behaviour:

  1. Open the UI
  2. Create a container and share that to another project
  3. Using the UI with another project, upload a file larger than 5GiB to the container shared to the project in the previous step
  4. Observe the _segments container being present in the uploading project, instead of the project that originally created the container

Expected behavior

All object contents should at least be accessible to the project that originally shared the container, either by sharing the segments container to the project that owns this shared container, or by uploading the segments into the shared container.

Screenshots

Additional context

@sampsapenna sampsapenna added the bug Something isn't working label Nov 9, 2021
@csc-felipe csc-felipe self-assigned this Dec 14, 2021
@sampsapenna sampsapenna mentioned this issue Jan 12, 2022
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants