-
Notifications
You must be signed in to change notification settings - Fork 1.3k
utils: build both SHADED and original jars #7912
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
|
@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 6891 |
|
Kudos, SonarCloud Quality Gate passed!
|
|
@blueorangutan test matrix |
|
@weizhouapache a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
@blueorangutan test ubuntu22 kvm-ubuntu22 |
|
@weizhouapache a [SF] Trillian-Jenkins test job (ubuntu22 mgmt + kvm-ubuntu22) has been kicked to run smoke tests |
|
Hi @weizhouapache thanks for the PR - can you explain, the advantage of this, for systemvms aren't we copying all dependency jars? |
|
can you explain why @weizhouapache ? It seems the jars are the same and only one needs to be built. |
|
@rohityadavcloud @DaanHoogland
During build, it creates Lines 267 to 273 in 3b05797
The jar will be installed as This jar file will be copied to system vms (as /usr/local/cloud/systemvm/cloud-utils-4.19.0.0-SNAPSHOT.jar). There are two issues
During build, there are two jars |
|
ok so this depends on #7131 to make any sense, but it removes the need of a new command line for the encryption tools 👍 |
yes, |
@rohityadavcloud |
|
[SF] Trillian test result (tid-7555)
|
|
[SF] Trillian test result (tid-7557)
|
|
[SF] Trillian test result (tid-7556)
|
|
[SF] Trillian test result (tid-7559)
|
|
@blueorangutan test matrix |
|
@weizhouapache a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7575)
|
|
Packaging result [LL]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6170 |
|
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 6934 |
|
@blueorangutan LLtest matrix |
|
@weizhouapache a [LL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
[LL]Trillian test result (tid-6727)
|
|
[LL]Trillian test result (tid-6729)
|
|
[LL]Trillian test result (tid-6728)
|
|
@blueorangutan test matrix |
|
@weizhouapache a [SF] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-7607)
|
|
[SF] Trillian test result (tid-7605)
|
|
@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 6945 |
|
[SF] Trillian test result (tid-7606)
|
|
@blueorangutan LLtest matrix |
|
@weizhouapache a [LL] Trillian-Jenkins matrix job (centos7 mgmt + xenserver71, rocky8 mgmt + vmware67u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests |
|
@weizhouapache @JoaoJandre should this be merged with the log4j2 PR? it seems to only be relevant in that context, is it? |
@DaanHoogland |
yes, and it is only needed if the log4j PR is merged, right? |
it can reduce the package size of cloudstack packages (~4M for cloudstack-agent/common/usage/management) again, this PR is separated. it does not matter if the log4j PR is merged or not. |
|
[LL]Trillian test result (tid-6731)
|
|
[LL]Trillian test result (tid-6733)
|
|
@rohityadavcloud |
|
[LL]Trillian test result (tid-6732)
|
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.
@weizhouapache I did some basic tests and it LGTM.
I also tested this with #7131 and it does solve the issue. I added the log4j2 dependencies to the shaded jar and the system VM logs did not break.
good, thanks for testing @JoaoJandre |











Description
This PR builds two jars for utils project
cloud-utils-4.19.0.0-SNAPSHOT.jar: will be built intocloudstack-4.19.0.0-SNAPSHOT.jar(installed on management server) andsystemvm/target/agent.zip(copied into system vms).cloud-utils-4.19.0.0-SNAPSHOT-SHADED.jar, will be installed as/usr/share/cloudstack-common/lib/cloudstack-utils.jarTypes of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?