Hello all,
I am getting a error, when creating a sheepdog pool via libvirt. libvirt is compiled as:
./configure --prefix=/opt/libvirt --without-xen --with-yajl
--with-storage-sheepdog=/opt/sheepdog
Sheepdog is functional, when creating manually a vdi via "qemu-img" and than
using as disk in libvirt.
The error looks like this:
internal error missing backend for pool type 9
The peace of log:
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollMakePollFDs:391 : Prepare n=2
w=3, f=11 e=1 d=0
2013-09-18 14:51:27.580+0000: 14524: debug : virStoragePoolCreateXML:13588 :
conn=0x7f1877937800, xmlDesc= <pool type="sheepdog">
<name>mysheeppool</name>
<source>
<name>mysheeppool</name>
<host name='localhost' port='7000'/>
</source>
</pool>
, flags=0
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollMakePollFDs:391 : Prepare n=3
w=4, f=12 e=1 d=0
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollMakePollFDs:391 : Prepare n=4
w=5, f=6 e=1 d=0
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollMakePollFDs:391 : Prepare n=5
w=6, f=14 e=1 d=0
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollMakePollFDs:391 : Prepare n=6
w=7, f=13 e=0 d=0
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollMakePollFDs:391 : Prepare n=7
w=8, f=13 e=1 d=0
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollMakePollFDs:391 : Prepare n=8
w=10, f=16 e=1 d=0
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollMakePollFDs:391 : Prepare n=9
w=12, f=17 e=1 d=0
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollCalculateTimeout:332 : Calculate
expiry of 2 timers
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollCalculateTimeout:340 : Got a
timeout scheduled for 1379515892580
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollCalculateTimeout:353 : Schedule
timeout then=1379515892580 now=1379515887580
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollCalculateTimeout:361 : Timeout at
1379515892580 due in 5000 ms
2013-09-18 14:51:27.580+0000: 14522: debug : virEventPollRunOnce:627 : EVENT_POLL_RUN:
nhandles=9 timeout=5000
2013-09-18 14:51:27.580+0000: 14524: debug : virFileClose:90 : Closed fd 18
2013-09-18 14:51:27.580+0000: 14524: debug : virObjectRef:293 : OBJECT_REF:
obj=0x7f1877925550
2013-09-18 14:51:27.580+0000: 14524: debug : virAccessManagerCheckStoragePool:321 :
manager=0x7f1877925550(name=stack) driver=QEMU pool=0x7f1864001340 perm=5
2013-09-18 14:51:27.580+0000: 14524: debug : virAccessManagerCheckStoragePool:321 :
manager=0x7f1877929180(name=none) driver=QEMU pool=0x7f1864001340 perm=5
2013-09-18 14:51:27.580+0000: 14524: debug : virAccessManagerCheckStoragePool:321 :
manager=0x7f1877925550(name=stack) driver=QEMU pool=0x7f1864001340 perm=2
2013-09-18 14:51:27.580+0000: 14524: debug : virAccessManagerCheckStoragePool:321 :
manager=0x7f1877929180(name=none) driver=QEMU pool=0x7f1864001340 perm=2
2013-09-18 14:51:27.580+0000: 14524: debug : virObjectUnref:256 : OBJECT_UNREF:
obj=0x7f1877925550
2013-09-18 14:51:27.580+0000: 14524: error : virStorageBackendForType:1114 : internal
error missing backend for pool type 9
The pool XML:
<pool type="sheepdog">
<name>mysheeppool</name>
<source>
<name>mysheeppool</name>
<host name='localhost' port='7000'/>
</source>
</pool>
Kind regards
Giovanni