cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shetty, Pradeep" <pshe...@virtela.net>
Subject RE: getting error when adding Ceph RBD storage to cloudstack 4.4.2
Date Mon, 19 Oct 2015 04:37:09 GMT
Followed wido's instructions for compiling libvirt and also make sure qemu supports rbd.

Cloudstack 4.4.2, CentOS 6.5

Regards,
Pradeep
-----Original Message-----
From: Ivan Rodriguez [mailto:ivanoch@gmail.com] 
Sent: 16 October 2015 03:46
To: users@cloudstack.apache.org
Subject: Re: getting error when adding Ceph RBD storage to cloudstack 4.4.2

Pradeep,

We are about to start doing the same thing, could you please let us know roughly the steps
that you did to achieve this ?
What version of cloudstack are you running ? What linux flavor ?  What version ?

Thanks in advance


On Thu, Oct 15, 2015 at 3:28 PM, Shetty, Pradeep <pshetty@virtela.net>
wrote:

> Compiled libvirt rpm's got upgraded hence facing this 
> error.Reinstalled compiled libvirt rpm's , now I am able to add rbd storage.
>
>
> Regards,
> Pradeep
> -----Original Message-----
> From: Shetty, Pradeep [mailto:pshetty@virtela.net]
> Sent: 12 October 2015 12:19
> To: users@cloudstack.apache.org
> Subject: getting error when adding Ceph RBD storage to cloudstack 
> 4.4.2
>
> Hello,
>
> I am getting error when adding ceph rbd storage in cloudstack.(Please 
> find the management server log pasted below).Created advanced zone 
> with local storage option enabled and using kvm hypervisor.
>
> System vm's are running on local storage. I am also able to add NFS 
> primary storage.
>
> Regards,
> Pradeep
>
>
>
>
>
> ______________________________________________________________________
> ______________________________________________________________________
> ______________________________________________________________________
> _______________
> 2015-10-12 12:08:31,792 DEBUG [c.c.a.m.AgentManagerImpl]
> (catalina-exec-22:ctx-89967058 ctx-bcb1cfce) Details from executing 
> class
> com.cloud.agent.api.ModifyStoragePoolCommand:
> com.cloud.utils.exception.CloudRuntimeException: Failed to create 
> storage
> pool: 13f02ef1-3e6d-31e7-8858-ed1f5bfdd514
>         at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:524)
>         at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:277)
>         at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:271)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2813)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1325)
>         at com.cloud.agent.Agent.processRequest(Agent.java:501)
>         at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
>         at com.cloud.utils.nio.Task.run(Task.java:84)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
>
> 2015-10-12 12:08:31,795 WARN  [o.a.c.alerts]
> (catalina-exec-22:ctx-89967058 ctx-bcb1cfce)  alertType:: 7 //
> dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: Unable 
> to attach storage pool12 to the host1
> 2015-10-12 12:08:31,840 WARN
> [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
> (catalina-exec-22:ctx-89967058 ctx-bcb1cfce) Unable to establish a 
> connection between Host[-1-Routing] and 
> org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@491f978a
> com.cloud.utils.exception.CloudRuntimeException: Unable establish 
> connection from storage head to storage pool 12 due to
> com.cloud.utils.exception.CloudRuntimeException: Failed to create 
> storage
> pool: 13f02ef1-3e6d-31e7-8858-ed1f5bfdd514
>         at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:524)
>         at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:277)
>         at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:271)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2813)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1325)
>         at com.cloud.agent.Agent.processRequest(Agent.java:501)
>         at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)
>         at com.cloud.utils.nio.Task.run(Task.java:84)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> 12
>         at
> org.apache.cloudstack.storage.datastore.provider.DefaultHostListener.hostConnect(DefaultHostListener.java:67)
>         at
> com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:866)
>         at
> org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:417)
>         at
> com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:669)
>         at
> com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:178)
>         at
> org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:163)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511)
>         at
> com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
>         at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
>         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
>         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 com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> 2015-10-12 12:08:31,842 WARN
> [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl]
> (catalina-exec-22:ctx-89967058 ctx-bcb1cfce) No host can access 
> storage pool 
> org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@491f978a
> on cluster 1
> 2015-10-12 12:08:31,869 DEBUG [c.c.s.StorageManagerImpl]
> (catalina-exec-22:ctx-89967058 ctx-bcb1cfce) Failed to add data store:
> Failed to access storage pool
> com.cloud.utils.exception.CloudRuntimeException: Failed to access 
> storage pool
>         at
> org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:427)
>         at
> com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:669)
>         at
> com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:178)
>         at
> org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:163)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:682)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:511)
>         at
> com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
>         at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
>         at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)
>         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 com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> 2015-10-12 12:08:31,874 INFO  [c.c.a.ApiServer]
> (catalina-exec-22:ctx-89967058 ctx-bcb1cfce) null
> 2015-10-12 12:08:31,875 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-22:ctx-89967058 ctx-bcb1cfce) ===END===  172.16.92.118 
> -- GET
> command=createStoragePool&scope=cluster&zoneid=fc417695-da7b-4f53-9ab6
> -f77ba29485bb&podid=b3eedd33-385a-41f1-85c3-d7e4629631b9&clusterid=94f
> 6e970-e36f-400d-8a9f-43ebfeeb09bb&name=VXILABRBD1&url=rbd%3A%2F%2Fadmi
> n%3AAQDAyQtWCIzFIxAAMW9qdsEXQQo_4-cp39VRbg%3D%3D%40100.64.214.153%2FRB
> DSTOR&tags=rbd&response=json&sessionkey=K5WBJEFzN7OGapNLI0wI%2BWJO%2B6
> M%3D&_=1444631911591
>
Mime
View raw message