Re: Create rbd primary storage fail in CS 4.0.1

2013-04-26 Thread Guangjian Liu
Hi Wido, RBD in CS 4.0.1 works now, It may cause by my environment. Environment: 1. Server A: CS 4.0.1 OS: RHEL 6.2 x86-64 2. Server B: Ceph 0.56.4 OS: RHEL 6.2 x86-64 3. Server C: KVM/Qemu OS: Ubuntu 12.04 What I did is upgrade Ceph to 0.56 in Server C (Ubuntu 12.04). Original version is 0.4x.

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-26 Thread Wido den Hollander
On 04/22/2013 03:57 AM, Guangjian Liu wrote: Wido, Please see information below How big is the Ceph cluster? (ceph -s). [root@RDR02S01 ~]# ceph -s health HEALTH_OK monmap e1: 1 mons at {a=10.0.0.41:6789/0}, election epoch 1, quorum 0 a osdmap e35: 2 osds: 2 up, 2 in pgmap v17

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-21 Thread Guangjian Liu
list other three pool information as below: root@ubuntu:~# virsh pool-info ac2949d9-16fb-4c54-a551-1cdbeb501f05 Name: ac2949d9-16fb-4c54-a551-1cdbeb501f05 UUID: ac2949d9-16fb-4c54-a551-1cdbeb501f05 State: running Persistent: yes Autostart: no Capacity: 81

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-21 Thread Guangjian Liu
Wido, Please see information below How big is the Ceph cluster? (ceph -s). [root@RDR02S01 ~]# ceph -s health HEALTH_OK monmap e1: 1 mons at {a=10.0.0.41:6789/0}, election epoch 1, quorum 0 a osdmap e35: 2 osds: 2 up, 2 in pgmap v17450: 714 pgs: 714 active+clean; 2522 MB data, 10213 M

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-19 Thread Wido den Hollander
Hi, On 04/19/2013 08:48 AM, Guangjian Liu wrote: Ceph file system can added as Primary storage by RBD, Thanks. Great! Now I meet the problem in creating VM to Ceph. First I create computer offer and storage offer with tag "ceph", and define Ceph Primary storage with tag "ceph". Then I crea

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-19 Thread Guangjian Liu
Ceph file system can added as Primary storage by RBD, Thanks. Now I meet the problem in creating VM to Ceph. First I create computer offer and storage offer with tag "ceph", and define Ceph Primary storage with tag "ceph". Then I create VM use "ceph" computer offer, It display exception in Log. I

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-17 Thread Wido den Hollander
Hi, On 04/17/2013 03:01 PM, Guangjian Liu wrote: I still meet the same result. In ubuntu 12.04, 1. I install libvirt-dev as below, apt-get install libvirt-dev 2. rebuild libvirt, see detail build log in attach. root@ubuntu:~/install/libvirt-0.10.2# ./autogen.sh running CONFIG_SHELL=/bin/bas

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-17 Thread Guangjian Liu
I still meet the same result. In ubuntu 12.04, 1. I install libvirt-dev as below, apt-get install libvirt-dev 2. rebuild libvirt, see detail build log in attach. root@ubuntu:~/install/libvirt-0.10.2# ./autogen.sh running CONFIG_SHELL=/bin/bash /bin/bash ./configure --enable-rbd --no-create --no

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-17 Thread Wido den Hollander
Hi, On 04/17/2013 11:37 AM, Guangjian Liu wrote: Thanks for your mail, you suggest compile libvirt with RBD enable. I already build libvirt-0.10.2.tar.gz as document http://ceph.com/docs/master/rbd/libvirt/ in my SERVER C(Ubuntu 12.04), Shall I build libvirt-0.10.2.tar.gz with RBD enable? use

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-17 Thread Guangjian Liu
Thanks for your mail, you suggest compile libvirt with RBD enable. I already build libvirt-0.10.2.tar.gz as document http://ceph.com/docs/master/rbd/libvirt/ in my SERVER C(Ubuntu 12.04), Shall I build libvirt-0.10.2.tar.gz with RBD enable? use ./configure --enable-rbd instead autogen.sh? cd lib

Re: Create rbd primary storage fail in CS 4.0.1

2013-04-17 Thread Wido den Hollander
Hi, On 04/17/2013 01:44 AM, Guangjian Liu wrote: Create rbd primary storage fail in CS 4.0.1 Anybody can help about it! Environment: 1. Server A: CS 4.0.1 OS: RHEL 6.2 x86-64 2. Server B: Ceph 0.56.4 OS: RHEL 6.2 x86-64 3. Server C: KVM/Qemu OS: Ubuntu 12.04 compile libvirt and Qemu as do