Bug 895080
| Summary: | failed to add ovirtmgmt bridge when the host is in dhcp mode | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-host-deploy | Reporter: | exploit | ||||
| Component: | Plugins.VDSM | Assignee: | Alon Bar-Lev <alonbl> | ||||
| Status: | CLOSED CANTFIX | QA Contact: | Haim <hateya> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | master | CC: | bazulay, bugs, danken, dougsland, exploit, iheim, yeylon, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | network | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-01-16 21:57: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
exploit
2013-01-14 14:20:03 UTC
Can you please attach complete log? Thanks! Created attachment 678245 [details]
full logs
2013-01-14 15:02:02 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge plugin.executeRaw:324 execute: ['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', u'eth0', 'UUID=aa775217-be76-4b26-a5f6-6131d1ca494d', 'BOOTPROTO=dhcp', 'ONBOOT=yes', 'DEFROUTE=yes', 'PEERDNS=yes', 'PEERROUTES=yes', 'IPV4_FAILURE_FATAL=no', 'IPV6INIT=no', 'NAME=System eth0', 'blockingdhcp=true'], env=None
2013-01-14 15:02:07 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge plugin.executeRaw:341 execute-result: ['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', u'eth0', 'UUID=aa775217-be76-4b26-a5f6-6131d1ca494d', 'BOOTPROTO=dhcp', 'ONBOOT=yes', 'DEFROUTE=yes', 'PEERDNS=yes', 'PEERROUTES=yes', 'IPV4_FAILURE_FATAL=no', 'IPV6INIT=no', 'NAME=System eth0', 'blockingdhcp=true'], rc=255
2013-01-14 15:02:07 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge plugin.execute:388 execute-output: ['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', u'eth0', 'UUID=aa775217-be76-4b26-a5f6-6131d1ca494d', 'BOOTPROTO=dhcp', 'ONBOOT=yes', 'DEFROUTE=yes', 'PEERDNS=yes', 'PEERROUTES=yes', 'IPV4_FAILURE_FATAL=no', 'IPV6INIT=no', 'NAME=System eth0', 'blockingdhcp=true'] stdout:
2013-01-14 15:02:07 DEBUG otopi.plugins.ovirt_host_deploy.vdsm.bridge plugin.execute:393 execute-output: ['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', u'eth0', 'UUID=aa775217-be76-4b26-a5f6-6131d1ca494d', 'BOOTPROTO=dhcp', 'ONBOOT=yes', 'DEFROUTE=yes', 'PEERDNS=yes', 'PEERROUTES=yes', 'IPV4_FAILURE_FATAL=no', 'IPV6INIT=no', 'NAME=System eth0', 'blockingdhcp=true'] stderr:
WARNING:Storage.LVM:Cannot create env file [Errno 2] No such file or directory: '/var/run/vdsm/lvm.env'
WARNING:root:options BOOTPROTO is deprecated. Use bootproto instead
WARNING:root:options ONBOOT is deprecated. Use onboot instead
INFO:root:Adding network ovirtmgmt with vlan=, bonding=, nics=['eth0'], bondingOptions=None, mtu=None, bridged=True, options={'PEERROUTES': 'yes', 'blockingdhcp': 'true', 'UUID': 'aa775217-be76-4b26-a5f6-6131d1ca494d', 'IPV6INIT': 'no', 'DEFROUTE': 'yes', 'PEERDNS': 'yes', 'IPV4_FAILURE_FATAL': 'no', 'bootproto': 'dhcp', 'onboot': 'yes', 'NAME': 'System eth0'}
libvir: Network Driver error : Network not found: no network with matching name 'vdsm-ovirtmgmt'
libvir: Network Driver error : Network not found: no network with matching name 'vdsm-ovirtmgmt'
libvir: Network Driver error : Requested operation is not valid: cannot set autostart for transient network
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/share/vdsm/configNetwork.py", line 1515, in <module>
main()
File "/usr/share/vdsm/configNetwork.py", line 1484, in main
addNetwork(bridge, **kwargs)
File "/usr/share/vdsm/configNetwork.py", line 1030, in addNetwork
configWriter.createLibvirtNetwork(network, bridged, iface)
File "/usr/share/vdsm/configNetwork.py", line 208, in createLibvirtNetwork
self._createNetwork(netXml)
File "/usr/share/vdsm/configNetwork.py", line 192, in _createNetwork
net.setAutostart(1)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2148, in setAutostart
if ret == -1: raise libvirtError ('virNetworkSetAutostart() failed', net=self)
libvirt.libvirtError: Requested operation is not valid: cannot set autostart for transient network
2013-01-14 15:02:07 DEBUG otopi.context context._executeMethod:127 method exception
Traceback (most recent call last):
File "/tmp/ovirt-3kVZFtJWVL/pythonlib/otopi/context.py", line 117, in _executeMethod
method['method']()
File "/tmp/ovirt-3kVZFtJWVL/otopi-plugins/ovirt-host-deploy/vdsm/bridge.py", line 769, in _misc
parameters=parameters,
File "/tmp/ovirt-3kVZFtJWVL/otopi-plugins/ovirt-host-deploy/vdsm/bridge.py", line 543, in _createBridge
parameters
File "/tmp/ovirt-3kVZFtJWVL/pythonlib/otopi/plugin.py", line 398, in execute
command=args[0],
RuntimeError: Command '/usr/share/vdsm/addNetwork' failed to execute
2013-01-14 15:02:07 ERROR otopi.context context._executeMethod:136 Failed to execute stage 'Misc configuration': Command '/usr/share/vdsm/addNetwork' failed to execute
Dan, What do you make out of this? Alon What is your libvirt version? I seems like a known bug in libvirt-1.0.1 http://www.redhat.com/archives/libvir-list/2012-December/msg01335.html (In reply to comment #5) > What is your libvirt version? I seems like a known bug in libvirt-1.0.1 > > http://www.redhat.com/archives/libvir-list/2012-December/msg01335.html libvirt-1.0.1-2.fc17.x86_64 This is libvirt issue, please downgrade libvirt to the version distributed with fedora 18. Thanks! |