Re: Centos 7 qemu

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

 



Ah! Thats it! I built qemu with rbd but have not rbd kernel module.

I tried to build that on stock el7 kernel and got:

/root/rpmbuild/BUILD/ceph-3.10.24-dc9ac62/fs/ceph//inode.c: In function 'splice_dentry':
/root/rpmbuild/BUILD/ceph-3.10.24-dc9ac62/fs/ceph//inode.c:904:193: error: 'struct dentry' has no member named 'd_count'
   dout("dn %p (%d) spliced with %p (%d) "
                                                                                                                                                                                                 ^
/root/rpmbuild/BUILD/ceph-3.10.24-dc9ac62/fs/ceph//inode.c:904:218: error: 'struct dentry' has no member named 'd_count'
   dout("dn %p (%d) spliced with %p (%d) "
                                                                                                                                                                                                                          ^
/root/rpmbuild/BUILD/ceph-3.10.24-dc9ac62/fs/ceph//mds_client.c: In function 'ceph_mdsc_build_path':
/root/rpmbuild/BUILD/ceph-3.10.24-dc9ac62/fs/ceph//mds_client.c:1555:180: error: 'struct dentry' has no member named 'd_count'
  dout("build_path on %p %d built %llx '%.*s'\n",
                                                                                                                                                                                    ^
/root/rpmbuild/BUILD/ceph-3.10.24-dc9ac62/fs/ceph//mds_client.c: In function 'encode_caps_cb':
/root/rpmbuild/BUILD/ceph-3.10.24-dc9ac62/fs/ceph//mds_client.c:2484:3: error: implicit declaration of function 'lock_flocks' [-Werror=implicit-function-declaration]
   lock_flocks();
   ^
/root/rpmbuild/BUILD/ceph-3.10.24-dc9ac62/fs/ceph//mds_client.c:2486:3: error: implicit declaration of function 'unlock_flocks' [-Werror=implicit-function-declaration]
   unlock_flocks();
   ^
cc1: some warnings being treated as errors


><>
nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 | www.broadsoft.com

On Mon, Oct 6, 2014 at 8:22 AM, Ignazio Cassano <ignaziocassano@xxxxxxxxx> wrote:
Hi,
but what kernel version you are using ?
I think rbd kernel module is not in centos 7 kernel .
Have you buill it by sources ?


2014-10-06 14:08 GMT+02:00 Nathan Stratton <nathan@xxxxxxxxxxxx>:
SELinux is already disabled

[root@virt01a /]# setsebool -P virt_use_execmem 1
setsebool:  SELinux is disabled.



><>
nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 | www.broadsoft.com

On Mon, Oct 6, 2014 at 1:16 AM, Vladislav Gorbunov <vadikgo@xxxxxxxxx> wrote:
Try to disable selinux or run
setsebool -P virt_use_execmem 1


2014-10-06 8:38 GMT+12:00 Nathan Stratton <nathan@xxxxxxxxxxxx>:
I did the same thing, build the RPMs and now show rbd support, however when I try to start an image I get:

2014-10-05 19:48:08.058+0000: 4524: error : qemuProcessWaitForMonitor:1889 : internal error: process exited while connecting to monitor: Warning: option deprecated, use lost_tick_policy property of kvm-pit instead.
qemu-kvm: -drive file=rbd:volumes/volume-205e6cb4-15c1-4f8d-8bf4-aedcc1549968:id=volumes:key=AQCMrSlUSJvTLxAAO9U+3IZQSkLU8a3iWj7T5Q==:auth_supported=cephx\;none:mon_host=10.71.0.75\:6789\;10.71.0.76\:6789\;10.71.0.77\:6789\;10.71.0.78\:6789,if=none,id=drive-virtio-disk0,format=raw,serial=205e6cb4-15c1-4f8d-8bf4-aedcc1549968,cache=none: could not open disk image rbd:volumes/volume-205e6cb4-15c1-4f8d-8bf4-aedcc1549968:id=volumes:key=AQCMrSlUSJvTLxAAO9U+3IZQSkLU8a3iWj7T5Q==:auth_supported=cephx\;none:mon_host=10.71.0.75\:6789\;10.71.0.76\:6789\;10.71.0.77\:6789\;10.71.0.78\:6789: Driver 'rbd' is not whitelisted

I tried with an without auth.


><>
nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 | www.broadsoft.com

On Sun, Oct 5, 2014 at 3:51 PM, Henrik Korkuc <lists@xxxxxxxxx> wrote:
Hi,
Centos 7 qemu out of the box does not support rbd.

I had to build package with rbd support manually with "%define rhev 1" in qemu-kvm spec file. I also had to salvage some files from src.rpm file which were missing from centos git.


On 2014.10.04 11:31, Ignazio Cassano wrote:

Hi all,
I'd like to know if centos 7 qemu and libvirt suppirt rbd or if there are some extra packages.
Regards

Ignazio



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


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



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




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



_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux