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

fix(vd,vmbda): write occurred data volume errors to condition #286

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

Isteb4k
Copy link
Contributor

@Isteb4k Isteb4k commented Aug 14, 2024

Description

  1. Some StorageClasses cause errors in the data volume, the CDI importer pod, and the PVC.
    The error might be found either in the conditions or the events. CDI does not have a unified approach for storing errors.
    As part of this task, I have propagated the errors from the conditions of the CDI importer pod to the conditions of the virtual disk.

  2. Added a check to ensure the disk unplug operation is feasible before proceeding.

  3. Improved the identification of conflicting VMBDA instances: now, a VMBDA instance is considered to be in conflict if it attempts to attach a disk that is already in use by another VMBDA instance, irrespective of whether the virtual machines match.

Checklist

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

@Isteb4k Isteb4k force-pushed the feat/vd/pvc-importer-errors branch from 13e322e to b68a1ff Compare August 14, 2024 16:26
@Isteb4k Isteb4k requested a review from LopatinDmitr August 14, 2024 16:26
@Isteb4k Isteb4k changed the title Feat/vd/pvc importer errors feat(vd): write data volume errors to condition Aug 14, 2024
@Isteb4k Isteb4k force-pushed the fix/vd/pvc-size-message branch from 00da5fb to 54393ce Compare August 15, 2024 08:40
@Isteb4k Isteb4k force-pushed the feat/vd/pvc-importer-errors branch 13 times, most recently from c598492 to b1233fd Compare August 15, 2024 15:38
@Isteb4k Isteb4k force-pushed the fix/vd/pvc-size-message branch from 54393ce to 9d63ef3 Compare August 15, 2024 15:41
@Isteb4k Isteb4k force-pushed the feat/vd/pvc-importer-errors branch from b1233fd to a3d7add Compare August 15, 2024 15:45
@Isteb4k Isteb4k marked this pull request as ready for review August 15, 2024 15:48
@Isteb4k Isteb4k requested review from yaroslavborbat and removed request for LopatinDmitr August 15, 2024 15:49
@Isteb4k Isteb4k changed the title feat(vd): write data volume errors to condition feat(vd): write occurred data volume errors to condition Aug 15, 2024
@Isteb4k Isteb4k changed the title feat(vd): write occurred data volume errors to condition fix(vd,vmbda): write occurred data volume errors to condition Aug 15, 2024
yaroslavborbat
yaroslavborbat previously approved these changes Aug 15, 2024
Base automatically changed from fix/vd/pvc-size-message to main August 16, 2024 10:50
@Isteb4k Isteb4k dismissed yaroslavborbat’s stale review August 16, 2024 10:50

The base branch was changed.

@Isteb4k Isteb4k force-pushed the feat/vd/pvc-importer-errors branch from a3d7add to 846a65f Compare August 16, 2024 10:51
@Isteb4k Isteb4k merged commit 4694b5e into main Aug 16, 2024
1 check passed
@Isteb4k Isteb4k deleted the feat/vd/pvc-importer-errors branch August 16, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants