Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1091685

Summary: [TEXT] Attaching disk to vm in 'reboot in progress' state returns a confusing Operation failed message
Product: Red Hat Enterprise Virtualization Manager Reporter: Raz Tamir <ratamir>
Component: ovirt-engineAssignee: Idan Shaby <ishaby>
Status: CLOSED CURRENTRELEASE QA Contact: Raz Tamir <ratamir>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: amureini, bazulay, gklein, iheim, lpeer, oramraz, rbalakri, Rhev-m-bugs, scohen, sfolkwil, tnisan, yeylon
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-3.5.0-alpha2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-16 19:11:03 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:
Bug Depends On:    
Bug Blocks: 1142923, 1156165    

Description Raz Tamir 2014-04-27 09:18:43 UTC
Description of problem:
Trying to attach a disk to vm that is in 'Reboot in progress' state ends up with <fault></fault> object:
<fault>
    <reason>Operation Failed</reason>
    <detail>[Cannot attach Virtual Machine Disk because it is in Reboot in    Progress status.]</detail>
</fault>.
The details is confusing: from the details it appears that the disk is in 'Reboot in Progress' status, which is incorrect. 


Version-Release number of selected component (if applicable):
rhevm-3.4.0-0.13.beta3.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. attach disk to vm that is in reboot status
2.
3.

Actual results:
<fault>
    <reason>Operation Failed</reason>
    <detail>[Cannot attach Virtual Machine Disk because it is in Reboot in    Progress status.]</detail>
</fault>.

Expected results:
<fault>
    <reason>Operation Failed</reason>
    <detail>[Cannot attach Disk to Virtual Machine because it is in Reboot in Progress status.]</detail>
</fault>.

Additional info:

Comment 1 Allon Mureinik 2014-04-27 14:21:08 UTC
Jodi, can you please approve the message in the expected result above (or alternatively, suggest a better one? `-)).

Thanks!

Comment 2 Jodi Biddle 2014-04-27 22:21:42 UTC
[Cannot attach Disk to Virtual Machine because its status is still Reboot in Progress] 

Hope that makes it clearer :)

Comment 3 Raz Tamir 2014-06-15 12:18:39 UTC
Verified - ovirt-engine-3.5.0-0.0.master.20140605145557.git3ddd2de.el6.noarch

As expected:
<fault>
<reason>Operation Failed</reason>
<detail>
[Cannot attach Virtual Machine Disk because the VM is in Reboot in Progress status.]
</detail>
</fault>

Comment 4 Allon Mureinik 2015-02-16 19:11:03 UTC
RHEV-M 3.5.0 has been released, closing this bug.

Comment 5 Allon Mureinik 2015-02-16 19:11:18 UTC
RHEV-M 3.5.0 has been released, closing this bug.