Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 905744

Summary: RHEVM does not create management bridge 'rhevm' on a host, if another bridge is already present on the host.
Product: [oVirt] ovirt-host-deploy Reporter: Shruti Sampat <ssampat>
Component: Plugins.VDSMAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED WONTFIX QA Contact: Haim <hateya>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: masterCC: acathrow, bazulay, bugs, danken, dougsland, dtsang, iheim, mmahoney, pprakash, Rhev-m-bugs, sdharane, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-30 10:44:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine logs
none
/var/log/ovirt-engine/host-deploy/ovirt-20130130024408-10.70.35.144.log none

Description Shruti Sampat 2013-01-30 04:35:43 UTC
Description of problem:
---------------------------------------
On adding a host to a gluster-enabled cluster from RHEVM, it does not create the management bridge 'rhevm' on the host if another bridge is already present. After reboot, the host goes to 'Non-operational' state with the following message in the events log - 

Host <hostname> does not comply with the cluster <cluster-name> networks, the following networks are missing on host: 'rhevm'

Find engine logs attached.

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

oVirt Engine Version: 3.2.0-5.el6ev 
ovirt-host-deploy-1.0.0-0.1.beta.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Add a host to a cluster managed by RHSC (this creates the bridge ovirtmgmt)
2. Now remove the host from RHSC, and try to add it to a gluster-cluster managed by RHEVM.
  
Actual results:
RHEVM does not create the management bridge 'rhevm' and gives the above described message in the logs.

Expected results:
Since RHEVM is detecting that ovirtmgmt is already a bridge, then it should be able to work with ovirtmgmt.

Additional info

Comment 1 Shruti Sampat 2013-01-30 04:38:25 UTC
Created attachment 690172 [details]
engine logs

Comment 2 Alon Bar-Lev 2013-01-30 08:05:24 UTC
Please attach: /var/log/ovirt-engine/host-deploy/ovirt-20130130024408-10.70.35.144.log

Comment 3 Shruti Sampat 2013-01-30 08:34:50 UTC
Created attachment 690210 [details]
/var/log/ovirt-engine/host-deploy/ovirt-20130130024408-10.70.35.144.log

Comment 4 Alon Bar-Lev 2013-01-30 09:21:07 UTC
It is not just 'another bridge', it is a management bridge:

2013-01-30 04:09:11 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge bridge._getInterfaceForDestination:337 interface for 10.70.37.115 is ovirtmgmt
2013-01-30 04:09:11 INFO otopi.plugins.ovirt_host_deploy.vdsm.bridge bridge._validation:725 Management channel interface ovirtmgmt is already a bridge

In this case we do not delete existing bridge, this applies to both the old vdsm-bootstrap and the new ovirt-host-deploy.

Comment 5 Dan Kenigsberg 2013-01-30 10:44:47 UTC
Yeah, there has been an old decision not to outsmart an admin who bothered to implement his management interface on top of a bridge. Bootstrapping is expect to work for clean-slate machines. If the host has a complex predefined network configuration, we do not want to erase it.