My enviroment that I am testing with has Equallogic San's that are
connecting to our XenServer 6.0 pool. I have setup a pre-setup storage
pool in Cloudstack that on the XenServer side uses the Citrix
StorageLink driver. We are getting issues with creating vm's that have
their root volume set to use the presetup storage tag.
It seems that the common error is that storage repository type cslg
(Citrix Storage Link Gateway) is not supported. I am wondering if this
is issue with Cloudstack not supporting storagelink drivers or weird
Xenserver issue. Any feedback is welcome and I am curious to hear from
anyone else using Xenserver and equallogic san's with cloudstack how
things are working for them.
Below is some logs that we are seeing regarding the presetup storage
with storagelink:
2012-06-19 09:26:07,394 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-366:null) Task failed! Task record: uuid:
55862bb1-2a90-10b7-fa99-1497bab5a010
nameLabel: Async.host.call_plugin
nameDescription:
allowedOperations: []
currentOperations: {}
created: Tue Jun 19 09:26:06 EDT 2012
finished: Tue Jun 19 09:26:06 EDT 2012
status: FAILURE
residentOn: com.xensource.xenapi.Host@177de3f6
progress: 1.0
type:
result:
errorInfo: [XENAPI_PLUGIN_FAILURE, task signaled, ]
otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
2012-06-19 09:26:07,406 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-366:null) callHostPlugin failed for cmd: kill_copy_process
with args namelabel: daf225ae-6dee-4d8e-bb92-3dbc25f9249b.vhd, due to
Task failed! Task record: uuid: 55862bb1-2a90-10b7-fa99-1497bab5a010
nameLabel: Async.host.call_plugin
nameDescription:
allowedOperations: []
currentOperations: {}
created: Tue Jun 19 09:26:06 EDT 2012
finished: Tue Jun 19 09:26:06 EDT 2012
status: FAILURE
residentOn: com.xensource.xenapi.Host@177de3f6
progress: 1.0
type:
result:
errorInfo: [XENAPI_PLUGIN_FAILURE, task signaled, ]
otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
Task failed! Task record: uuid: 55862bb1-2a90-10b7-fa99-1497bab5a010
nameLabel: Async.host.call_plugin
nameDescription:
allowedOperations: []
currentOperations: {}
created: Tue Jun 19 09:26:06 EDT 2012
finished: Tue Jun 19 09:26:06 EDT 2012
status: FAILURE
residentOn: com.xensource.xenapi.Host@177de3f6
progress: 1.0
type:
result:
errorInfo: [XENAPI_PLUGIN_FAILURE, task signaled, ]
otherConfig: {}
subtaskOf: com.xensource.xenapi.Task@aaf13f6f
subtasks: []
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.checkForSuccess(CitrixResourceBase.java:2768)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPluginAsync(CitrixResourceBase.java:3081)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.killCopyProcess(CitrixResourceBase.java:2278)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2324)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2350)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:450)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:69)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:187)
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)
2012-06-19 09:26:07,422 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-366:null) kill_copy_process failed
2012-06-19 09:26:07,422 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-366:null) doesn't support sr type cslg
2012-06-19 09:26:07,423 WARN [xen.resource.CitrixResourceBase]
(DirectAgent-366:null) Catch Exception
com.cloud.utils.exception.CloudRuntimeException on
host:d1ef8290-f4dd-49da-ba74-95bc2faeb712 for template:
nfs://10.1.11.255/storage/template/tmpl/2/226/daf225ae-6dee-4d8e-bb92-3dbc25f9249b.vhd
due to com.cloud.utils.exception.CloudRuntimeException: doesn't support
sr type cslg
com.cloud.utils.exception.CloudRuntimeException: doesn't support sr type
cslg
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.copy_vhd_from_secondarystorage(CitrixResourceBase.java:2328)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2350)
at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:450)
at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:69)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:187)
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)
2012-06-19 09:26:07,424 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-366:null) Seq 15-2096366680: Response Received:
2012-06-19 09:26:07,424 DEBUG [agent.transport.Request]
(DirectAgent-366:null) Seq 15-2096366680: Processing: { Ans: , MgmtId:
233845174632869, via: 15, Ver: v1, Flags: 110,
[{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":false,"details":"Catch
Exception com.cloud.utils.exception.CloudRuntimeException on
host:d1ef8290-f4dd-49da-ba74-95bc2faeb712 for template:
nfs://10.1.11.255/storage/template/tmpl/2/226/daf225ae-6dee-4d8e-bb92-3dbc25f9249b.vhd
due to com.cloud.utils.exception.CloudRuntimeException: doesn't support
sr type cslg","wait":0}}] }
2012-06-19 09:26:07,424 WARN [cloud.vm.VirtualMachineManagerImpl]
(DirectAgent-366:null) Cleanup failed due to Catch Exception
com.cloud.utils.exception.CloudRuntimeException on
host:d1ef8290-f4dd-49da-ba74-95bc2faeb712 for template:
nfs://10.1.11.255/storage/template/tmpl/2/226/daf225ae-6dee-4d8e-bb92-3dbc25f9249b.vhd
due to com.cloud.utils.exception.CloudRuntimeException: doesn't support
sr type cslg
2012-06-19 09:26:07,424 DEBUG [agent.transport.Request]
(Job-Executor-87:job-94) Seq 15-2096366680: Received: { Ans: , MgmtId:
233845174632869, via: 15, Ver: v1, Flags: 110, {
PrimaryStorageDownloadAnswer } }
2012-06-19 09:26:07,424 DEBUG [agent.manager.AgentAttache]
(DirectAgent-366:null) Seq 15-2096366680: No more commands found
2012-06-19 09:26:07,424 WARN [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-87:job-94) Cleanup failed due to Catch Exception
com.cloud.utils.exception.CloudRuntimeException on
host:d1ef8290-f4dd-49da-ba74-95bc2faeb712 for template:
nfs://10.1.11.255/storage/template/tmpl/2/226/daf225ae-6dee-4d8e-bb92-3dbc25f9249b.vhd
due to com.cloud.utils.exception.CloudRuntimeException: doesn't support
sr type cslg
2012-06-19 09:26:07,428 DEBUG [agent.manager.AgentManagerImpl]
(Job-Executor-87:job-94) Details from executing class
com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Catch
Exception com.cloud.utils.exception.CloudRuntimeException on
host:d1ef8290-f4dd-49da-ba74-95bc2faeb712 for template:
nfs://10.1.11.255/storage/template/tmpl/2/226/daf225ae-6dee-4d8e-bb92-3dbc25f9249b.vhd
due to com.cloud.utils.exception.CloudRuntimeException: doesn't support
sr type cslg
2012-06-19 09:26:07,428 DEBUG [cloud.template.TemplateManagerImpl]
(Job-Executor-87:job-94) Template 226 download to pool 201 failed due to
Catch Exception com.cloud.utils.exception.CloudRuntimeException on
host:d1ef8290-f4dd-49da-ba74-95bc2faeb712 for template:
nfs://10.1.11.255/storage/template/tmpl/2/226/daf225ae-6dee-4d8e-bb92-3dbc25f9249b.vhd
due to com.cloud.utils.exception.CloudRuntimeException: doesn't support
sr type cslg
2012-06-19 09:26:07,429 DEBUG [cloud.template.TemplateManagerImpl]
(Job-Executor-87:job-94) Template 226 is not found on and can not be
downloaded to pool 201
2012-06-19 09:26:07,429 DEBUG [cloud.storage.StorageManagerImpl]
(Job-Executor-87:job-94) Cannot use this pool Pool[201|PreSetup] because
we can't propagate template
Tmpl[226-VHD-daf225ae-6dee-4d8e-bb92-3dbc25f9249b
2012-06-19 09:26:07,433 INFO [cloud.vm.VirtualMachineManagerImpl]
(Job-Executor-87:job-94) Unable to contact resource.
com.cloud.exception.StorageUnavailableException: Resource
[StoragePool:201] is unreachable: Unable to create Vol[19|vm=18|ROOT]
at
com.cloud.storage.StorageManagerImpl.prepare(StorageManagerImpl.java:2990)
at
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:743)
at
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:461)
at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2580)
at
com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2517)
at
com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:32)
at com.cloud.api.commands.DeployVMCmd.execute(DeployVMCmd.java:317)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:132)
at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:427)
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)
2012-06-19 09:26:07,428 DEBUG [cloud.template.TemplateManagerImpl]
(Job-Executor-87:job-94) Template 226 download to pool 201 failed due to
Catch Exception com.cloud.utils.exception.CloudRuntimeException on
host:d1ef8290-f4dd-49da-ba74-95bc2faeb712 for template:
nfs://10.1.11.255/storage/template/tmpl/2/226/daf225ae-6dee-4d8e-bb92-3dbc25f9249b.vhd
due to com.cloud.utils.exception.CloudRuntimeException: doesn't support
sr type cslg
--
Lucas Hughes
Cloud Engineer
Ecommerce Inc