You need to make sure rbd is in your whitelist when you run ./configure as
well as having rbd enabled.

--block-drv-rw-whitelist=qcow2,raw,file,host_device,nbd,iscsi,gluster,rbd


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

On Sun, Oct 5, 2014 at 4:36 PM, Nathan Stratton <nat...@robotics.net> wrote:

> I am trying to get ceph working with openstack and libvirt, but running
> into an error "Driver 'rbd' is not whitelisted". Google is not providing
> much help so I thought I would try the list.
>
> The image is in the volume:
>
> [root@virt01a ~]# rbd list volumes
> volume-205e6cb4-15c1-4f8d-8bf4-aedcc1549968
>
> To rule out openstack I am using the XML file it was using:
>
> <domain type="kvm">
>   <uuid>c1a5aa5d-ec15-41d4-ad40-e9cc5fd8ddc4</uuid>
>   <name>instance-0000000a</name>
>   <memory>2097152</memory>
>   <vcpu>2</vcpu>
>   <sysinfo type="smbios">
>     <system>
>       <entry name="manufacturer">Fedora Project</entry>
>       <entry name="product">OpenStack Nova</entry>
>       <entry name="version">2014.1.2-1.el7.centos</entry>
>       <entry name="serial">00000000-0000-0000-0000-002590dab186</entry>
>       <entry name="uuid">c1a5aa5d-ec15-41d4-ad40-e9cc5fd8ddc4</entry>
>     </system>
>   </sysinfo>
>   <os>
>     <type>hvm</type>
>     <boot dev="hd"/>
>     <smbios mode="sysinfo"/>
>   </os>
>   <features>
>     <acpi/>
>     <apic/>
>   </features>
>   <clock offset="utc">
>     <timer name="pit" tickpolicy="delay"/>
>     <timer name="rtc" tickpolicy="catchup"/>
>     <timer name="hpet" present="no"/>
>   </clock>
>   <cpu mode="host-model" match="exact"/>
>   <devices>
>     <disk type="network" device="disk">
>       <driver name="qemu" type="raw" cache="none"/>
>       <source protocol="rbd"
> name="volumes/volume-205e6cb4-15c1-4f8d-8bf4-aedcc1549968">
>         <host name="10.71.0.75" port="6789"/>
>         <host name="10.71.0.76" port="6789"/>
>         <host name="10.71.0.77" port="6789"/>
>         <host name="10.71.0.78" port="6789"/>
>       </source>
>       <auth username="volumes">
>         <secret type="ceph" uuid="54aafbbc-ced8-4401-a096-3047994caa67"/>
>       </auth>
>       <target bus="virtio" dev="vda"/>
>       <serial>205e6cb4-15c1-4f8d-8bf4-aedcc1549968</serial>
>     </disk>
>     <interface type="bridge">
>       <mac address="fa:16:3e:3d:d5:01"/>
>       <model type="virtio"/>
>       <source bridge="private"/>
>       <filterref filter="nova-instance-instance-0000000a-fa163e3dd501"/>
>     </interface>
>     <serial type="pty"/>
>     <input type="tablet" bus="usb"/>
>     <graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/>
>     <video>
>       <model type="cirrus"/>
>     </video>
>   </devices>
> </domain>
>
> I turned out debug in libvirt, but it shows the same error line:
>
> 2014-10-05 20:14:28.348+0000: 5078: 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
>
>
> ><>
> nathan stratton | vp technology | broadsoft, inc | +1-240-404-6580 |
> www.broadsoft.com
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to