Bug 1039259 - Unable to register RHEV-H if 'use-bridge' option is enabled while configuring the only pNIC available on the system.
Summary: Unable to register RHEV-H if 'use-bridge' option is enabled while configuring...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: unspecified
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 3.4.0
Assignee: Nobody
QA Contact:
URL:
Whiteboard: network
Depends On:
Blocks: GSS_RHEV_33_BETA
TreeView+ depends on / blocked
 
Reported: 2013-12-07 10:36 UTC by Prasad Mukhedkar
Modified: 2016-02-10 19:55 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-24 16:16:37 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:
pmukhedk: needinfo-


Attachments (Terms of Use)
snapshot (2.21 MB, image/jpeg)
2013-12-07 11:18 UTC, Prasad Mukhedkar
no flags Details

Description Prasad Mukhedkar 2013-12-07 10:36:26 UTC
Description of problem:

If 'Use Bridge' option is selected while configuring network (RHEV-H TUI > NETWORK > Configure eth0) of a system which has only 1 pNIC will fail to register with rhevm with error 'configNetworkError: (21, "interface  'eth0' already member of network 'breth0'") in vdsn-reg.log


Version-Release number of selected component (if applicable):
RHEV-H 6.5

How reproducible:
Always 

Steps to Reproduce:
1. install RHEV-H on a system.
2. While configuring the network (eth0), select 'use bridge ' option 
3. try to register the host with the manager 

Actual results:
Registration fails with error shown in attached screenshot

Expected result:

Successful registration of the host.

Additional info:

Comment 1 Prasad Mukhedkar 2013-12-07 11:18:14 UTC
Created attachment 833865 [details]
snapshot

Comment 2 Humble Chirammal 2013-12-09 05:09:57 UTC
Can you please attach the vdsm registration logs and network layout ( ifconfig, brctl show..etc) of the system ?

_validateInterNetworkCompatibility() supposed to allow only below combinations.


        - single non-VLANed bridged network
        - multiple VLANed networks (bridged/bridgeless) with only one
          non-VLANed bridgeless network

The 'iface_ne't is filled with "breth0" which is non vlan'd and the condition fails..


  def _validateNoDirectNet(ifaces):
        # validate that none of the ifaces
        # is a non-VLANed network over our iface
        for (iface_net, iface_vlan) in ifaces:
            if iface_vlan is None:
                raise ConfigNetworkError(ne.ERR_BAD_PARAMS, 'interface %r '
                                         'already member of network %r' %
                                         (iface, iface_net))

    ifaces_bridgeless = tuple(ni.getBridgelessNetworksAndVlansForIface(iface))
    ifaces_bridged = tuple(ni.getBridgedNetworksAndVlansForIface(iface))

    # If non-VLANed bridged network exists
    # we can't add nothing else
    _validateNoDirectNet(ifaces_bridged)


afiact , the only nic (eth0) available in the system  is part of 'breth0' bridge at start and _validateNoDirectNet() failed on above mentioned condition and thus the bootstrap failure..

Comment 3 Fabian Deutsch 2013-12-10 12:38:33 UTC
Comment 2 looks like a vdsm problem.

Comment 5 Dan Kenigsberg 2014-02-12 12:17:25 UTC
With which RHEV-M are you trying to register? AFAIR, "use bridge" is useful only for legacy rhev-m <= 3.1 which require a pre-existing bridge attached to the physical nic.

Comment 6 Dan Kenigsberg 2014-02-24 16:16:37 UTC
Please reopen when you provide the information requested in comment 2 and comment 5.


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