Bug 958536 - Gateway is not defined after bonding the RHEVM interface.
Summary: Gateway is not defined after bonding the RHEVM interface.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.1.3
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: ---
: 3.1.5
Assignee: Alona Kaplan
QA Contact: Martin Pavlik
URL:
Whiteboard: network
Depends On: 923443
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-01 19:07 UTC by Idith Tal-Kohen
Modified: 2019-04-28 10:47 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, configuring a vlan-tagged rhevm network interface for a bond would not carry across the gateway, which would be defined as 0.0.0.0 and would bring the hypervisor off the network. Now, the gateway is carried over correctly and the bond is created as expected.
Clone Of: 923443
Environment:
Last Closed: 2013-06-18 09:35:09 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0950 0 normal SHIPPED_LIVE rhevm 3.1.5 bug fix update 2013-06-18 13:34:15 UTC
oVirt gerrit 13790 0 None None None Never

Comment 3 Martin Pavlik 2013-06-05 10:19:04 UTC
in which version should this be fixed?

Comment 5 Alona Kaplan 2013-06-06 09:03:13 UTC
I merged it to rhev-3.1. It should be part of 3.1.5 if it will be released.

Comment 6 Martin Pavlik 2013-06-06 12:20:11 UTC
VERIFIED on si29


2013-06-06 12:17:00,481 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] (ajp-/127.0.0.1:8702-5) [14d4e34d] START, SetupNetworksVDSCommand(HostName = dell-07, HostId = 15855db6-ce8f-11e2-9107-001a4a013f0e, force=false, checkConnectivity=true, conectivityTimeout=120,
        networks=[rhevm {id=067bad7d-9a6b-4baa-a7e5-bda028be622e, description=Management Network, subnet=null, gateway=null, type=null, vlan_id=172, stp=false, storage_pool_id=30f867c4-ba2f-454d-a595-e7def966282f, mtu=0, vmNetwork=true, cluster=network_cluster {id={clusterId=null, networkId=null}, status=Operational, is_display=false, required=true}}],
        bonds=[],
        interfaces=[p1p1 {id=547c20cc-797e-4eb8-8690-f8b79deb9d25, vdsId=15855db6-ce8f-11e2-9107-001a4a013f0e, name=p1p1, macAddress=90:E2:BA:04:29:88, networkName=null, bondName=bond2, bootProtocol=None, address=, subnet=, gateway=null, mtu=1500, bridged=false, speed=1000, type=0, networkImplementationDetails=null},
                bond2 {id=7a3fc8b1-c053-425f-a0e5-747014dda398, vdsId=15855db6-ce8f-11e2-9107-001a4a013f0e, name=bond2, macAddress=90:e2:ba:04:29:88, networkName=null, bondOptions=mode=2, bootProtocol=None, address=, subnet=, gateway=null, mtu=1500, bridged=false, type=2, networkImplementationDetails=null},
                bond2.172 {id=c59a8188-28c8-4778-b4e6-1932478493a9, vdsId=15855db6-ce8f-11e2-9107-001a4a013f0e, name=bond2.172, networkName=rhevm, vlanId=172, bootProtocol=StaticIp, address=10.34.67.68, subnet=255.255.255.224, gateway=10.34.67.94, mtu=1500, bridged=true, type=2, networkImplementationDetails={inSync=true, managed=true}},
                em2 {id=945f12ea-b1f5-463c-96f4-b8cdaec7b3a6, vdsId=15855db6-ce8f-11e2-9107-001a4a013f0e, name=em2, macAddress=d0:67:e5:f0:82:45, networkName=null, bondName=null, bootProtocol=Dhcp, address=, subnet=, gateway=null, mtu=1500, bridged=false, speed=0, type=0, networkImplementationDetails=null},
                em1 {id=30dab016-10dd-4eb5-b58a-b799f36f62f4, vdsId=15855db6-ce8f-11e2-9107-001a4a013f0e, name=em1, macAddress=d0:67:e5:f0:82:44, networkName=null, bondName=null, bootProtocol=Dhcp, address=, subnet=, gateway=null, mtu=1500, bridged=false, speed=0, type=0, networkImplementationDetails=null},
                p1p2 {id=c8086dae-35a6-430f-ada8-decd00836e92, vdsId=15855db6-ce8f-11e2-9107-001a4a013f0e, name=p1p2, macAddress=90:E2:BA:04:29:89, networkName=null, bondName=bond2, bootProtocol=None, address=, subnet=, gateway=null, mtu=1500, bridged=false, speed=1000, type=0, networkImplementationDetails=null}],
        removedNetworks=[],
        removedBonds=[]), log id: e85c2a2



[root@mp-rhevm31 ~]# psql engine -U postgres -c "select vds_static.vds_name,vds_interface.name,vds_interface.addr,vds_interface.subnet,vds_interface.gateway from vds_static,vds_interface where vds_interface.vds_id=vds_static.vds_id and vds_interface.gateway is not null;"
 vds_name |   name    |    addr     |     subnet      |   gateway   
----------+-----------+-------------+-----------------+-------------
 dell-07  | bond2.172 | 10.34.67.68 | 255.255.255.224 | 10.34.67.94
(1 row)


[root@dell-r210ii-07 ~]# cat /etc/sysconfig/network-scripts/ifcfg-rhevm 
DEVICE=rhevm
ONBOOT=yes
TYPE=Bridge
DELAY=0
IPADDR=10.34.67.68
NETMASK=255.255.255.224
GATEWAY=10.34.67.94
BOOTPROTO=none
NM_CONTROLLED=no
STP=no

[root@dell-r210ii-07 ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond2.172
DEVICE=bond2.172
ONBOOT=yes
VLAN=yes
BRIDGE=rhevm
NM_CONTROLLED=no
STP=no

Comment 8 errata-xmlrpc 2013-06-18 09:35:09 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.

http://rhn.redhat.com/errata/RHBA-2013-0950.html


Note You need to log in before you can comment on or make changes to this bug.