Bug 799691 - [ovirt] [vdsm] start vm fails: NETPREFIX attribute is missing from networkConfig
Summary: [ovirt] [vdsm] start vm fails: NETPREFIX attribute is missing from networkConfig
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-04 11:23 UTC by Haim
Modified: 2016-04-18 06:43 UTC (History)
10 users (show)

Fixed In Version: v4.9.4-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-04 22:10:26 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

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


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