Skip to content

Conversation

@GaOrtiga
Copy link
Contributor

Description

Currently, it is not possible to deploy VRs on dedicated resources, even if they are dedicated to the domain in which the VR will be created.

A new global configuration allowRoutersOnDedicatedResources has been created to allow VRs to be deployed on hosts, clusters, pods and zones that are dedicated to their respective domains.

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

How Has This Been Tested?

With the configuration marked as true:

  • I dedicated resources to the domain in which the VRs would be deployd and verified that the deploy worked normally.
  • I dedicated resources to an account in that domain and verified that I could not deploy VRs on these resources.
  • I dedicated resources to a different domain and verified that I could not deploy VRs on these resources.

I marked the configuration as false and verified that I could not deploy VRs on any of the dedicated resources.

@nicoschmdt nicoschmdt force-pushed the deploy_vr_dedicated_resources branch from 5da9945 to 7b05daf Compare February 5, 2025 16:13
@DaanHoogland
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

@DaanHoogland 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.

@codecov
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

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

Project coverage is 16.40%. Comparing base (39c5641) to head (e15e366).
Report is 157 commits behind head on main.

Files with missing lines Patch % Lines
...n/java/com/cloud/capacity/dao/CapacityDaoImpl.java 0.00% 4 Missing ⚠️
...rc/main/java/com/cloud/deploy/FirstFitPlanner.java 80.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9531      +/-   ##
============================================
- Coverage     16.40%   16.40%   -0.01%     
+ Complexity    13590    13586       -4     
============================================
  Files          5692     5692              
  Lines        501976   501980       +4     
  Branches      60795    60796       +1     
============================================
- Hits          82369    82356      -13     
- Misses       410449   410469      +20     
+ Partials       9158     9155       -3     
Flag Coverage Δ
uitests 4.00% <ø> (ø)
unittests 17.26% <50.00%> (-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.

@blueorangutan
Copy link

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

@nicoschmdt
Copy link
Collaborator

Hey @DaanHoogland, could we run the CI on this PR?

@DaanHoogland
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

@DaanHoogland 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-12421)
Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8
Total time taken: 58187 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9531-t12421-kvm-ol8.zip
Smoke tests completed. 139 look OK, 2 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test Result Time (s) Test File
test_11_isolated_network_with_dynamic_routed_mode Error 2.29 test_ipv4_routing.py
test_12_vpc_and_tier_with_dynamic_routed_mode Error 1.41 test_ipv4_routing.py
test_12_vpc_and_tier_with_dynamic_routed_mode Error 1.41 test_ipv4_routing.py
test_12_start_vm_multiple_volumes_allocated Error 20.01 test_vm_life_cycle.py

@github-actions
Copy link

github-actions bot commented May 2, 2025

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@nicoschmdt nicoschmdt force-pushed the deploy_vr_dedicated_resources branch from 7b05daf to e15e366 Compare May 6, 2025 20:21
@nicoschmdt
Copy link
Collaborator

@blueorangutan package

@blueorangutan
Copy link

@nicoschmdt 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 13280

@github-actions
Copy link

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@DaanHoogland
Copy link
Contributor

@nicoschmdt can you look at the conflicts again?

@DaanHoogland DaanHoogland marked this pull request as draft October 10, 2025 08:50
@harikrishna-patnala harikrishna-patnala modified the milestones: 4.22.0, 4.22.1 Nov 12, 2025
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.

7 participants