Bug 832889

Summary: Create bridge using vdsClient | bridge and network not shown in SetupNetworks
Product: Red Hat Enterprise Linux 6 Reporter: Meni Yakove <myakove>
Component: vdsmAssignee: Dan Kenigsberg <dkenigsb>
Status: CLOSED NOTABUG QA Contact: Haim <hateya>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3CC: abaron, bazulay, iheim, yeylon, ykaul
Target Milestone: rcKeywords: Regression
Target Release: 6.3   
Hardware: x86_64   
OS: Linux   
Whiteboard: network
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-18 13:20:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Meni Yakove 2012-06-18 07:21:21 UTC
Description of problem:
When creating bridge using vdsClient the bridge not shown on SetupNetworks. 
I have created new bridge:
vdsClient -s 0 addNetwork bridge=test123 vlan=123 nics=eth3
bridge exist under brctl and under virsh:
test123         8000.00145e17d466       no              eth3.123
vdsm-test123         active     yes 

But not shown under SetupNetworks

How reproducible:
Always

Steps to Reproduce:
1.Create bridge using vdsClient
2.Open webdmin > go to SetupNetworks

  
Actual results:
Bridge not shown under SetupNetwork

Expected results:
Bridge should be under SetupNetworks

Comment 3 Yaniv Kaul 2012-06-18 09:03:23 UTC
- vdsClient is not a supported API.
- Was the host moved to maintenance then re-activated? 
- What was the output of getVdsStats?

Comment 4 Meni Yakove 2012-06-18 11:48:03 UTC
(In reply to comment #3)
> - vdsClient is not a supported API.
> - Was the host moved to maintenance then re-activated? 
> - What was the output of getVdsStats?

After moving host to maintenance and then re-activated the new bridge shown on SetupNetworks.
output of getVdsStats:


vdsClient -s 0 getVdsStats
        anonHugePages = 666
        cpuIdle = 98.31
        cpuLoad = 0.03
        cpuSys = 1.31
        cpuSysVdsmd = 0.12
        cpuUser = 0.37
        cpuUserVdsmd = 0.37
        dateTime = 2012-06-18T11:37:04 GMT
        diskStats = {'/var/log': {'free': '16796'}, '/var/log/core': {'free': '16796'}, '/tmp': {'free': '16796'}, '/var/run/vdsm/': {'free': '16796'}}
        elapsedTime = 164
        generationID = 1b354037-f3ce-4e3c-831f-7c90432200d3
        ksmCpu = 0
        ksmPages = 100
        ksmState = True
        memAvailable = 14362
        memCommitted = 0
        memShared = 0
        memUsed = 9
        netConfigDirty = True
        network = {'bond4': {'macAddr': '', 'name': 'bond4', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'down', 'speed': '1000', 'rxDropped': '0'}, 'bond0': {'macAddr': '', 'name': 'bond0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'down', 'speed': '1000', 'rxDropped': '0'}, 'bond1': {'macAddr': '', 'name': 'bond1', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'down', 'speed': '1000', 'rxDropped': '0'}, 'bond2': {'macAddr': '', 'name': 'bond2', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'down', 'speed': '1000', 'rxDropped': '0'}, 'bond3': {'macAddr': '', 'name': 'bond3', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'down', 'speed': '1000', 'rxDropped': '0'}, 'eth3': {'macAddr': '', 'name': 'eth3', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'up', 'speed': '1000', 'rxDropped': '0'}, 'eth2': {'macAddr': '', 'name': 'eth2', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'up', 'speed': '1000', 'rxDropped': '0'}, 'eth1': {'macAddr': '', 'name': 'eth1', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'up', 'speed': '1000', 'rxDropped': '0'}, 'eth0': {'macAddr': '', 'name': 'eth0', 'txDropped': '0', 'rxErrors': '0', 'txRate': '0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'up', 'speed': '1000', 'rxDropped': '0'}}
        rxDropped = 0
        rxRate = 0.00
        statsAge = 0.60
        storageDomains = {'36da7203-e721-423e-9358-618d1053f03c': {'delay': '0.00143003463745', 'lastCheck': '9.7', 'code': 0, 'valid': True}}
        swapFree = 15999
        swapTotal = 15999
        thpState = always
        txDropped = 0
        txRate = 0.00
        vmActive = 0
        vmCount = 0
        vmMigrating = 0

Comment 5 Itamar Heim 2012-06-18 13:20:59 UTC
changing host config not in maint is not supported.