-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add support for network data in Config Drive #9329
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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9329 +/- ##
============================================
+ Coverage 15.53% 15.71% +0.17%
- Complexity 11988 12269 +281
============================================
Files 5496 5502 +6
Lines 481450 490878 +9428
Branches 60738 64541 +3803
============================================
+ Hits 74809 77156 +2347
- Misses 398364 405194 +6830
- Partials 8277 8528 +251
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
227be3d
to
9d59c87
Compare
@blueorangutan package |
@vishesh92 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✖️ debian ✔️ suse15. SL-JID 10238 |
[SF] Trillian Build Failed (tid-10722) |
[SF] Trillian test result (tid-10723)
|
@blueorangutan package |
@vishesh92 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]: ✖️ el7 ✖️ el8 ✖️ el9 ✖️ debian ✖️ suse15. SL-JID 10255 |
8ffa213
to
6439aa7
Compare
@blueorangutan package |
b1f0fda
to
b8a1a90
Compare
@vishesh92 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]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10261 |
73d2970
to
e438a3f
Compare
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.
few comments from my side @vishesh92 can you please address them
...hestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java
Outdated
Show resolved
Hide resolved
.../configdrive/src/main/java/org/apache/cloudstack/storage/configdrive/ConfigDriveBuilder.java
Show resolved
Hide resolved
.../configdrive/src/main/java/org/apache/cloudstack/storage/configdrive/ConfigDriveBuilder.java
Show resolved
Hide resolved
.../configdrive/src/main/java/org/apache/cloudstack/storage/configdrive/ConfigDriveBuilder.java
Outdated
Show resolved
Hide resolved
server/src/main/java/com/cloud/network/element/ConfigDriveNetworkElement.java
Outdated
Show resolved
Hide resolved
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.
Another question, how this needs to be configured in the network offering ? like we choose the config drive as the provider for userdata while creating the network offering
.../configdrive/src/main/java/org/apache/cloudstack/storage/configdrive/ConfigDriveBuilder.java
Outdated
Show resolved
Hide resolved
Yes. You just need to select confidDrive for Dhcp & DNS while creating the network offering. |
ccf3568
to
ee9507e
Compare
@blueorangutan package |
@vishesh92 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 10681 |
[SF] Trillian test result (tid-11091)
|
[SF] Trillian Build Failed (tid-11103) |
[SF] Trillian test result (tid-11106)
|
665cdff
to
425af71
Compare
@blueorangutan package |
@vishesh92 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 10722 |
[SF] Trillian test result (tid-11124)
|
425af71
to
6c26bc4
Compare
@blueorangutan package |
@vishesh92 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 10753 |
@vishesh92 does this need more testing? |
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-11145)
|
[SF] Trillian test result (tid-11152)
|
@vishesh92 , this had quite some changes since functional tests, does it need a re-visit, or can we merge now? |
We can merge now |
@vishesh92 worth checking , maybe related to the template ? |
@weizhouapache Let me check and create a fix pr for that. |
Description
This PR fixes #2872
PR adds support for Dhcp & Dns capabilities for ConfigDrive network element.
Docs PR: apache/cloudstack-documentation#412
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Note
While attaching secondary nics, interface is assigned an IP on boot only if the instance was started for the first time.
Updating of IPs & NICs after first boot doesn't reflect on the instance even after reboot.
How did you try to break this feature and the system with this change?