Bug 1393977

Summary: [RHV][Add disk]: Delete bootable disk along with add bootable disk fail to add disk.
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Moti Asayag <masayag>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, jfrey, jhardy, mhild, obarenbo, oourfali
Target Milestone: GA   
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: 5.7.0.11 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1388860 Environment:
Last Closed: 2017-01-04 13:11:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Bug Depends On: 1388860    
Bug Blocks:    

Comment 2 Ilanit Stein 2016-11-17 13:14:24 UTC
Verified on CFME-5.7.0.11 & RHV-4.0.5:

VM down
=======
Remove bootable, single disk (Delete Backing = Yes) + Add bootable disk - 
Work OK: 
Request on CFME side end successfully, and on RHV side, bootable disk was removed, and a new bootable disk was added. 

Detach bootable, single disk (Delete Backing = No) + Add bootable disk - 
Work OK: Request on CFME side end successfully, and on RHV side, bootable disk was detached, and a new bootable disk was added. 

VM up
=====
Remove bootable, single disk (Delete Backing = Yes) + Add bootable disk - 
Fail on:
"Error: Fault reason is "Operation Failed". Fault detail is "[Cannot remove Virtual Disk. At least one of the VMs is not down.]". HTTP response code is 409."

Detach bootable, single disk (Delete Backing = No) + Add bootable disk - 
Fail on:
"Error: Fault reason is "Operation Failed". Fault detail is "[Cannot detach Virtual Disk. The disk is already configured in a snapshot. In order to detach it, remove the disk's snapshots.]". HTTP response code is 409."

Comment 4 errata-xmlrpc 2017-01-04 13:11:53 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/RHBA-2017-0012.html