Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 879722

Summary: PCI addresses are deleted when VM Template is imported
Product: Red Hat Enterprise Virtualization Manager Reporter: Chris Pelland <cpelland>
Component: ovirt-engineAssignee: Eli Mesika <emesika>
Status: CLOSED ERRATA QA Contact: Tareq Alayan <talayan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: aburden, bazulay, dyasny, emesika, iheim, lpeer, masayag, mkenneth, oramraz, Rhev-m-bugs, tdosek, yeylon, ykaul, yzaslavs
Target Milestone: ---Keywords: ZStream
Target Release: 3.1.1   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, when a virtual machine template was imported to a data center, the PCI address, as it exists in the template OVF, was not imported. Now, a signature has been added to addManageDevice with an additional address parameter so that the virtual machine addresses are imported with the template.
Story Points: ---
Clone Of: 873581 Environment:
Last Closed: 2013-01-15 15:12:23 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: 873581    
Bug Blocks:    

Description Chris Pelland 2012-11-23 22:21:36 UTC
+++ This bug was initially created as a clone of Bug #873581 +++

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.

--- Additional comment from Eli Mesika on 2012-11-06 11:35:57 EST ---

http://gerrit.ovirt.org/#/c/9087/

--- Additional comment from Eli Mesika on 2012-11-07 16:19:48 EST ---

fixed in commit ; f0543ca

--- Additional comment from lpeer on 2012-11-22 05:20:14 EST ---

*** Bug 866933 has been marked as a duplicate of this bug. ***

Comment 3 Oded Ramraz 2012-12-17 17:49:44 UTC
see https://bugzilla.redhat.com/show_bug.cgi?id=873581#c5

Comment 5 errata-xmlrpc 2013-01-15 15:12:23 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/RHBA-2013-0003.html