server: fix global setting system.vm.public.ip.reservation.mode.strictness is not really dynamic#7909
Conversation
…tness is not really dynamic If the original value is `false`, and search build is configured without the condition. Now change the value to `true`, it will not get effective due to missing condition.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.18 #7909 +/- ##
============================================
- Coverage 13.06% 13.06% -0.01%
+ Complexity 9089 9088 -1
============================================
Files 2720 2720
Lines 257380 257379 -1
Branches 40128 40127 -1
============================================
- Hits 33622 33620 -2
- Misses 219535 219537 +2
+ Partials 4223 4222 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
yadvr
left a comment
There was a problem hiding this comment.
LGTM - not sure if this needs other explicit testing
|
@blueorangutan package |
|
@weizhouapache a [SF] 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. |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6884 |
|
@blueorangutan test |
|
@weizhouapache a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7544)
|
|
@blueorangutan test |
|
@weizhouapache a [SF] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
| if (SystemVmPublicIpReservationModeStrictness.value()) { | ||
| AssignIpAddressSearch.and("forSystemVms", AssignIpAddressSearch.entity().isForSystemVms(), Op.EQ); | ||
| } | ||
| AssignIpAddressSearch.and("forSystemVms", AssignIpAddressSearch.entity().isForSystemVms(), Op.EQ); |
There was a problem hiding this comment.
so now, whether the setting is true or false, we allow testing for it in the query!
|
@weizhouapache does it make sense to merge this change with #7144 ? |
@DaanHoogland |
|
[SF] Trillian test result (tid-7551)
|
Description
If the original value is
false, and search build is configured without the condition.Now change the value to
true, it will not get effective due to missing condition.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?