Skip to content

Clarify KVM import template requirement#13126

Open
andrijapanicsb wants to merge 1 commit intomainfrom
fix/clarify-kvm-import-templateid-requirement
Open

Clarify KVM import template requirement#13126
andrijapanicsb wants to merge 1 commit intomainfrom
fix/clarify-kvm-import-templateid-requirement

Conversation

@andrijapanicsb
Copy link
Copy Markdown
Contributor

@andrijapanicsb andrijapanicsb commented May 7, 2026

Description

importUnmanagedInstance documents templateid as an optional parameter, but KVM unmanaged instance import currently requires a template and fails when one is not supplied.

This updates the generated API parameter description for templateid to explicitly mention that it is required when importing an unmanaged KVM instance. It avoids the current mismatch between API docs and runtime behavior without changing import semantics.

Fixes #13067

Tests

Added ImportUnmanagedInstanceCmdTest coverage to verify the templateid API parameter description includes the KVM requirement.





##########################################################
Generated by AI - do you REALLY think I became a Java developer overnight?
So, REVIEW PROPERLY and feel free to decline the PR if it's bunch of junk !
#########################################################

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.09%. Comparing base (f6efda5) to head (3de13b0).

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #13126   +/-   ##
=========================================
  Coverage     18.09%   18.09%           
- Complexity    16721    16723    +2     
=========================================
  Files          6037     6037           
  Lines        542546   542546           
  Branches      66431    66431           
=========================================
+ Hits          98159    98170   +11     
+ Misses       433368   433355   -13     
- Partials      11019    11021    +2     
Flag Coverage Δ
uitests 3.52% <ø> (ø)
unittests 19.25% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 7, 2026

@andrijapanicsb
Copy link
Copy Markdown
Contributor Author

@blueorangutan package kvm

@blueorangutan
Copy link
Copy Markdown

@andrijapanicsb a [SL] Jenkins job has been kicked to build packages. It will be bundled withkvm SystemVM template(s). I'll keep you posted as I make progress.

@blueorangutan
Copy link
Copy Markdown

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 17772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optional templateid param fails for KVM VM import

2 participants