Pearl1594 commented on a change in pull request #4907:
URL: https://github.com/apache/cloudstack/pull/4907#discussion_r615533351



##########
File path: 
api/src/main/java/org/apache/cloudstack/api/command/user/iso/DetachIsoCmd.java
##########
@@ -48,6 +48,9 @@
             required=true, description="The ID of the virtual machine")
     protected Long virtualMachineId;
 
+    @Parameter(name=ApiConstants.FORCED, type=CommandType.BOOLEAN, 
description="If true, ejects the iso before detaching on vmware. Default: 
false", since = "4.15.1")

Review comment:
       @sureshanaparti  It is noticed that when we attempt a detach operation 
on an iso attached to a VM, despite the cdrom device not being in use (not 
mounted) - it is locked, as a result of which a detach operation leads to the 
same error as mentioned in the PR description. Thus there is a need to add a 
force flag to proceed




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to