Bug 1373090

Summary: [downstream clone - 3.6.9] [Upgrade] Cluster compatibility upgrade 3.6-> 4.0 failed on a specific system
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Andrej Krejcir <akrejcir>
Status: CLOSED ERRATA QA Contact: Israel Pinto <ipinto>
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: akrejcir, bugs, dfediuck, gklein, ipinto, jbelka, lsurette, melewis, mgoldboi, rbalakri, rgolan, Rhev-m-bugs, sbonazzo, srevivo, ykaul, ylavi
Target Milestone: ovirt-3.6.9Keywords: Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, a virtual machine with a null CPU profile id stored in the database caused a NPE when editing the virtual machine. Now, a virtual machine with a null CPU profile id stored in the database is correctly handled and the virtual machine can be edited.
Story Points: ---
Clone Of: 1367025 Environment:
Last Closed: 2016-09-21 18:06:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1367025    
Bug Blocks:    

Comment 1 Roy Golan 2016-09-05 07:02:35 UTC
Israel I need you to confirm if this VM didn't went through a cluster change. If it didn't it means we have some other place that caused the cpu profile to be null.

Comment 2 Israel Pinto 2016-09-05 07:20:11 UTC
The VM is create from template, it did not change cluster.
In the beginning of the test we update cpu socket and core, and then start the VM.

Comment 4 Israel Pinto 2016-09-13 06:03:16 UTC
Verify with: 3.6.9.1-0.1.1.el6
Host: 
OS Version: RHEL - 7.2 - 13.0.el7ev
Kernel Version: 3.10.0 - 327.30.1.el7.x86_64
KVM Version: 2.3.0 - 31.el7_2.21
LIBVIRT Version: libvirt-1.2.17-13.el7_2.5
VDSM Version: vdsm-4.17.35-1.el7ev

Steps: 
1. Create VM
2. Hot plug CPU to VM
3. Run Automation tests.

Results:
All Pass

Automation run:
https://rhev-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/3.6-GE-Tier1-x86_64/305/testReport/automation.ART.art.tests.rhevmtests.virt.hot_plug.hot_plug_cpu.hot_plug_cpu_test/

Comment 6 errata-xmlrpc 2016-09-21 18:06:52 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.

https://rhn.redhat.com/errata/RHSA-2016-1929.html