Bug 799691

Summary: [ovirt] [vdsm] start vm fails: NETPREFIX attribute is missing from networkConfig
Product: [Retired] oVirt Reporter: Haim <hateya>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED NEXTRELEASE QA Contact: yeylon <yeylon>
Severity: urgent Docs Contact:
Priority: high    
Version: unspecifiedCC: abaron, acathrow, bazulay, hateya, iheim, mgoldboi, oramraz, srevivo, yeylon, ykaul
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v4.9.4-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-04 22:10:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Haim 2012-03-04 11:23:49 UTC
Description of problem:

- trying to start vm - process failed on the following:

Thread-4771::ERROR::2012-03-04 12:07:52,998::vm::601::vm.Vm::(_startUnderlyingVm) vmId=`59631e68-5903-42e7-b0ea-be75d143cc3e`::The vm start process failed
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 567, in _startUnderlyingVm
    self._run()
  File "/usr/share/vdsm/libvirtvm.py", line 1279, in _run
    domxml = hooks.before_vm_start(self._buildCmdLine(), self.conf)
  File "/usr/share/vdsm/libvirtvm.py", line 1159, in _buildCmdLine
    domxml.appendGraphics()
  File "/usr/share/vdsm/libvirtvm.py", line 800, in appendGraphics
    listen.setAttribute('network', configNetwork.NETPREFIX +
AttributeError: 'module' object has no attribute 'NETPREFIX'

from looking into vdsm/configNetwork it seems as if NETPREFIX definition is missing. 

git log: 6370ed0aac29478c07ea5a107553ce1553cdffd3

Comment 1 Oded Ramraz 2012-03-04 11:28:42 UTC
Does it happen for every VM run ? If so please add test blocker keyword as well.

Comment 2 Haim 2012-03-04 14:02:02 UTC
http://gerrit.ovirt.org/2541