cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Takuma Nakajima <penguin.trance.2...@gmail.com>
Subject Problem in adding Ceph RBD storage to CloudStack
Date Thu, 18 Jul 2013 16:09:25 GMT
Hi,

I'm building a CloudStack 4.1 with Ceph RBD storage using RHEL 6.3 recently
but it fails when adding RBD storage to primary storage.
Does anybody know about the problem?

1. qemu (1.5.50, configured with "--enable-rbd") and libvirt (0.10.2,
configured with "--with-storage-rbd") are installed to the computing
node.
2. The virtual machine with ceph storage configured with "virsh edit"
(not under controll of CloudStack) works well
3. /var/log/libvirt/libvirtd.log says "internal error missing backend
for pool type 8" when adding RBD storage with following parameters
----
Zone : <my zone name>
Pod : <my pod name>
Cluster : <my cluster name>
Name : primary_rbd
Protocol : RBD
RADOS Monitor : <ip address of ceph monitor node>
RADOS Pool : libvirt-pool
RADOS User : libvirt
RADOS Secret : AQ...==
Storage Tags : rbd
----
4. management server log when adding the ceph storage is following
----
2013-07-18 12:23:47,712 DEBUG [cloud.storage.StorageManagerImpl]
(catalina-exec-9:null) In createPool Adding the pool to each of the
hosts
2013-07-18 12:23:47,712 DEBUG [cloud.storage.StorageManagerImpl]
(catalina-exec-9:null) Adding pool primary_rbd to  host 1
2013-07-18 12:23:47,716 DEBUG [agent.transport.Request]
(catalina-exec-9:null) Seq 1-80819236: Sending
...
2013-07-18 12:23:47,843 DEBUG [agent.transport.Request]
(catalina-exec-9:null) Seq 1-80819236: Received:  { Ans: , MgmtId:
90520734321155, via: 1, Ver: v1, Flags: 10, { Answer } }
2013-07-18 12:23:47,843 DEBUG [agent.manager.AgentManagerImpl]
(catalina-exec-9:null) Details from executing class
com.cloud.agent.api.ModifyStoragePoolCommand:
java.lang.NullPointerException
        at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:540)
        at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:111)
...
2013-07-18 12:23:47,892 WARN  [cloud.storage.StorageManagerImpl]
(catalina-exec-9:null) Unable to establish a connection between
Host[-1-Routing] and Pool[218|RBD]
com.cloud.exception.StorageUnavailableException: Resource
[StoragePool:218] is nreachable: Unable establish connection from
storage head to storage pool 218 due to java.lang.NullPointerException
        at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:540)
        at com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:111)
...
2013-07-18 12:23:47,894 WARN  [cloud.storage.StorageManagerImpl]
(catalina-exec-9:null) No host can access storage pool Pool[218|RBD]
on cluster 1
2013-07-18 12:23:47,975 INFO  [cloud.api.ApiServer]
(catalina-exec-9:null) Failed to add storage pool
----

Takuma Nakajima

Mime
View raw message