Skip to content

Can't setup OpenSUSE KVM host with linux native bridge #6112

@mib1185

Description

@mib1185
ISSUE TYPE
  • Bug Report
COMPONENT NAME
agent
CLOUDSTACK VERSION
4.16.
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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions