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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to