rongage opened a new issue, #8160:
URL: https://github.com/apache/cloudstack/issues/8160
<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete
the comments.
-->
##### ISSUE TYPE
* Bug Report
##### COMPONENT NAME
Categorize the issue, Adding Host
~~~
~~~
##### CLOUDSTACK VERSION
4.18.1.0
~~~
~~~
##### CONFIGURATION
Following quick install document,
##### OS / ENVIRONMENT
Centos Stream 9
##### SUMMARY
Adding a CentOS Stream 9 host fails due to no ifcfg based networking
available. NetworkManager based networking (nmcli, nmtui, etc) is the only
available option.
##### STEPS TO REPRODUCE
Install CentOS Stream 9 - any recent revision should do
Follow QuickInstall guide to install CS
At the add-host step, the process fails because there is no
"network.service" available. Searching both the filesystem and the regular
CentOS Yum Repos yields no package that provides this file. There is a text
file in /etc/sysconfig/network-scripts that states that the
old ifcfg based networking configuration has been deprecated.
##### EXPECTED RESULTS
Host system is added into CS without error
~~~
~~~
##### ACTUAL RESULTS
Error display: "Something went wrong: please correct the following:
Unable to add the host: Cannot find the server resource at {URL}.
From /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:cloudbr0 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 nm-bridge
DEBUG:root:Found default network device:nm-bridge
DEBUG:root:execute:ifconfig enp0s20f0u4c2
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.
~~~
~~~
--
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]