[ https://issues.apache.org/jira/browse/CLOUDSTACK-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sadhu suresh reopened CLOUDSTACK-3482: -------------------------------------- Its default centos template and i hope pv drivers will come by default.can you please clarify. > primary:iscsi:detachvolume is failed when we attach voulme on stopped vm and > try to detach volume when VM is running state > --------------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3482 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3482 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Volumes, Xen, XenServer > Affects Versions: 4.2.0 > Reporter: sadhu suresh > Priority: Critical > Fix For: 4.2.0 > > Attachments: management-server.rar > > > detachvolume is failed when we attach voulme on stopped vm and try to detach > volume when VM is running state > steps: > 1. deploy a vm1 > 2. perform snapshot on root volume > 3.create a volume from snapshot i,e vol1 > 4.deploy another vm2 > 5.attach/detach a volume created in step3 > 6 volume was successfully attached and detach and then .stop the vm2 > 7.attach the volume "vol1" to vm2 > 8.start the VM2 > 9 try to detach "vol1" from vm2 > Actual result: > fail to detach the volume from vm and throws below error when we first try to > detach the volume. > and later if we try to detach volume again and its failing with "failed > dettach volume: 960eba57-279b-48a6-b94d-44ef75fe134b, due to > org.apache.xmlrpc.XmlRpcException: Failed to create input stream: Read timed > out" > ************************** 49. row *************************** > id: 67 > user_id: 2 > account_id: 2 > session_key: NULL > instance_type: NULL > instance_id: NULL > job_cmd: > org.apache.cloudstack.api.command.user.volume.DetachVolumeCmd > job_cmd_originator: NULL > job_cmd_info: > {"response":"json","id":"dbf2306a-91e9-4980-b773-eac0523ef290","sessionkey":"MHeSvVY9VxbxczPiN/S443FWzw0\u003d","cmdEventType":"VOLUME.DETACH","ctxUserId":"2","httpmethod":"GET","_":"1373548167660","ctxAccountId":"2","ctxStartEventId":"261"} > job_cmd_ver: 0 > callback_type: 0 > callback_address: NULL > job_status: 2 > job_process_status: 0 > job_result_code: 530 > job_result: > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed > to detach volume: xx from VM: vm3; Failed dettach volume: > 6a5d2542-2333-4855-bd87-675c7ead26b5, due to The VM rejected the attempt to > detach the device."} > job_init_msid: 7321476399279 > job_complete_msid: 7321476399279 > created: 2013-07-11 18:37:52 > last_updated: 2013-07-11 18:37:53 > last_polled: NULL > removed: NULL > uuid: e36c7928-3b6b-4cb5-90fb-44dc9378e740 > id: 68 > user_id: 2 > account_id: 2 > session_key: NULL > instance_type: NULL > instance_id: NULL > job_cmd: > org.apache.cloudstack.api.command.user.volume.DetachVolumeCmd > job_cmd_originator: NULL > job_cmd_info: > {"response":"json","id":"dbf2306a-91e9-4980-b773-eac0523ef290","sessionkey":"MHeSvVY9VxbxczPiN/S443FWzw0\u003d","cmdEventType":"VOLUME.DETACH","ctxUserId":"2","httpmethod":"GET","_":"1373548256841","ctxAccountId":"2","ctxStartEventId":"264"} > job_cmd_ver: 0 > callback_type: 0 > callback_address: NULL > job_status: 2 > job_process_status: 0 > job_result_code: 530 > job_result: > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Failed > to detach volume: xx from VM: vm3; Failed dettach volume: > 6a5d2542-2333-4855-bd87-675c7ead26b5, due to > org.apache.xmlrpc.XmlRpcException: Failed to create input stream: Read timed > out"} > job_init_msid: 7321476399279 > job_complete_msid: 7321476399279 > created: 2013-07-11 18:39:22 > last_updated: 2013-07-11 18:49:22 > last_polled: 2013-07-11 18:49:19 > removed: NULL -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira