Bug 799691 - [ovirt] [vdsm] start vm fails: NETPREFIX attribute is missing from networkConfig
[ovirt] [vdsm] start vm fails: NETPREFIX attribute is missing from networkConfig
Status: CLOSED NEXTRELEASE
Product: oVirt
Classification: Community
Component: vdsm (Show other bugs)
unspecified
Unspecified Unspecified
high Severity urgent
: ---
: ---
Assigned To: Dan Kenigsberg
yeylon@redhat.com
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-04 06:23 EST by Haim
Modified: 2016-04-18 02:43 EDT (History)
10 users (show)

See Also:
Fixed In Version: v4.9.4-5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-03-04 17:10:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Haim 2012-03-04 06:23:49 EST
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 06:28:42 EST
Does it happen for every VM run ? If so please add test blocker keyword as well.
Comment 2 Haim 2012-03-04 09:02:02 EST
http://gerrit.ovirt.org/2541

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