Skip to content

fix fsvm-init.yml to detect virtio-scsi in kvm #11070

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

levindecaro
Copy link

Description

This PR about the sharedFS VM not functional while systemvm has been configured to use scsi as rootDiskController, this change added controller detection logic during init state.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

Tested on OL9 KVM configuration for systemvm with rootDiskController=scsi configuration

How did you try to break this feature and the system with this change?

Copy link

boring-cyborg bot commented Jun 22, 2025

Congratulations on your first Pull Request and welcome to the Apache CloudStack community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/cloudstack/blob/main/CONTRIBUTING.md)
Here are some useful points:

Copy link
Collaborator

@abh1sar abh1sar left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. One minor comment.

Copy link

codecov bot commented Jun 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.57%. Comparing base (5b7c3b4) to head (8bb8e86).
Report is 20 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #11070   +/-   ##
=========================================
  Coverage     16.57%   16.57%           
  Complexity    13967    13967           
=========================================
  Files          5743     5743           
  Lines        510468   510468           
  Branches      62073    62073           
=========================================
  Hits          84616    84616           
  Misses       416390   416390           
  Partials       9462     9462           
Flag Coverage Δ
uitests 3.90% <ø> (ø)
unittests 17.47% <ø> (ø)

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.

@abh1sar
Copy link
Collaborator

abh1sar commented Jun 25, 2025

@blueorangutan package

@blueorangutan
Copy link

@abh1sar a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan
Copy link

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

Copy link
Collaborator

@abh1sar abh1sar left a comment

Choose a reason for hiding this comment

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

Tested on KVM and VMWare with virtio disk. LGTM.

@abh1sar abh1sar added this to the 4.21.0 milestone Jul 9, 2025
@abh1sar
Copy link
Collaborator

abh1sar commented Jul 9, 2025

@blueorangutan test

@blueorangutan
Copy link

@abh1sar a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-13742)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 57355 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11070-t13742-kvm-ol8.zip
Smoke tests completed. 141 look OK, 0 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

clgtm

@DaanHoogland
Copy link
Contributor

@blueorangutan test ol9 vmware-70u3

@blueorangutan
Copy link

@DaanHoogland a [SL] Trillian-Jenkins test job (ol9 mgmt + vmware-70u3) has been kicked to run smoke tests

@blueorangutan
Copy link

[SF] Trillian test result (tid-13749)
Environment: vmware-70u3 (x2), Advanced Networking with Mgmt server ol9
Total time taken: 93728 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr11070-t13749-vmware-70u3.zip
Smoke tests completed. 129 look OK, 12 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_01_prepare_and_cancel_maintenance Error 0.19 test_ms_maintenance_and_safe_shutdown.py
test_nic_secondaryip_add_remove Error 1516.47 test_multipleips_per_nic.py
ContextSuite context=TestNestedVirtualization>:setup Error 0.00 test_nested_virtualization.py
ContextSuite context=TestNetworkACL>:setup Error 0.00 test_network_acl.py
ContextSuite context=TestIpv6Network>:setup Error 0.00 test_network_ipv6.py
test_delete_account Error 1515.89 test_network.py
test_delete_network_while_vm_on_it Error 1.18 test_network.py
test_deploy_vm_l2network Error 1.17 test_network.py
test_l2network_restart Error 2.29 test_network.py
ContextSuite context=TestPortForwarding>:setup Error 3.50 test_network.py
ContextSuite context=TestPublicIP>:setup Error 9.58 test_network.py
test_reboot_router Failure 0.07 test_network.py
test_releaseIP Error 4.91 test_network.py
test_releaseIP_using_IP Error 5.07 test_network.py
ContextSuite context=TestRouterRules>:setup Error 5.15 test_network.py
ContextSuite context=TestSharedNetworkWithConfigDrive>:setup Error 1522.24 test_network.py
ContextSuite context=TestPrivateGwACL>:setup Error 0.00 test_privategw_acl.py
ContextSuite context=TestAdapterTypeForNic>:setup Error 0.00 test_nic_adapter_type.py
ContextSuite context=TestNonStrictAffinityGroups>:setup Error 0.00 test_nonstrict_affinity_group.py
ContextSuite context=TestIsolatedNetworksPasswdServer>:setup Error 0.00 test_password_server.py
ContextSuite context=TestPortForwardingRules>:setup Error 0.00 test_portforwardingrules.py
ContextSuite context=TestProjectSuspendActivate>:setup Error 1528.54 test_projects.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

4 participants