virtualization icon indicating copy to clipboard operation
virtualization copied to clipboard

feat(images): add InUse condition

Open eofff opened this issue 9 months ago • 9 comments

Description

Add new condition InUse Add new handler to set InUse condition

Why do we need it, and what problem does it solve?

Other resources may use VI/CVI for creation, we must not delete VI/CVI while they are in use.

What is the expected result?

Checklist

  • [ ] The code is covered by unit tests.
  • [x] e2e tests passed.
  • [ ] Documentation updated according to the changes.
  • [x] Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: images
type: feature
summary: Do not allow the deletion of VI/CVI that are in use.

eofff avatar Jun 23 '25 08:06 eofff

Workflow has started. Follow the progress here: Workflow Run

The target step completed with status: success.

deckhouse-BOaTswain avatar Jun 24 '25 15:06 deckhouse-BOaTswain

Workflow has started. Follow the progress here: Workflow Run

The target step completed with status: cancelled.

deckhouse-BOaTswain avatar Jun 26 '25 20:06 deckhouse-BOaTswain

Workflow has started. Follow the progress here: Workflow Run

deckhouse-BOaTswain avatar Jun 26 '25 21:06 deckhouse-BOaTswain

Workflow has started. Follow the progress here: Workflow Run

The target step completed with status: failure.

deckhouse-BOaTswain avatar Jun 26 '25 22:06 deckhouse-BOaTswain

Workflow has started. Follow the progress here: Workflow Run

The target step completed with status: failure.

deckhouse-BOaTswain avatar Jun 27 '25 06:06 deckhouse-BOaTswain

Workflow has started. Follow the progress here: Workflow Run

The target step completed with status: success.

deckhouse-BOaTswain avatar Jun 27 '25 07:06 deckhouse-BOaTswain

Workflow has started. Follow the progress here: Workflow Run

The target step completed with status: failure.

deckhouse-BOaTswain avatar Aug 25 '25 20:08 deckhouse-BOaTswain

Workflow has started. Follow the progress here: Workflow Run

The target step completed with status: failure.

deckhouse-BOaTswain avatar Aug 26 '25 03:08 deckhouse-BOaTswain

Workflow has started. Follow the progress here: Workflow Run

The target step completed with status: failure.

deckhouse-BOaTswain avatar Aug 26 '25 05:08 deckhouse-BOaTswain