ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
OpenSUSE 15.2
SUMMARY
It is not possible to setup an OpenSUSE KVM host, when linux native bridge is used. The issue is caused here
|
if self.syscfg.env.bridgeType == "openvswitch": |
|
if cfo.getEntry("IPADDR"): |
|
cfo.rmEntry("IPADDR", cfo.getEntry("IPADDR")) |
|
else: |
|
raise CloudInternalException("Unknown network.bridge.type %s" % self.syscfg.env.bridgeType) |
it seems that something like
elif self.syscfg.env.bridgeType == "native" is missing here?
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
cloudstack-setup-agent -m 10.x.y.z -z 2 -p 2 -c 3 -g 3550822c-f038-3a61-b7f8-9a2f5e5f4858 -a -s --pubNic=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0 --hypervisor=kvm
SSH command output:Starting to configure your system:
Configure Host ... [OK]
Configure SElinux ... [OK]
Configure Network ... [Failed]
Unknown network.bridge.type native
Try to restore your system:
Restore Host ... [OK]
Restore SElinux ... [OK]
Restore Network ... [OK]
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
OS / ENVIRONMENT
OpenSUSE 15.2
SUMMARY
It is not possible to setup an OpenSUSE KVM host, when linux native bridge is used. The issue is caused here
cloudstack/python/lib/cloudutils/serviceConfig.py
Lines 374 to 378 in 44c08b5
it seems that something like
elif self.syscfg.env.bridgeType == "native"is missing here?STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS