Giter VIP home page Giter VIP logo

Comments (1)

jijisa avatar jijisa commented on July 28, 2024

The problem was nova delegates creating port to os-vif and it creates VIFGeneric interface which is ethernet interface type instead of bridge interface type in libvirt xml.

# virsh dumpxml 1 |grep -A5 '<interface '
    <interface type='ethernet'>
      <mac address='fa:16:3e:e3:35:c0'/>
      <target dev='tap94a85fd4-e1'/>
      <model type='virtio'/>
      <mtu size='1450'/>
      <alias name='net0'/>

For temporary fix, I modified nova/virt/libvirt/vif.py to use bridge interface type and rebuild the image - docker.io/jijisa/nova:skb-yoga-ovspatch-ubuntu_jammy

Change nova-compute image to this image and stop/start VM. Then, a bridge interface type will be set in libvirt xml like this.

   # virsh dumpxml 2 |grep -A11 '<interface '
       <interface type='bridge'>
         <mac address='fa:16:3e:e3:35:c0'/>
         <source bridge='br-int'/>
         <virtualport type='openvswitch'>
           <parameters interfaceid='94a85fd4-e142-4354-b49e-9f556fcbc9e5'/>
         </virtualport>
         <target dev='tap94a85fd4-e1'/>
         <model type='virtio'/>
         <mtu size='1450'/>
         <alias name='net0'/>
         <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
       </interface>

Now when VM is stopped, the tap interface port in br-int ovs bridge is removed so neutron ovs agent readiness probe work.

This fix will be included in 1.0.0-alpha.4 release.

from burrito.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.