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(vm): fix the virtual machine matching with the virtual machine class during validation when no sizing policy is provided #431

Merged
merged 6 commits into from
Oct 9, 2024

Conversation

eofff
Copy link
Contributor

@eofff eofff commented Oct 9, 2024

Description

Fix Virtual Machine validation of matching Virtual Machine Class requirements when no Sizing Policy not provided.

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

Virtual Machines was failing validation when no sizing policy provided. That's incorrect behavior.

What is the expected result?

Correct validation process)

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.

fix
Signed-off-by: Valeriy Khorunzhin <[email protected]>
@eofff eofff requested a review from Isteb4k October 9, 2024 13:59
@eofff eofff self-assigned this Oct 9, 2024
@eofff eofff marked this pull request as draft October 9, 2024 13:59
Valeriy Khorunzhin added 2 commits October 9, 2024 17:12
fix
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
@eofff eofff marked this pull request as ready for review October 9, 2024 15:02
@eofff eofff changed the title fix(vm): fix virtual machine match virtual machine class validation when no sizing policy provided fix(vm): fix the virtual machine matching with the virtual machine class during validation when no sizing policy is provided Oct 9, 2024
fix
Signed-off-by: Valeriy Khorunzhin <[email protected]>
@eofff eofff requested a review from Isteb4k October 9, 2024 15:19
Valeriy Khorunzhin added 2 commits October 9, 2024 18:21
fix
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Signed-off-by: Valeriy Khorunzhin <[email protected]>
@eofff eofff merged commit 4704e31 into main Oct 9, 2024
10 checks passed
@eofff eofff deleted the fix/vm/fix-vmlass-match-validation branch October 9, 2024 15:26
@universal-itengineer universal-itengineer added this to the v0.14.0 milestone Oct 11, 2024
universal-itengineer pushed a commit that referenced this pull request Oct 14, 2024
Features
api: move calculation of scratch filesystem overhead to cdi controller (91d8db3)
cvi,vi,vd: replace uploadCommand field with imageUploadURLs (70ccd2e)
kube-api-rewriter: add pprof and metrics, fix rewrite performance (#402) (a009052)
vd, vmbda: add _labels and _annotations metrics (#399) (7690d2b)
vd: resizing vd in filesystem mode (#385) (7857bd3)
vm: add custom secret types for provisioning (#390) (597d551)
vm: add failure message to condition if migration is failed (78b3a42)
vm: add new VM _labels and _annotations metrics and refactor existing ones (#398) (75e57ad)
vmclass: add validation for matching virtual machine sizing policies upon virtual machine class change (#389) (029c445)
vm: disable serial console log (21d0bec)
vmop: add metrics (#370) (2436b8e)
vmop: add operation to migrate vm (#386) (d61bab4)
vmrestore: add the ability to restore virtualmachines (0c59bff)
vmsnapshot: add the ability to snapshot virtualmachines (38b84d4)

Bug Fixes
vd,vi,cvi: fix vd uploader service creating (#409) (d012007)
vd: allow to change size in spec for not ready vd (#411) (38bb0eb)
vm,vmip: improve VMIP management (#374) (d6695ef)
vmbda: reconcile from virtual disk phase changes events (7157204)
vm: fix the virtual machine matching with the virtual machine class during validation when no sizing policy is provided (#431) (4704e31)
vmip: add validating ip address for VMIP with type 'Static' (#404) (2c95be9)
vmip: fix deleting unattached vmip (#405) (56cb6cd)
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.

3 participants