Re: Ceph libvirt and xen.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ahh. Now that is a fish of a different colour.

I was trying vol-upload and vol-download and your explanation makes it clear why they would not work. I wonder if sticking an rdb-fuse mount under libvirt to allow copy in and out functions to work would make sense.

I will back up and try to see if my problems have gone away on the openstack side.

I also noticed that virt-manager would not display the rbd pool while the ceph documents on the web clearly were using virt-manager to check that the config was correct.

Oh well.


On 11/26/2013 04:14 PM, Wido den Hollander wrote:
On 11/26/2013 09:45 PM, Alvin Starr wrote:

I have not gotten so far as to get things working with xenserver but I
have followed the installtion instructions from the technology perview
and installed using that repo.

I have a ceph pool defined.
I can create and destroy volumes
but I cannot read or write them.

I get the following error in libvirt log.

2013-11-26 20:32:49.077+0000: 2770: error :
virFDStreamOpenFileInternal:592 : Unable to open stream for
'volumes/volume-f066424b-1163-4e79-9f11-c5a12919d986': No such file or
directory


Which command did you use? Since this is a problem in libvirt which I already encountered a long time ago.

libvirt still assumes all volumes are regular files or block devices and it simply does a fopen() and that obviously fails.

This should be handled by the backing storage pool, but that's not how libvirt currently works.

See my message on the libvirt ml from 2012: http://www.redhat.com/archives/libvir-list/2012-February/msg00503.html

Wido

[root@vserver003 ~]# virsh pool-list
Name                 State      Autostart
-----------------------------------------
volumes              active     yes


[root@vserver003 ~]# virsh vol-list volumes
Name                 Path
-----------------------------------------
1e6d518b-9c51-4c60-bd5d-4e376900ffa4
volumes/1e6d518b-9c51-4c60-bd5d-4e376900ffa4
e627a0aa-4b49-45ea-9f38-1a8bf9350618
volumes/e627a0aa-4b49-45ea-9f38-1a8bf9350618
f3726f24-d313-4cb0-be52-fd04cd077f08
volumes/f3726f24-d313-4cb0-be52-fd04cd077f08
fc8dde5e-67e9-4a5a-9d7f-f6ea233bfd02
volumes/fc8dde5e-67e9-4a5a-9d7f-f6ea233bfd02
volume-f066424b-1163-4e79-9f11-c5a12919d986
volumes/volume-f066424b-1163-4e79-9f11-c5a12919d986

Does anybody have any ideas?






--
Alvin Starr                   ||   voice: (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin@xxxxxxxxxx              ||

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux