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

NAS-133481 / 25.04 / Changes for VMs in new virtualization #11323

Merged
merged 7 commits into from
Jan 20, 2025
Merged

Conversation

denysbutenko
Copy link
Member

@denysbutenko denysbutenko commented Jan 10, 2025

Changes:

  1. Makes CPU and Memory attributes required again.
  2. Update Disks picker, remove destionation and allows to pick zvols only.
  3. Updated ix-explorer allows to list zvols only.

Testing:

Checks Instance Wizard on Virtualization page.

Downstream

Affects Reasoning
Documentation Instance Wizard changes

@denysbutenko denysbutenko requested a review from a team as a code owner January 10, 2025 12:37
@denysbutenko denysbutenko requested review from RehanY147 and removed request for a team January 10, 2025 12:37
@bugclerk bugclerk changed the title NAS-133481: Changes for VMs in new virtualization NAS-133481 / 25.04 / Changes for VMs in new virtualization Jan 10, 2025
@bugclerk
Copy link
Contributor

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 84.37500% with 5 lines in your changes missing coverage. Please review.

Project coverage is 82.86%. Comparing base (3829331) to head (9b33863).

✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...nents/instance-wizard/instance-wizard.component.ts 85.71% 2 Missing ⚠️
src/app/services/filesystem.service.ts 71.42% 2 Missing ⚠️
...instance-disk-form/instance-disk-form.component.ts 90.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11323   +/-   ##
=======================================
  Coverage   82.86%   82.86%           
=======================================
  Files        1660     1660           
  Lines       59423    59440   +17     
  Branches     6244     6252    +8     
=======================================
+ Hits        49241    49257   +16     
- Misses      10182    10183    +1     

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

Copy link
Contributor

@RehanY147 RehanY147 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CPU and memory field are not required on the instance wizard. You can leave them empty.

@denysbutenko
Copy link
Member Author

The CPU and memory field are not required on the instance wizard. You can leave them empty.

@RehanY147 did you mean to reset value in those fields when user switches from VM to Container?

Copy link
Contributor

@RehanY147 RehanY147 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am unclear when we want to choose zvols, can we also select directories? Or does that user has to select a zvol.
/dev/zvol as a value should not be selectable. That value is meaningless when requiring to select zvols.

@denysbutenko
Copy link
Member Author

I am unclear when we want to choose zvols, can we also select directories? Or does that user has to select a zvol. /dev/zvol as a value should not be selectable. That value is meaningless when requiring to select zvols.

Middleware does not allow directories to be used and raises validation error. The ix-explorer does not support this feature yet or have it been added recently?

@undsoft undsoft self-requested a review January 20, 2025 12:57
Copy link
Collaborator

@undsoft undsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine the way it works at the moment, we can improve on it later.

@undsoft undsoft enabled auto-merge (squash) January 20, 2025 18:54
@undsoft undsoft disabled auto-merge January 20, 2025 20:12
@undsoft undsoft merged commit 811d9a1 into master Jan 20, 2025
9 checks passed
@undsoft undsoft deleted the NAS-133481 branch January 20, 2025 20:12
@bugclerk
Copy link
Contributor

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jan 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants