GitHub user rongage1 closed a discussion: Cloudstack 4.20, kvm install problem.

I am trying to freshly install 4.20 host agent for KVM on an Oracle Linux host 
running R9U5.  It is not going well, specifically the networking setup is 
failing.  

The juxt of the problem is that the setup is trying to restart the network 
stack and using the entirely wrong command.  On Oracle, the proper way to 
restart the network stack is with "nmcli networking off && nmcli networking 
on".  There is no "network.service" unit defined on Oracle Linux (or on Centos 
Stream 9).  

With the setup failing at this step (restarting the network stack), the 
remainder of the host setup of course fails.

The data in /var/log/cloudstack/agent/setup.log:
DEBUG:root:execute:hostname -f
DEBUG:root:execute:awk '/MemTotal/ { printf "%.3f \n", $2/1024 }' /proc/meminfo
DEBUG:root:execute:ip a | grep "^\w" | grep -iv "^lo" | wc -l
DEBUG:root:execute:selinuxenabled
DEBUG:root:Failed to execute:
DEBUG:root:Management is not a network device, is it down?
DEBUG:root:execute:route -n|awk '/^0.0.0.0/ {print $2,$8}'
DEBUG:root:execute:ifconfig cloudbr0
DEBUG:root:Found default network device:cloudbr0
DEBUG:root:execute:ifconfig enp0s31f6
DEBUG:root:execute:setenforce 1
DEBUG:root:Failed to execute:setenforce: SELinux is disabled
DEBUG:root:execute:service network restart
DEBUG:root:Failed to execute:Redirecting to /bin/systemctl restart 
network.service
Failed to restart network.service: Unit network.service not found.

I welcome any suggestions to get past this hurdle.

Thanks!

Ron Gage
Westland, Michigan



GitHub link: https://github.com/apache/cloudstack/discussions/10090

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to