Bug 1128430
| Summary: | NPE when attaching a non-existent disk to a VM | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Allon Mureinik <amureini> |
| Component: | ovirt-engine-core | Assignee: | Maor <mlipchuk> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Elad <ebenahar> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5 | CC: | acanan, ebenahar, ecohen, gklein, iheim, rbalakri, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | storage | ||
| Fixed In Version: | ovirt-3.5.0_rc1.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-17 12:22:49 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: | |||
|
Description
Allon Mureinik
2014-08-10 12:15:36 UTC
Tried to attach a non-existent disk to a VM. I don't get NPE, but, a wrong error message is shown in the CDA: 2014-08-26 11:58:29,221 WARN [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp--127.0.0.1-8702-2) [19e0cd33] CanDoAction of action AttachDiskToVm failed. Reasons:VAR__ACTION__ATTACH_ACTION_TO,VAR__TYPE__VM_D ISK,USER_NOT_AUTHORIZED_TO_PERFORM_ACTION REST request: <disk id="0000068b-dba5-4118-8623-2e369eaad394"> </disk> REST response: <fault> <reason>Operation Failed</reason> <detail>[User is not authorized to perform this action.]</detail> </fault> Opened a bug on this https://bugzilla.redhat.com/show_bug.cgi?id=1133841 , verifying this one. Verified using ovirt-3.5 RC1.1 oVirt 3.5 has been released and should include the fix for this issue. |