On Thu, 10 May 2018 19:15:07 +0200 Sverker Abrahamsson <[email protected]> wrote:
> Hi > I have a problem with running hosted engine with openvswitch. I have Which version of oVirt? How do you configured hosted engine to use openvswitch? Did you follow the steps in https://lists.ovirt.org/pipermail/users/2017-March/080748.html ? > one cluster where the ovirt engine runs on the host, there it works What is the switch type of this cluster? > and when starting a vm the interface definition looks like this: > > <interface type="bridge"> > <address bus="0x00" domain="0x0000" function="0x0" > slot="0x03" type="pci" /> > <mac address="00:1a:4a:16:01:51" /> > <model type="virtio" /> > <source bridge="vdsmbr_2XMhqdgD" /> > <virtualport type="openvswitch" /> > <filterref filter="vdsm-no-mac-spoofing" /> > </interface> > Where do you pick up this xml? > The xml for that vm as fetched from vdsm does not contain virtualport Where do you pick up this xml, maybe from a logfile or virsh? > tag nor does it use the correct bridge, it looks like this: > > <interface type="bridge"> > <model type="virtio"/> > <link state="up"/> > <source bridge="ovirtmgmt"/> > <address bus="0x00" domain="0x0000" function="0x0" slot="0x03" > type="pci"/> > <mac address="00:1a:4a:16:01:51"/> > <filterref filter="vdsm-no-mac-spoofing"/> > <bandwidth/> > </interface> > > I.e. somewhere the definition is modified to contain the correct data > to work with openvswitch > > On the other cluster where I try to run hosted engine I don't get the What is the switch type of this cluster? > above behaviour. When the engine vm starts the interface settings are > not modified to use the bridge in openvswitch, with the result that > the vm fails to start: > Can you share the error message from engine.log and vdsm.log, and maybe supervdsm.log? > <interface type="bridge"> > <model type="virtio"/> > <link state="up"/> > <source bridge="ovirtmgmt"/> > <alias name="ua-430d692e-6ef0-4529-8af0-b37a53a11564"/> > <address bus="0x00" domain="0x0000" function="0x0" > slot="0x03" type="pci"/> > <mac address="00:16:3e:0e:39:42"/> > <filterref filter="vdsm-no-mac-spoofing"/> > <bandwidth/> > </interface> > > Last login: Thu May 10 16:23:48 2018 from 172.27.1.32 > [root@h2 ~]# ovs-vsctl show > dfcf7463-ce51-4115-9a3a-ecab9efa8146 > Bridge "vdsmbr_H91hH5sG" > Port "vdsmbr_H91hH5sG" > Interface "vdsmbr_H91hH5sG" > type: internal > Port ovirtmgmt > Interface ovirtmgmt > type: internal > Port "dummy0" > Interface "dummy0" > ovs_version: "2.9.0" > > I assumed first there is a hook that make the needed change, but the > only hooks I can find that mentions openvswitch are > ovirt_provider_ovn_hook and 50_openstacknet but both those would set > the source bridge to br-int and not look up the dynamic name of the > bridge as created by vdsm. > > One special thing about the host where I try to run hosted engine is > that the there is a dummy port since otherwise I couldn't get vdsm to > create the bridge, but that shouldn't affect changing the interface > definition for the vm. > > Where should I look next? > _______________________________________________ > Users mailing list -- [email protected] > To unsubscribe send an email to [email protected] _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected]

