Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Replace the resourceStorage implementation #1099

Closed
sameo opened this issue Jan 8, 2019 · 1 comment
Closed

Replace the resourceStorage implementation #1099

sameo opened this issue Jan 8, 2019 · 1 comment
Assignees

Comments

@sameo
Copy link

sameo commented Jan 8, 2019

Description of problem

The resourceStorage implementation is a wide spread dependency and prevents several key components (e.g. hypervisors) to be moved into their own package.

Expected result

Create a new store package that provides a storage implementation for virtcontainers, with the following features:

  • Simplicity: The API should be short and simple.
  • Transparency: The core virtcontainers code should not care about
    the storage backend details.
  • Extensibility: It should be easily extensible to add non local and in
    memory backends.
@sameo sameo self-assigned this Jan 8, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 8, 2019
@jodh-intel
Copy link
Contributor

sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 9, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 9, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 9, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 9, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 9, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 9, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 9, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 9, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 10, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 10, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 10, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 10, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 10, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 10, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 10, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 10, 2019
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 11, 2019
We convert the whole virtcontainers code to use the store package
instead of the resource_storage one. The resource_storage removal will
happen in a separate change for a more logical split.

This change is fairly big but mostly does not change the code logic.
What really changes is when we create a store for a container or a
sandbox. We now need to explictly do so instead of just assigning a
filesystem{} instance. Other than that, the logic is kept intact.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 11, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 11, 2019
We convert the whole virtcontainers code to use the store package
instead of the resource_storage one. The resource_storage removal will
happen in a separate change for a more logical split.

This change is fairly big but mostly does not change the code logic.
What really changes is when we create a store for a container or a
sandbox. We now need to explictly do so instead of just assigning a
filesystem{} instance. Other than that, the logic is kept intact.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 11, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 11, 2019
We convert the whole virtcontainers code to use the store package
instead of the resource_storage one. The resource_storage removal will
happen in a separate change for a more logical split.

This change is fairly big but mostly does not change the code logic.
What really changes is when we create a store for a container or a
sandbox. We now need to explictly do so instead of just assigning a
filesystem{} instance. Other than that, the logic is kept intact.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 11, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 17, 2019
We convert the whole virtcontainers code to use the store package
instead of the resource_storage one. The resource_storage removal will
happen in a separate change for a more logical split.

This change is fairly big but mostly does not change the code logic.
What really changes is when we create a store for a container or a
sandbox. We now need to explictly do so instead of just assigning a
filesystem{} instance. Other than that, the logic is kept intact.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 17, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 18, 2019
We convert the whole virtcontainers code to use the store package
instead of the resource_storage one. The resource_storage removal will
happen in a separate change for a more logical split.

This change is fairly big but mostly does not change the code logic.
What really changes is when we create a store for a container or a
sandbox. We now need to explictly do so instead of just assigning a
filesystem{} instance. Other than that, the logic is kept intact.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 18, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 24, 2019
We convert the whole virtcontainers code to use the store package
instead of the resource_storage one. The resource_storage removal will
happen in a separate change for a more logical split.

This change is fairly big but mostly does not change the code logic.
What really changes is when we create a store for a container or a
sandbox. We now need to explictly do so instead of just assigning a
filesystem{} instance. Other than that, the logic is kept intact.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Jan 24, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Feb 1, 2019
We convert the whole virtcontainers code to use the store package
instead of the resource_storage one. The resource_storage removal will
happen in a separate change for a more logical split.

This change is fairly big but mostly does not change the code logic.
What really changes is when we create a store for a container or a
sandbox. We now need to explictly do so instead of just assigning a
filesystem{} instance. Other than that, the logic is kept intact.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Feb 1, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Feb 5, 2019
We convert the whole virtcontainers code to use the store package
instead of the resource_storage one. The resource_storage removal will
happen in a separate change for a more logical split.

This change is fairly big but mostly does not change the code logic.
What really changes is when we create a store for a container or a
sandbox. We now need to explictly do so instead of just assigning a
filesystem{} instance. Other than that, the logic is kept intact.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Feb 5, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Feb 6, 2019
We convert the whole virtcontainers code to use the store package
instead of the resource_storage one. The resource_storage removal will
happen in a separate change for a more logical split.

This change is fairly big but mostly does not change the code logic.
What really changes is when we create a store for a container or a
sandbox. We now need to explictly do so instead of just assigning a
filesystem{} instance. Other than that, the logic is kept intact.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Feb 6, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
sameo pushed a commit to sameo/runtime-1 that referenced this issue Feb 7, 2019
Now that we converted the virtcontainers code to the store package, we
can remove all the resource storage old code.

Fixes: kata-containers#1099

Signed-off-by: Samuel Ortiz <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants