You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/12/23 01:44:15 UTC

[GitHub] [cloudstack] rohityadavcloud opened a new pull request, #6844: packaging: support Rocky9 (EL9) as KVM and management server host

rohityadavcloud opened a new pull request, #6844:
URL: https://github.com/apache/cloudstack/pull/6844

   I was exploring to set up CloudStack env on a Rocky 9 or RHEL9 (no-cost subscription) and started this PR. (Also exploring setting up a new docker container image https://hub.docker.com/r/shapeblue/rocky9-cloudstack-builder and backend jenkins job "acs-el9-pkg-builder")
   Fixes: #6651 
   TODOs:
   - [x] Migrate git-pr to python3 on main branch (and fix the el9 jenkins job hack) https://github.com/apache/cloudstack/pull/6961
   - [x] EL9 packaging job
   - [x] EL9 mgmt server support with MySQL
   - [x] EL9 usage server support
   - [x] EL9 KVM support (works see notes below)
   ~~- [ ] Consolidate EL9 pkging with EL8 using boolean conditionals~~ (due to Python site-path change, it may not be possible to do it correctly?)
   - [ ] Add EL9/Rocky9 template support in Trilian/BO
   - [ ] Run a round of smoketests with EL9 as both kvm and mgmt server host (I expect/hope this to pass)
   
   For EL9 KVM to work with cloudstack-agent, I had to remove the systemd service dependency on libvirtd and follow the guide to switch to modular daemon (perhaps using the old/monolithic way could work, but it didn't in my case):
   https://libvirt.org/daemons.html#monolithic-vs-modular-daemons
   
   After switching completely to modular daemons, I had to ensure that virtqemud was running with --listen, symlink the /etc/libvirt/libvirtd.conf -> /etc/libvirt/virtqemud.conf and start this:
   ```
   systemctl start virtproxyd-tls.socket
   ```
   
   Note: there are no network-scripts now; so after fixing cloudbr0 etc we need to only restart NetworkManager. Rest all seems to work.
   
   Misc notes, perhaps this isn't necessary but I did that as I was in a double nested env already:
   
   ```
   [root@rocky9-kvm etc]# cat /etc/modules-load.d/br_netfilter.conf
   br_netfilter
   
   [root@rocky9-kvm etc]# cat /etc/modprobe.d/kvm.conf
   options kvm_intel nested=1
   
   [root@rocky9-kvm etc]# cat /etc/sysctl.conf
   net.ipv4.ip_forward=1
   net.bridge.bridge-nf-call-ip6tables = 0
   net.bridge.bridge-nf-call-iptables = 0
   net.bridge.bridge-nf-call-arptables = 0
   
   [root@rocky9-kvm etc]# sysctl -p
   net.ipv4.ip_forward = 1
   net.bridge.bridge-nf-call-ip6tables = 0
   net.bridge.bridge-nf-call-iptables = 0
   net.bridge.bridge-nf-call-arptables = 0
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363671876

   Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5066


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363777522

   Merging this based on manual testing; built both el8 and el9 pkgs and installed them manually on alma linux 8 and rhel 9 and rocky linux 9; tested zone deployment; mgmt server and usage server; kvm host add; vm, template and snapshot lifecycles. No issues seens.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1337132639

   @blueorangutan ui


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: add support for EL9

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1288107294

   Packaging result: :heavy_check_mark: el9. SL-JID 5


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363777896

   cc @shwstppr let's continue adding support to trillian/smoketests separately; merging this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363671874

   Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5063


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363118115

   @rohityadavcloud a Jenkins job has been kicked to build packages. It will be bundled with
   
    SystemVM template(s). I'll keep you posted as I make progress.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363748520

   
   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: add support for EL9

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1288126577

   KVM TODO https://libvirt.org/daemons.html#monolithic-vs-modular-daemons


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on a diff in pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on code in PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#discussion_r1048050096


##########
packaging/el9/cloud.spec:
##########
@@ -45,7 +45,6 @@ BuildRequires: jpackage-utils
 BuildRequires: gcc
 BuildRequires: glibc-devel
 BuildRequires: /usr/bin/mkisofs
-BuildRequires: maven => 3.0.0

Review Comment:
   Temp removed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: add support for EL9

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1288140176

   Packaging result: :heavy_check_mark: el9. SL-JID 6


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363103088

   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud closed pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host
URL: https://github.com/apache/cloudstack/pull/6844


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363738471

   Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 5071


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363527780

   @rohityadavcloud a Jenkins job has been kicked to build packages. It will be bundled with  SystemVM template(s). I'll keep you posted as I make progress.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: add support for EL9

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1288111190

   Built rpms for testing https://dl.yadav.cloud/el9/4.18/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] codecov[bot] commented on pull request #6844: packaging: add support for EL9

Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1288120135

   # [Codecov](https://codecov.io/gh/apache/cloudstack/pull/6844?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#6844](https://codecov.io/gh/apache/cloudstack/pull/6844?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (43242be) into [main](https://codecov.io/gh/apache/cloudstack/commit/c37709c44bc03301ff8cf069c1696d08bdaffc92?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (c37709c) will **decrease** coverage by `0.00%`.
   > The diff coverage is `n/a`.
   
   > :exclamation: Current head 43242be differs from pull request most recent head 035899e. Consider uploading reports for the commit 035899e to get more accurate results
   
   ```diff
   @@             Coverage Diff              @@
   ##               main    #6844      +/-   ##
   ============================================
   - Coverage     10.84%   10.84%   -0.01%     
   + Complexity     7097     7095       -2     
   ============================================
     Files          2485     2485              
     Lines        245371   245371              
     Branches      38319    38319              
   ============================================
   - Hits          26606    26602       -4     
   - Misses       215496   215501       +5     
   + Partials       3269     3268       -1     
   ```
   
   
   | [Impacted Files](https://codecov.io/gh/apache/cloudstack/pull/6844?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
   |---|---|---|
   | [...dstack/network/contrail/model/ModelObjectBase.java](https://codecov.io/gh/apache/cloudstack/pull/6844/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGx1Z2lucy9uZXR3b3JrLWVsZW1lbnRzL2p1bmlwZXItY29udHJhaWwvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2Nsb3Vkc3RhY2svbmV0d29yay9jb250cmFpbC9tb2RlbC9Nb2RlbE9iamVjdEJhc2UuamF2YQ==) | `21.15% <0.00%> (-7.70%)` | :arrow_down: |
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] codecov[bot] commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1350440818

   # [Codecov](https://codecov.io/gh/apache/cloudstack/pull/6844?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#6844](https://codecov.io/gh/apache/cloudstack/pull/6844?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (035899e) into [main](https://codecov.io/gh/apache/cloudstack/commit/c37709c44bc03301ff8cf069c1696d08bdaffc92?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (c37709c) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   > :exclamation: Current head 035899e differs from pull request most recent head c2485c5. Consider uploading reports for the commit c2485c5 to get more accurate results
   
   ```diff
   @@            Coverage Diff            @@
   ##               main    #6844   +/-   ##
   =========================================
     Coverage     10.84%   10.84%           
     Complexity     7097     7097           
   =========================================
     Files          2485     2485           
     Lines        245371   245371           
     Branches      38319    38319           
   =========================================
     Hits          26606    26606           
     Misses       215496   215496           
     Partials       3269     3269           
   ```
   
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1350476978

   Packaging result: :heavy_check_mark: el9. SL-JID 10


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363726059

   Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6844)
   
   [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=BUG)  
   [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=VULNERABILITY)  
   [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6844&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6844&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6844&resolved=false&types=SECURITY_HOTSPOT)  
   [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=CODE_SMELL)
   
   [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6844&metric=coverage&view=list) No Coverage information  
   [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6844&metric=duplicated_lines_density&view=list) No Duplication information
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud merged pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud merged PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1337140490

   UI build: :heavy_check_mark:
   Live QA URL: https://qa.cloudstack.cloud/simulator/pr/6844 (QA-JID-8)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363117319

   
   @blueorangutan package
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363104245

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363700856

   @blueorangutan package


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1346219487

   looks good @rohityadavcloud , I'll look at testing the git-pr changes this week.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1337133519

   @rohityadavcloud a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: [WIP] packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363021248

   Verified the following cc @shwstppr 
   - install epel-release and bridge-utils, net-tools
   - fix selinux issue (setenforce 0)
   - use nmcli or something else to configure cloudbr0 (network service is not longer available)
   - Check/put: in/etc/libvirt/qemu.conf `vnc_listen=0.0.0.0`
   - Create file  /etc/sysconfig/libvirtd with content: `LIBVIRTD_ARGS="--listen"`
   - Put in /etc/libvirt/libvirtd.conf:
   ```
   listen_tls = 0
   listen_tcp = 1
   tcp_port = "16509"
   auth_tcp = "none"
   mdns_adv = 0
   ```
   - Mark the libvirtd sockets:
   ```
   systemctl mask libvirtd.socket libvirtd-ro.socket libvirtd-admin.socket libvirtd-tls.socket libvirtd-tcp.socket
   systemctl restart libvirtd
   ```
   
   That's enough to then run libvirtd and add KVM host.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363701049

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363748993

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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud closed pull request #6844: packaging: add support for EL9

Posted by GitBox <gi...@apache.org>.
rohityadavcloud closed pull request #6844: packaging: add support for EL9
URL: https://github.com/apache/cloudstack/pull/6844


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] codecov[bot] commented on pull request #6844: packaging: add support for EL9

Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1288150184

   # [Codecov](https://codecov.io/gh/apache/cloudstack/pull/6844?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#6844](https://codecov.io/gh/apache/cloudstack/pull/6844?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (035899e) into [main](https://codecov.io/gh/apache/cloudstack/commit/c37709c44bc03301ff8cf069c1696d08bdaffc92?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (c37709c) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   ```diff
   @@            Coverage Diff            @@
   ##               main    #6844   +/-   ##
   =========================================
     Coverage     10.84%   10.84%           
     Complexity     7097     7097           
   =========================================
     Files          2485     2485           
     Lines        245371   245371           
     Branches      38319    38319           
   =========================================
     Hits          26606    26606           
     Misses       215496   215496           
     Partials       3269     3269           
   ```
   
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] codecov[bot] commented on pull request #6844: packaging: add support for EL9

Posted by GitBox <gi...@apache.org>.
codecov[bot] commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1288149601

   # [Codecov](https://codecov.io/gh/apache/cloudstack/pull/6844?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
   > Merging [#6844](https://codecov.io/gh/apache/cloudstack/pull/6844?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (035899e) into [main](https://codecov.io/gh/apache/cloudstack/commit/c37709c44bc03301ff8cf069c1696d08bdaffc92?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (c37709c) will **not change** coverage.
   > The diff coverage is `n/a`.
   
   ```diff
   @@            Coverage Diff            @@
   ##               main    #6844   +/-   ##
   =========================================
     Coverage     10.84%   10.84%           
     Complexity     7097     7097           
   =========================================
     Files          2485     2485           
     Lines        245371   245371           
     Branches      38319    38319           
   =========================================
     Hits          26606    26606           
     Misses       215496   215496           
     Partials       3269     3269           
   ```
   
   
   
   :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363526747

   @blueorangutan package 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] sonarcloud[bot] commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
sonarcloud[bot] commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363567836

   Kudos, SonarCloud Quality Gate passed!&nbsp; &nbsp; [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=apache_cloudstack&pullRequest=6844)
   
   [![Bug](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/bug-16px.png 'Bug')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=BUG) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=BUG) [0 Bugs](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=BUG)  
   [![Vulnerability](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/vulnerability-16px.png 'Vulnerability')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=VULNERABILITY) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=VULNERABILITY) [0 Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=VULNERABILITY)  
   [![Security Hotspot](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/security_hotspot-16px.png 'Security Hotspot')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6844&resolved=false&types=SECURITY_HOTSPOT) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6844&resolved=false&types=SECURITY_HOTSPOT) [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_cloudstack&pullRequest=6844&resolved=false&types=SECURITY_HOTSPOT)  
   [![Code Smell](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/code_smell-16px.png 'Code Smell')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=CODE_SMELL) [![A](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/RatingBadge/A-16px.png 'A')](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=CODE_SMELL) [0 Code Smells](https://sonarcloud.io/project/issues?id=apache_cloudstack&pullRequest=6844&resolved=false&types=CODE_SMELL)
   
   [![No Coverage information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/CoverageChart/NoCoverageInfo-16px.png 'No Coverage information')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6844&metric=coverage&view=list) No Coverage information  
   [![No Duplication information](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/Duplications/NoDuplicationInfo-16px.png 'No Duplication information')](https://sonarcloud.io/component_measures?id=apache_cloudstack&pullRequest=6844&metric=duplicated_lines_density&view=list) No Duplication information
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363671871

   Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 5062


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] rohityadavcloud commented on a diff in pull request #6844: [WIP] packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
rohityadavcloud commented on code in PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#discussion_r1055227764


##########
packaging/el9/replace.properties:
##########
@@ -0,0 +1,59 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+# 
+#   http://www.apache.org/licenses/LICENSE-2.0
+# 
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+DBUSER=cloud
+DBPW=cloud
+DBROOTPW=
+MSLOG=vmops.log
+APISERVERLOG=api.log
+DBHOST=localhost
+DBDRIVER=jdbc:mysql
+COMPONENTS-SPEC=components-premium.xml
+REMOTEHOST=localhost
+AGENTCLASSPATH=
+AGENTLOG=/var/log/cloudstack/agent/agent.log
+AGENTLOGDIR=/var/log/cloudstack/agent/
+AGENTSYSCONFDIR=/etc/cloudstack/agent
+APISERVERLOG=/var/log/cloudstack/management/apilog.log
+BINDIR=/usr/bin
+COMMONLIBDIR=/usr/share/cloudstack-common
+CONFIGUREVARS=
+DEPSCLASSPATH=
+DOCDIR=
+IPALOCATORLOG=/var/log/cloudstack/management/ipallocator.log
+JAVADIR=/usr/share/java
+LIBEXECDIR=/usr/libexec
+LOCKDIR=/var/lock
+MSCLASSPATH=
+MSCONF=/etc/cloudstack/management
+MSENVIRON=/usr/share/cloudstack-management
+MSLOG=/var/log/cloudstack/management/management-server.log
+MSLOGDIR=/var/log/cloudstack/management/
+MSMNTDIR=/var/cloudstack/mnt
+MSUSER=cloud
+PIDDIR=/var/run
+PLUGINJAVADIR=/usr/share/cloudstack-management/plugin
+PREMIUMJAVADIR=/usr/share/cloudstack-management/premium
+PYTHONDIR=/usr/lib/python3.9/site-packages/

Review Comment:
   @shwstppr this is different in both EL8 and EL9, further where we install python_sitearch is differnet on both EL8 and EL9. This could be solved if we no longer use the python_sitearch to install the Python libraries, but this would add issues in testing all Py scripts used by mgmt server and kvm agent.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] blueorangutan commented on pull request #6844: packaging: support Rocky9 (EL9) as KVM and management server host

Posted by GitBox <gi...@apache.org>.
blueorangutan commented on PR #6844:
URL: https://github.com/apache/cloudstack/pull/6844#issuecomment-1363786232

   Packaging result: :heavy_multiplication_x: el7 :heavy_multiplication_x: el8 :heavy_multiplication_x: debian :heavy_multiplication_x: suse15. SL-JID 5073


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org