You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/06/15 03:17:20 UTC

[jira] [Commented] (CLOUDSTACK-2973) Object_Store_Refactor - KVM - Not able detach an iso.

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-2973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13684008#comment-13684008 ] 

ASF subversion and git services commented on CLOUDSTACK-2973:
-------------------------------------------------------------

Commit c4267b546f2bde8c0b32f13eea984896625ed269 in branch refs/heads/object_store from [~edison]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=c4267b5 ]

CLOUDSTACK-2973: fix detach iso

                
> Object_Store_Refactor - KVM - Not able detach an iso.
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-2973
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2973
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: Build from object_store branch
>            Reporter: Sangeetha Hariharan
>            Assignee: edison su
>             Fix For: 4.2.0
>
>
> Steps to reproduce the problem:
> Register an ISO.
> Deploy a Vm using an ISO.
> Once Vm is running successfully , try to detach iso.
> This action fails:
> Following exception seen in management server logs:
> 2013-06-12 18:29:28,914 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-24:job-24) Executing org.apache.cloudstack.api.comm                                         and.user.iso.DetachIsoCmd for job-24
> 2013-06-12 18:29:28,946 DEBUG [agent.transport.Request] (Job-Executor-24:job-24) Seq 1-113377731: Sending  { Cmd , MgmtId: 764799                                         4577963, via: 1, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.storage.command.DettachCommand":{"disk":{"data":{"org.apache.cl                                         oudstack.storage.to.TemplateObjectTO":{"path":"template/tmpl/2/207/207-2-c31c6e5e-a647-36f3-aa03-17f5c615825f.iso","origUrl":"htt                                         p://nfs1.lab.vmops.com/isos_64bit/rhel-server-6.2-x86_64-dvd.iso","uuid":"a081acac-aa73-4924-89f8-36c9a28066d9","id":207,"format"                                         :"ISO","accountId":2,"checksum":"7525d7ea1b1fd074538c7505bccd143d","hvm":true,"displayText":"test-iso","imageDataStore":{"com.clo                                         ud.agent.api.to.NfsTO":{"_url":"nfs://10.223.110.232/export/home/sangeetha/kvm-objectstore/secondary","_role":"Image"}},"name":"2                                         07-2-c31c6e5e-a647-36f3-aa03-17f5c615825f"}},"type":"ISO"},"vmName":"i-2-5-VM","wait":0}}] }
> 2013-06-12 18:29:28,990 DEBUG [agent.transport.Request] (AgentManager-Handler-12:null) Seq 1-113377731: Processing:  { Ans: , Mgm                                         tId: 7647994577963, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.UnsupportedAnswer":{"result":false,"details":"Unsupported                                          command issued:org.apache.cloudstack.storage.command.DettachCommand.  Are you sure you got the right type of server?","wait":0}}]                                          }
> 2013-06-12 18:29:28,990 DEBUG [agent.transport.Request] (Job-Executor-24:job-24) Seq 1-113377731: Received:  { Ans: , MgmtId: 764                                         7994577963, via: 1, Ver: v1, Flags: 10, { UnsupportedAnswer } }
> 2013-06-12 18:29:28,990 WARN  [agent.manager.AgentManagerImpl] (Job-Executor-24:job-24) Unsupported Command: Unsupported command                                          issued:org.apache.cloudstack.storage.command.DettachCommand.  Are you sure you got the right type of server?
> 2013-06-12 18:29:28,990 DEBUG [agent.manager.AgentManagerImpl] (Job-Executor-24:job-24) Details from executing class org.apache.c                                         loudstack.storage.command.DettachCommand: Unsupported command issued:org.apache.cloudstack.storage.command.DettachCommand.  Are y                                         ou sure you got the right type of server?
> 2013-06-12 18:29:28,996 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-24:job-24) Unexpected exception while executing org                                         .apache.cloudstack.api.command.user.iso.DetachIsoCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to detach iso
>         at com.cloud.template.TemplateManagerImpl.detachIso(TemplateManagerImpl.java:929)
>         at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPo                                         stProcessor.java:125)
>         at org.apache.cloudstack.api.command.user.iso.DetachIsoCmd.execute(DetachIsoCmd.java:87)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
>         at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-06-12 18:29:28,996 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-24:job-24) Complete async job-24, jobStatus: 2, res                                         ultCode: 530, result: Error Code: 530 Error text: Failed to detach iso

--
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