apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
1.83k stars 1.07k forks source link

set isSystem for SVM IPs #9281

Closed DaanHoogland closed 1 week ago

DaanHoogland commented 1 week ago

Description

This PR

Fixes: #9275

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?

weizhouapache commented 1 week ago

thanks @DaanHoogland for your investigation it is great you found the root cause !

I did a quick search on the code, it looks like the issue is caused by

https://github.com/apache/cloudstack/blob/8806e44e4fb9cc41460ed5cf0ab319be2b018b54/server/src/main/java/com/cloud/network/guru/PublicNetworkGuru.java#L132

(the parameter false may should be forSystemVms)

DaanHoogland commented 1 week ago

forSystemVms

thanks @weizhouapache that does sound like a much better and more generic place to make sure the flag is set. I'll revert my changes here and apply your suggestion.

DaanHoogland commented 1 week ago

@blueorangutan package

blueorangutan commented 1 week ago

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

blueorangutan commented 1 week ago

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

weizhouapache commented 1 week ago

@blueorangutan package

blueorangutan commented 1 week ago

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

blueorangutan commented 1 week ago

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

DaanHoogland commented 1 week ago

@blueorangutan package

blueorangutan commented 1 week ago

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

blueorangutan commented 1 week ago

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

DaanHoogland commented 1 week ago

@blueorangutan test alma9 kvm-alma9

blueorangutan commented 1 week ago

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

blueorangutan commented 1 week ago

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

Test Result Time (s) Test File