cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manasaveloori (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5216) "delete volume failed due to Exception: java.lang.Exception" While destroying the SSVM.
Date Wed, 20 Nov 2013 10:24:35 GMT
manasaveloori created CLOUDSTACK-5216:
-----------------------------------------

             Summary: "delete volume failed due to Exception: java.lang.Exception" While destroying
the SSVM. 
                 Key: CLOUDSTACK-5216
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5216
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Install and Setup
    Affects Versions: 4.3.0
            Reporter: manasaveloori
             Fix For: 4.3.0


1. Deploy CS with 4.3 build using ESXi5.1 HV.
2. After the CS is up with system VMs,destroy the SSVM.
Observing the following ERROR message in log:


2013-11-20 21:09:07,721 INFO  [c.c.s.r.VmwareStorageProcessor] (DirectAgent-45:ctx-810a6ab1
10.147.40.31) Executing resource DestroyCommand: {"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"98ad13cd-5b71-4f69-9b28-680430ca4c84","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"f672eae0-b400-3767-808f-b787a5c04d5f","id":1,"poolType":"NetworkFilesystem","host":"10.147.28.7","path":"/export/home/manasa/primaryVMw","port":2049,"url":"NetworkFilesystem://10.147.28.7//export/home/manasa/primaryVMw/?ROLE=Primary&STOREUUID=f672eae0-b400-3767-808f-b787a5c04d5f"}},"name":"ROOT-3","size":2097152000,"path":"ROOT-3","volumeId":3,"vmName":"s-3-VM","accountId":1,"chainInfo":"{\"diskDeviceBusName\":\"ide0:1\",\"diskChain\":[\"[f672eae0b4003767808fb787a5c04d5f]
s-3-VM/ROOT-3.vmdk\"]}","format":"OVA","id":3,"deviceId":0,"hypervisorType":"VMware"}},"wait":0}
2013-11-20 21:09:07,788 INFO  [c.c.s.r.VmwareStorageProcessor] (DirectAgent-45:ctx-810a6ab1
10.147.40.31) Destroy root volume and VM itself. vmName s-3-VM
2013-11-20 21:09:07,811 DEBUG [c.c.h.v.m.VirtualMachineMO] (DirectAgent-45:ctx-810a6ab1 10.147.40.31)
Retrieved 3 networks with key : 2
2013-11-20 21:09:10,023 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-45:ctx-810a6ab1
10.147.40.31) delete volume failed due to Exception: java.lang.Exception
Message: An iSCSI HBA must be configured before a host can use iSCSI storage.

java.lang.Exception: An iSCSI HBA must be configured before a host can use iSCSI storage.
        at com.cloud.hypervisor.vmware.resource.VmwareResource.addRemoveInternetScsiTargetsToAllHosts(VmwareResource.java:4699)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.removeManagedTargetsFromCluster(VmwareResource.java:4647)
        at com.cloud.storage.resource.VmwareStorageProcessor.deleteVolume(VmwareStorageProcessor.java:1520)
        at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:120)
        at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:54)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:538)
        at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
        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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        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-11-20 21:09:10,026 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-45:ctx-810a6ab1) Seq
1-1640300621: Response Received:
2013-11-20 21:09:10,026 DEBUG [c.c.a.t.Request] (DirectAgent-45:ctx-810a6ab1) Seq 1-1640300621:
Processing:  { Ans: , MgmtId: 6851580133501, via: 1, Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"delete
volume failed due to Exception: java.lang.Exception\nMessage: An iSCSI HBA must be configured
before a host can use iSCSI storage.\n","wait":0}}] }
2013-11-20 21:09:10,027 DEBUG [c.c.a.t.Request] (Job-Executor-15:ctx-d3e27920 ctx-5222a038)
Seq 1-1640300621: Received:  { Ans: , MgmtId: 6851580133501, via: 1, Ver: v1, Flags: 10, {
Answer } }
2013-11-20 21:09:10,039 WARN  [o.a.c.s.d.ObjectInDataStoreManagerImpl] (Job-Executor-15:ctx-d3e27920
ctx-5222a038) Unsupported data object (VOLUME, org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@5de479fc),
no need to delete from object in store ref table
2013-11-20 21:09:10,051 DEBUG [c.c.v.VirtualMachineManagerImpl] (Job-Executor-15:ctx-d3e27920
ctx-5222a038) Expunged VM[SecondaryStorageVm|s-3-VM]
2013-11-20 21:09:10,064 DEBUG [c.c.s.s.SecondaryStorageManagerImpl] (Job-Executor-15:ctx-d3e27920
ctx-5222a038) Removing host entry for ssvm id=3


Attaching the MS logs




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message