You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Guangjian Liu <gu...@gmail.com> on 2013/04/28 10:39:14 UTC

About Use Ceph by SharedMountPoint in Cloudstack

I have question about Use Ceph by Primary storage SharedMountPoint in
Cloudstack.

I use Cloudstack 3.0.2 and CloudStack 4.0.1 for this validate, success
in  CloudStack 4.0.1, but fail in Cloudstack 3.0.2.

My question is does Cloudstack 3.0.2 support Ceph by SharedMountPoint?

KVM Server: ubuntu 12.04
Ceph version 0.56.4
Using library: libvirt 0.10.2
Using API: QEMU 0.10.2


-- 
Guangjian

Re: About Use Ceph by SharedMountPoint in Cloudstack

Posted by Guangjian Liu <gu...@gmail.com>.
when use cs 3.0.2, it show exception in CS log:

2013-04-28 16:29:28,293 WARN  [cloud.vm.VirtualMachineManagerImpl]
(AgentManager-Handler-7:null) Cleanup failed due to
java.lang.NullPointerException
        at
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:462)
        at
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:57)
        at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2087)
        at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1053)
        at com.cloud.agent.Agent.processRequest(Agent.java:518)
        at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)
        at com.cloud.utils.nio.Task.run(Task.java:83)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)


On Sun, Apr 28, 2013 at 4:39 PM, Guangjian Liu <gu...@gmail.com> wrote:

>
> I have question about Use Ceph by Primary storage SharedMountPoint in
> Cloudstack.
>
> I use Cloudstack 3.0.2 and CloudStack 4.0.1 for this validate, success
> in  CloudStack 4.0.1, but fail in Cloudstack 3.0.2.
>
> My question is does Cloudstack 3.0.2 support Ceph by SharedMountPoint?
>
> KVM Server: ubuntu 12.04
> Ceph version 0.56.4
> Using library: libvirt 0.10.2
> Using API: QEMU 0.10.2
>
>
> --
> Guangjian
>



-- 
Guangjian

Re: About Use Ceph by SharedMountPoint in Cloudstack

Posted by Guangjian Liu <gu...@gmail.com>.
Thanks Wido, I got your point, and I'll try RBD solution later.


On Mon, Apr 29, 2013 at 12:48 AM, Wido den Hollander <wi...@widodh.nl> wrote:

> Hi,
>
>
> On 04/28/2013 10:39 AM, Guangjian Liu wrote:
>
>> I have question about Use Ceph by Primary storage SharedMountPoint in
>> Cloudstack.
>>
>>
> The CephFS POSIX filesytem isn't production ready yet, so that's a reason
> for not doing this.
>
> Also, RBD is the recommend setup for running Virtual Machines from a Ceph
> cluster, it gives you snapshots and cloning (Coming in CloudStack 4.2) and
> much better performance than CephFS.
>
> I would never recommend running virtual machines from CephFS when you are
> also able to use RBD.
>
> Wido
>
>
>  I use Cloudstack 3.0.2 and CloudStack 4.0.1 for this validate, success
>> in  CloudStack 4.0.1, but fail in Cloudstack 3.0.2.
>>
>> My question is does Cloudstack 3.0.2 support Ceph by SharedMountPoint?
>>
>> KVM Server: ubuntu 12.04
>> Ceph version 0.56.4
>> Using library: libvirt 0.10.2
>> Using API: QEMU 0.10.2
>>
>>
>>


-- 
Guangjian

Re: About Use Ceph by SharedMountPoint in Cloudstack

Posted by Wido den Hollander <wi...@widodh.nl>.
Hi,

On 04/28/2013 10:39 AM, Guangjian Liu wrote:
> I have question about Use Ceph by Primary storage SharedMountPoint in
> Cloudstack.
>

The CephFS POSIX filesytem isn't production ready yet, so that's a 
reason for not doing this.

Also, RBD is the recommend setup for running Virtual Machines from a 
Ceph cluster, it gives you snapshots and cloning (Coming in CloudStack 
4.2) and much better performance than CephFS.

I would never recommend running virtual machines from CephFS when you 
are also able to use RBD.

Wido

> I use Cloudstack 3.0.2 and CloudStack 4.0.1 for this validate, success
> in  CloudStack 4.0.1, but fail in Cloudstack 3.0.2.
>
> My question is does Cloudstack 3.0.2 support Ceph by SharedMountPoint?
>
> KVM Server: ubuntu 12.04
> Ceph version 0.56.4
> Using library: libvirt 0.10.2
> Using API: QEMU 0.10.2
>
>