Skip to content

Conversation

@rohityadavcloud
Copy link
Member

@rohityadavcloud rohityadavcloud commented Dec 7, 2024

This makes rpms arch-independent. CloudStack rpms are largely arch independent. While deb pkgs are usable across archs now, rpms aren’t.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • build/CI
  • test (unit or integration test code)

This makes rpms arch-independent

Signed-off-by: Rohit Yadav <[email protected]>
@rohityadavcloud rohityadavcloud added this to the 4.20.1 milestone Dec 7, 2024
@rohityadavcloud
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

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

@codecov
Copy link

codecov bot commented Dec 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.98%. Comparing base (5167c3b) to head (5a57a1c).
Report is 1 commits behind head on 4.20.

Additional details and impacted files
@@             Coverage Diff              @@
##               4.20   #10057      +/-   ##
============================================
+ Coverage     16.13%   16.98%   +0.84%     
- Complexity    12971    12972       +1     
============================================
  Files          5639     5245     -394     
  Lines        494297   461951   -32346     
  Branches      59908    54194    -5714     
============================================
- Hits          79774    78474    -1300     
+ Misses       405698   374800   -30898     
+ Partials       8825     8677     -148     
Flag Coverage Δ
uitests ?
unittests 16.98% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@blueorangutan
Copy link

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

@rohityadavcloud
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

@rohityadavcloud 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
Copy link

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

@NuxRo
Copy link
Contributor

NuxRo commented Dec 7, 2024

@rohityadavcloud When I tried to install the RPMs in Fedora (ARM64) it really wanted libc.so.6(GLIBC_2.3) which was the version on the build system, but not on the Fedora system.
We might have to add "AutoReqProv: no" to the spec to leave the automatic deps behind.
"%global _filter_GLIBC_PRIVATE 1" might be a smaller hammer, but needs testing, not 100% sure it'll work, never used it.

@rohityadavcloud
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

@rohityadavcloud 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
Copy link

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

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@weizhouapache
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

@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
Copy link

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

@weizhouapache
Copy link
Member

@blueorangutan test

@blueorangutan
Copy link

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

@rohityadavcloud
Copy link
Member Author

cc @NuxRo still doesn't work:

root@devcloud:~# dnf install cloudstack-common-4.20.1.0-1.noarch.rpm
Updating and loading repositories:
 Fedora 41 - aarch64 - Updates                                                                                                                   100% |  14.8 KiB/s |   6.7 KiB |  00m00s
 Fedora 41 - aarch64 - Updates                                                                                                                   100% |  71.9 KiB/s | 292.5 KiB |  00m04s
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides libc.so.6 needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.0) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.1) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.2) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.2.3) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.3) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
You can try to add to command line:
  --skip-broken to skip uninstallable packages

But the workaround was to rpm -ivh cloudstack-common-4.20.1.0-1.noarch.rpm --nodeps.

@blueorangutan
Copy link

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

Test Result Time (s) Test File

@NuxRo
Copy link
Contributor

NuxRo commented Dec 9, 2024

cc @NuxRo still doesn't work:

root@devcloud:~# dnf install cloudstack-common-4.20.1.0-1.noarch.rpm
Updating and loading repositories:
 Fedora 41 - aarch64 - Updates                                                                                                                   100% |  14.8 KiB/s |   6.7 KiB |  00m00s
 Fedora 41 - aarch64 - Updates                                                                                                                   100% |  71.9 KiB/s | 292.5 KiB |  00m04s
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides libc.so.6 needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.0) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.1) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.2) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.2.3) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.3) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
You can try to add to command line:
  --skip-broken to skip uninstallable packages

But the workaround was to rpm -ivh cloudstack-common-4.20.1.0-1.noarch.rpm --nodeps.

I'll try to find some time and test for a solution.
In theory if we specify all our deps correctly in the spec file then we can use "AutoReqProv: no" which should sort this problem out.

@rohityadavcloud
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

@rohityadavcloud 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
Copy link

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

@rohityadavcloud
Copy link
Member Author

@blueorangutan package

@blueorangutan
Copy link

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

@github-actions
Copy link

github-actions bot commented Jan 7, 2025

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

Copy link
Contributor

@NuxRo NuxRo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@rohityadavcloud
Copy link
Member Author

Thanks @NuxRo for testing this

@blueorangutan package

@blueorangutan
Copy link

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

@rohityadavcloud
Copy link
Member Author

Pkgs built locally in my env here - https://build.yadav.cloud/cloudstack/pr/10057/el8/4.20/

Copy link
Contributor

@nvazquez nvazquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@blueorangutan
Copy link

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

@DaanHoogland
Copy link
Contributor

no real smoke tests needed, but install on various platforms so running a matrix anyway #whatawaste ;)

@DaanHoogland
Copy link
Contributor

@blueorangutan test matrix

@blueorangutan
Copy link

@DaanHoogland a [SL] Trillian-Jenkins matrix job (EL8 mgmt + EL8 KVM, Ubuntu22 mgmt + Ubuntu22 KVM, EL8 mgmt + VMware 7.0u3, EL9 mgmt + XCP-ng 8.2 ) has been kicked to run smoke tests

@DaanHoogland
Copy link
Contributor

all smoke tests envs have started successfully. stopping thos to save lab space , but merging this

@DaanHoogland DaanHoogland merged commit 96b757c into apache:4.20 Jan 21, 2025
26 checks passed
@DaanHoogland DaanHoogland deleted the 420-rpm-buildnoarch branch January 21, 2025 15:48
@weizhouapache
Copy link
Member

cc @NuxRo still doesn't work:

root@devcloud:~# dnf install cloudstack-common-4.20.1.0-1.noarch.rpm
Updating and loading repositories:
 Fedora 41 - aarch64 - Updates                                                                                                                   100% |  14.8 KiB/s |   6.7 KiB |  00m00s
 Fedora 41 - aarch64 - Updates                                                                                                                   100% |  71.9 KiB/s | 292.5 KiB |  00m04s
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - nothing provides libc.so.6 needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.0) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.1) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.2) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.2.3) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
  - nothing provides libc.so.6(GLIBC_2.3) needed by cloudstack-common-4.20.1.0-1.noarch from @commandline
You can try to add to command line:
  --skip-broken to skip uninstallable packages

But the workaround was to rpm -ivh cloudstack-common-4.20.1.0-1.noarch.rpm --nodeps.

just curious, has this issue been fixed ? is the workaround still needed ?
cc @rohityadavcloud @NuxRo

@Pearl1594 Pearl1594 moved this to Done in ACS 4.20.1 Mar 17, 2025
dhslove pushed a commit to ablecloud-team/ablestack-cloud that referenced this pull request Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants