Bug 1330988

Summary: drop device addresses when changing machine type
Product: [oVirt] ovirt-engine Reporter: Martin Polednik <mpoledni>
Component: BLL.VirtAssignee: Shmuel Melamud <smelamud>
Status: CLOSED CURRENTRELEASE QA Contact: sefi litmanovich <slitmano>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0.0CC: bugs, mgoldboi, michal.skrivanek, pstehlik
Target Milestone: ovirt-4.0.0-betaFlags: michal.skrivanek: ovirt-4.0.0?
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack?
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-22 13:30:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1301111, 1365938    

Description Martin Polednik 2016-04-27 12:09:34 UTC
Description of problem:
When we change VM machine type, the device addresses are (possibly) wrong due to topology changes. To avoid issues with VM start, engine should drop device addresses when machine type is changed.

Comment 1 Red Hat Bugzilla Rules Engine 2016-04-27 12:13:25 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Sandro Bonazzola 2016-05-02 10:09:23 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 3 Pavel Stehlik 2016-08-22 13:30:50 UTC
Closing due to capacity reason, if still happens please reopen.

Comment 4 sefi litmanovich 2016-08-22 15:13:18 UTC
Verified with rhevm-4.0.2.7-0.1.el7ev.noarch.
steps:

1. Create a VM with disk and CD-ROM and emulated machine type set to default value (pc-i440fx-rhel7.2.0)
2. Run it with cdrom attached.
3. Shutdown it.
4. Change emulated machine to pc-q35-rhel7.2.0.
5. Run vm with cdrom attached.

result:
vm runs successfully with the attached cd.