Bug 1524419

Summary: resume behavior is marked as needs restart even if not needed
Product: [oVirt] ovirt-engine Reporter: Tomas Jelinek <tjelinek>
Component: Backend.CoreAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED CURRENTRELEASE QA Contact: Polina <pagranat>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: bugs, michal.skrivanek
Target Milestone: ovirt-4.2.1Flags: tjelinek: ovirt-4.2?
tjelinek: planning_ack?
tjelinek: devel_ack+
mavital: testing_ack+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-22 10:01:17 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:

Description Tomas Jelinek 2017-12-11 13:20:40 UTC
Description of problem:


Steps to Reproduce:
1. have a 4.2 engine with a 4.1 cluster
2. inside this cluster create a VM
3. before first starting it, edit it and change the OS and the VM type
4. now start it
5. while running, change something which will make it to have a next run snapshot (e.g. the graphics type)
6. while having the next run snapshot, edit it again. Don't change anything
7. the confirm window will complain that the resume behavior changed even though it did not

Actual results:
it complains the resume behavior changed even it did not

Expected results:
it should not not report that the resume behavior changed if it did not

Comment 1 Polina 2018-02-13 15:52:08 UTC
verified in version rhv-release-4.2.1-9-001.noarch.

created DC/Cluster with Compatibility Version4.1, Created VM and performed the steps to reproduce from description. 
Result: no reporting about changed Resume Behavior

<data_center href="/ovirt-engine/api/datacenters/c53a623b-76a4-4e4f-b0f5-0d4ca34c1412" id="c53a623b-76a4-4e4f-b0f5-0d4ca34c1412">
    <name>test</name>
    <description>dc_4.1</description>
    <link href="/ovirt-engine/api/datacenters/c53a623b-76a4-4e4f-b0f5-0d4ca34c1412/quotas" rel="quotas"/>
    <link href="/ovirt-engine/api/datacenters/c53a623b-76a4-4e4f-b0f5-0d4ca34c1412/iscsibonds" rel="iscsibonds"/>
    <link href="/ovirt-engine/api/datacenters/c53a623b-76a4-4e4f-b0f5-0d4ca34c1412/qoss" rel="qoss"/>
    <link href="/ovirt-engine/api/datacenters/c53a623b-76a4-4e4f-b0f5-0d4ca34c1412/clusters" rel="clusters"/>
    <link href="/ovirt-engine/api/datacenters/c53a623b-76a4-4e4f-b0f5-0d4ca34c1412/networks" rel="networks"/>
    <link href="/ovirt-engine/api/datacenters/c53a623b-76a4-4e4f-b0f5-0d4ca34c1412/storagedomains" rel="storagedomains"/>
    <link href="/ovirt-engine/api/datacenters/c53a623b-76a4-4e4f-b0f5-0d4ca34c1412/permissions" rel="permissions"/>
    <local>false</local>
    <quota_mode>disabled</quota_mode>
    <status>up</status>
    <storage_format>v4</storage_format>
    <supported_versions>
        <version>
            <major>4</major>
            <minor>1</minor>
        </version>
    </supported_versions>
    <version>
        <major>4</major>
        <minor>1</minor>
    </version>
    <mac_pool href="/ovirt-engine/api/macpools/58ca604b-017d-0374-0220-00000000014e" id="58ca604b-017d-0374-0220-00000000014e"/>
</data_center>

Comment 2 Sandro Bonazzola 2018-02-22 10:01:17 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE.

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