Bug 1337909
Summary: | NPE when trying to add a direct LUN disk | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Yaniv Kaul <ykaul> | ||||
Component: | BLL.Storage | Assignee: | Tal Nisan <tnisan> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Kevin Alon Goldblatt <kgoldbla> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0.0 | CC: | amureini, bugs, tnisan | ||||
Target Milestone: | ovirt-4.0.0-rc | Keywords: | Regression | ||||
Target Release: | 4.0.0 | Flags: | rule-engine:
ovirt-4.0.0+
rule-engine: blocker+ rule-engine: planning_ack+ amureini: devel_ack+ acanan: testing_ack+ |
||||
Hardware: | x86_64 | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-07-05 07:43:51 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. Tal - possible regression due to your recent changes? Test code is @ https://gerrit.ovirt.org/#/c/57792/ (In reply to Yaniv Kaul from comment #2) > Tal - possible regression due to your recent changes? > > Test code is @ https://gerrit.ovirt.org/#/c/57792/ Probably. Tal, please take care of this ASAP? oVirt 4.0 beta has been released, moving to RC milestone. oVirt 4.0 beta has been released, moving to RC milestone. Closed-upstream - works well in Lago. oVirt 4.0.0 has been released, closing current release. |
Created attachment 1159894 [details] engine.log Description of problem: When trying to add an iSCSI based direct LUN as a disk to a VM, I'm getting the following NPE. Same code works well on 3.6.x: 2016-05-20 06:40:40,338 ERROR [org.ovirt.engine.core.bll.storage.disk.AddDiskCommand] (default task-23) [5cf133a8] Command 'org.ovirt.engine.core.bll.storage.disk.AddDiskCommand' failed: null 2016-05-20 06:40:40,338 ERROR [org.ovirt.engine.core.bll.storage.disk.AddDiskCommand] (default task-23) [5cf133a8] Exception: java.lang.NullPointerException at org.ovirt.engine.core.common.businessentities.storage.BaseDisk.setDiskVmElements(BaseDisk.java:83) [common.jar:] at org.ovirt.engine.core.bll.VmHandler.updateDisksVmDataForVm(VmHandler.java:338) [bll.jar:] at org.ovirt.engine.core.bll.utils.VmDeviceUtils.updateBootOrder(VmDeviceUtils.java:991) [bll.jar:] at org.ovirt.engine.core.bll.utils.VmDeviceUtils.addManagedDevice(VmDeviceUtils.java:1398) [bll.jar:] at org.ovirt.engine.core.bll.utils.VmDeviceUtils.addDiskDevice(VmDeviceUtils.java:936) [bll.jar:] at org.ovirt.engine.core.bll.utils.VmDeviceUtils.addDiskDevice(VmDeviceUtils.java:928) [bll.jar:] at org.ovirt.engine.core.bll.storage.disk.AddDiskCommand.addManagedDeviceForDisk(AddDiskCommand.java:467) [bll.jar:] at org.ovirt.engine.core.bll.storage.disk.AddDiskCommand.lambda$createDiskBasedOnLun$0(AddDiskCommand.java:456) [bll.jar:] at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204) [utils.jar:] at org.ovirt.engine.core.bll.storage.disk.AddDiskCommand.createDiskBasedOnLun(AddDiskCommand.java:451) [bll.jar:] at org.ovirt.engine.core.bll.storage.disk.AddDiskCommand.executeVmCommand(AddDiskCommand.java:428) [bll.jar:] Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: