Bug 873581

Summary: PCI addresses are deleted when VM Template is imported
Product: Red Hat Enterprise Virtualization Manager Reporter: Moti Asayag <masayag>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED ERRATA QA Contact: Tareq Alayan <talayan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: bazulay, chetan, cpelland, dyasny, iheim, jbainbri, lnatapov, lpeer, mkenneth, oramraz, Rhev-m-bugs, tdosek, yeylon, ykaul, yzaslavs
Target Milestone: ---Keywords: ZStream
Target Release: 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
--no tech note required
Story Points: ---
Clone Of:
: 879722 (view as bug list) Environment:
Last Closed: 2013-06-10 21:18:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 879722, 915537    

Description Moti Asayag 2012-11-06 08:47:59 UTC
Description of problem:
When VM Template is imported to a DC, it loses its pci addresses as exists in the template's ovf file.

Version-Release number of selected component (if applicable):


How reproducible:
always.

Steps to Reproduce:
1. Create VM with a disk/vnic.
2. Run the VM.
3. Stop the VM.
4. Create a template from the VM.
5. Export the template (the template should contain the vm device addresses in it)
6. Import the template (either to other DC or with clone).
  
Actual results:
The imported template has no addresses for the vm devices.

Expected results:
The import should populate the vm devices' addresses as well.

Additional info:
VmDeviceUtils.addManagedDevice() sets an empty string for the device's address.

Comment 1 Eli Mesika 2012-11-06 16:35:57 UTC
http://gerrit.ovirt.org/#/c/9087/

Comment 2 Eli Mesika 2012-11-07 21:19:48 UTC
fixed in commit ; f0543ca

Comment 3 lpeer 2012-11-22 10:20:14 UTC
*** Bug 866933 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2013-06-10 21:18:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0888.html

Comment 10 Jamie Bainbridge 2013-12-20 01:21:55 UTC
*** Bug 1044295 has been marked as a duplicate of this bug. ***