kubernetes-sigs / kubernetes-sigs/container-object-storage-interface

v1alpha2 KEP revision: convert to 2-phase Bucket(Access) creation

Open
#350 0 comments 0 reactions 0 assignees View on GitHub
api/v1alpha2 kind/bug
Dominant language
Go
Stars
95
Forks
44
Avg merge
8h 12m
Merged PRs (30d)
4

Description

# Bug Report

In order to prevent backend resource leaks during creation/deletion race conditions, use a 2-phase creation approach:
1. call the driver to generate an ID for the bucket (or access)
2. call the driver to provision the bucket (or access) with the prior ID

This has medium complexity. The key KEP design section for this is here: https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/1979-object-storage-support#drivergeneratebucketid

I would suggest 2 PRs for this to keep PRs smaller:
1. bucket sidecar updates
2. bucketaccess sidecar updates

Contributor guide

Open the contributing guide

Research direction

Start with the linked KEP's drivergeneratebucketid design section, then locate the bucket and bucketaccess sidecar entry points in this repository. Implement and validate the two-phase driver flow for both resources, keeping the work split into the two suggested PRs; the payload names no specific tests or files to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.