-
Notifications
You must be signed in to change notification settings - Fork 1.2k
engine/schema: create default network offering for vpc tier with conserve_mode=1 for fresh installation #10744
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
Conversation
…erve_mode=1 for fresh installation
702472b
to
53a1c88
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #10744 +/- ##
============================================
- Coverage 16.02% 16.01% -0.01%
+ Complexity 13124 13120 -4
============================================
Files 5652 5652
Lines 495921 495921
Branches 60053 60053
============================================
- Hits 79463 79445 -18
- Misses 407593 407612 +19
+ Partials 8865 8864 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
@blueorangutan package |
@weizhouapache 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. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13095 |
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian Build Failed (tid-13043) |
[SF] Trillian test result (tid-13051)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
[SF] Trillian Build Failed (tid-13105) |
Is this good to merge @weizhouapache @Pearl1594 @DaanHoogland ? |
@Pearl1594 , do you want more testing on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code LGTM. But I wonder if this should go into 4.19
@Pearl1594 (for DB issue fixed in both 4.19.3 and 4.20.1, we need to create two separated PRs) |
I think it would be good to have in 4.19 as well .. but this is good to merge |
@@ -595,7 +595,7 @@ public void doInTransactionWithoutResult(final TransactionStatus status) { | |||
if (_networkOfferingDao.findByUniqueName(NetworkOffering.DefaultIsolatedNetworkOfferingForVpcNetworks) == null) { | |||
offering = _configMgr.createNetworkOffering(NetworkOffering.DefaultIsolatedNetworkOfferingForVpcNetworks, | |||
"Offering for Isolated VPC networks with Source Nat service enabled", TrafficType.Guest, null, false, Availability.Optional, null, | |||
defaultVPCOffProviders, true, Network.GuestType.Isolated, false, null, false, null, false, false, null, false, null, true, true, false, false, null, null, null,true, null, null, false); | |||
defaultVPCOffProviders, true, Network.GuestType.Isolated, false, null, true, null, false, false, null, false, null, true, true, false, false, null, null, null,true, null, null, false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so only this needs backporting to 4.19?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this part, and also the SQL to 4.19.2->4.19.3 upgrade schema
Description
with #8309, he default vpc offering of upgraded environments have been updated to conserve_mode=1.
but for fresh installation, the default vpc offering still has conserve_mode=0.
This PR fixes it.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?