Bug 1416884

Summary: [7.0.z] nova creates an invalid ethernet/bridge interface definition in virsh xml
Product: Red Hat OpenStack Reporter: Stephen Gordon <sgordon>
Component: openstack-novaAssignee: Artom Lifshitz <alifshit>
Status: CLOSED ERRATA QA Contact: Prasanth Anbalagan <panbalag>
Severity: high Docs Contact:
Priority: high    
Version: 7.0 (Kilo)CC: alifshit, berrange, dasmith, eglynn, kchamart, nyechiel, panbalag, rhos-integ, sbauza, sferdjao, sgordon, srevivo, vromanso
Target Milestone: asyncKeywords: Regression, Triaged, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-2015.1.4-30.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1408464 Environment:
Last Closed: 2017-02-15 23:00:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1408464, 1412834    
Bug Blocks:    

Comment 3 Prasanth Anbalagan 2017-02-08 19:49:22 UTC
Verified as follows - No validation error observed in instance XML

# yum list installed | grep openstack-nova
openstack-nova-api.noarch            2015.1.4-30.el7ost      @rhelosp-7.0-puddle
openstack-nova-cert.noarch           2015.1.4-30.el7ost      @rhelosp-7.0-puddle
openstack-nova-common.noarch         2015.1.4-30.el7ost      @rhelosp-7.0-puddle
openstack-nova-compute.noarch        2015.1.4-30.el7ost      @rhelosp-7.0-puddle
openstack-nova-conductor.noarch      2015.1.4-30.el7ost      @rhelosp-7.0-puddle
openstack-nova-console.noarch        2015.1.4-30.el7ost      @rhelosp-7.0-puddle
openstack-nova-novncproxy.noarch     2015.1.4-30.el7ost      @rhelosp-7.0-puddle
openstack-nova-scheduler.noarch      2015.1.4-30.el7ost      @rhelosp-7.0-puddle


# virsh dumpxml 2 |grep tap -A5 -B3
    <interface type='bridge'>
      <mac address='fa:16:3e:c6:3c:7b'/>
      <source bridge='qbrc276cc36-f4'/>
      <target dev='tapc276cc36-f4'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='file'>

# virsh dumpxml 2 > 2.xml
# virt-xml-validate 2.xml
2.xml validates

Comment 5 errata-xmlrpc 2017-02-15 23:00:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0282.html