Red Hat Bugzilla – Bug 873581
PCI addresses are deleted when VM Template is imported
Last modified: 2016-02-10 14:01:29 EST
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):
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).
The imported template has no addresses for the vm devices.
The import should populate the vm devices' addresses as well.
VmDeviceUtils.addManagedDevice() sets an empty string for the device's address.
fixed in commit ; f0543ca
*** Bug 866933 has been marked as a duplicate of this bug. ***
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.
*** Bug 1044295 has been marked as a duplicate of this bug. ***