[libvirt-users] OSX: trying to use libvirt 1.1.0 with VirtualBox 4.2
by Brian Candler
I see that libvirt 1.1.0 should now support virtualbox 4.2, but I'm
having problems getting it to work in OSX.
I have built it using homebrew, which now has 1.1.0 in its formulae.
The error I get when tying to connect is shown below. Any suggestions
for where I should look next?
The error about "Failed to find user record for uid 'NNNNN'" is odd.
libvirtd *is* started automatically, and runs as my own userid (brian,
id 502). Each time libvirtd times out, and restarts again, it shows a
different uid in this error message.
Thanks,
Brian.
Brians-MacBook-Air:~ $ virsh -c vbox:///session list
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to find user record for uid '32691': Success
Brians-MacBook-Air:~ $ virsh -V
Virsh command line tool of libvirt 1.1.0
See web site at http://libvirt.org/
Compiled with support for:
Hypervisors: VMWare VirtualBox ESX Test
Networking: Remote
Storage: Dir SCSI
Miscellaneous: Daemon Secrets Debug Readline Modular
Brians-MacBook-Air:~ $ LIBVIRT_DEBUG=1 virsh -c vbox:///session list
2013-07-14 20:18:52.004+0000: 18446744073709551615: info : libvirt
version: 1.1.0
2013-07-14 20:18:52.004+0000: 18446744073709551615: debug :
virGlobalInit:436 : register drivers
2013-07-14 20:18:52.004+0000: 18446744073709551615: debug :
virRegisterDriver:762 : driver=0x10e39fa58 name=Test
2013-07-14 20:18:52.004+0000: 18446744073709551615: debug :
virRegisterDriver:774 : registering Test as driver 0
2013-07-14 20:18:52.004+0000: 18446744073709551615: debug :
virRegisterNetworkDriver:609 : registering Test as network driver 0
2013-07-14 20:18:52.004+0000: 18446744073709551615: debug :
virRegisterInterfaceDriver:636 : registering Test as interface driver 0
2013-07-14 20:18:52.004+0000: 18446744073709551615: debug :
virRegisterStorageDriver:663 : registering Test as storage driver 0
2013-07-14 20:18:52.004+0000: 18446744073709551615: debug :
virRegisterNodeDeviceDriver:690 : registering Test as device driver 0
2013-07-14 20:18:52.004+0000: 18446744073709551615: debug :
virRegisterSecretDriver:717 : registering Test as secret driver 0
2013-07-14 20:18:52.004+0000: 18446744073709551615: debug :
virRegisterNWFilterDriver:744 : registering Test as network filter driver 0
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterDriver:762 : driver=0x10e3a10e8 name=VMWARE
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterDriver:774 : registering VMWARE as driver 1
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterDriver:762 : driver=0x10e3a16e0 name=ESX
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterDriver:774 : registering ESX as driver 2
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterInterfaceDriver:636 : registering ESX as interface driver 1
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterNetworkDriver:609 : registering ESX as network driver 1
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterStorageDriver:663 : registering ESX as storage driver 1
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterNodeDeviceDriver:690 : registering ESX as device driver 1
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterSecretDriver:717 : registering ESX as secret driver 1
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterNWFilterDriver:744 : registering ESX as network filter driver 1
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterDriver:762 : driver=0x10e3a0420 name=remote
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterDriver:774 : registering remote as driver 3
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterNetworkDriver:609 : registering remote as network driver 2
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterInterfaceDriver:636 : registering remote as interface driver 2
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterStorageDriver:663 : registering remote as storage driver 2
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterNodeDeviceDriver:690 : registering remote as device driver 2
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterSecretDriver:717 : registering remote as secret driver 2
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virRegisterNWFilterDriver:744 : registering remote as network filter
driver 2
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventRegisterDefaultImpl:230 : registering default event implementation
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollAddHandle:111 : Used 0 handle slots, adding at least 10 more
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollInterruptLocked:712 : Skip interrupt, 0 0
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollAddHandle:136 : EVENT_POLL_ADD_HANDLE: watch=1 fd=4 events=1
cb=0x10e1b313f opaque=0x0 ff=0x0
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventRegisterImpl:203 : addHandle=0x10e1b1b1b
updateHandle=0x10e1b1df6 removeHandle=0x10e1b1f2d addTimeout=0x10e1b2064
updateTimeout=0x10e1b2212 removeTimeout=0x10e1b2385
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventRunDefaultImpl:270 : running default event implementation
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virConnectOpenAuth:1446 : name=vbox:///session, auth=0x10e39f940, flags=0
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virObjectNew:203 : OBJECT_NEW: obj=0x7fa630c45d60 classname=virConnect
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollCleanupHandles:564 : Cleanup 1
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virObjectNew:203 : OBJECT_NEW: obj=0x7fa630d00050
classname=virConnectCloseCallbackData
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-07-14 20:18:52.005+0000: 18446744073709551615: debug :
virEventPollRunOnce:629 : EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1158
: name "vbox:///session" to URI components:
scheme vbox
server (null)
user (null)
port 0
path /session
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1204
: trying driver 0 (Test) ...
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1211
: driver 0 Test returned DECLINED
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1204
: trying driver 1 (VMWARE) ...
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1211
: driver 1 VMWARE returned DECLINED
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1204
: trying driver 2 (ESX) ...
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1211
: driver 2 ESX returned DECLINED
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug : do_open:1204
: trying driver 3 (remote) ...
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug :
remoteConnectOpen:978 : Auto-spawn user daemon instance
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug :
doRemoteOpen:590 : proceeding with name = vbox:///session
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug :
doRemoteOpen:599 : Connecting with transport 1
2013-07-14 20:18:52.006+0000: 18446744073709551615: debug :
doRemoteOpen:688 : Proceeding with sockname
/Users/brian/.cache/libvirt/libvirt-sock
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virNetSocketNew:155 : localAddr=0x7fff6dd47340 remoteAddr=0x7fff6dd472b0
fd=6 errfd=-1 pid=0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectNew:203 : OBJECT_NEW: obj=0x7fa630c465d0 classname=virNetSocket
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virNetSocketNew:205 : RPC_SOCKET_NEW: sock=0x7fa630c465d0 fd=6 errfd=-1
pid=0 localAddr=127.0.0.1;0, remoteAddr=127.0.0.1;0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectNew:203 : OBJECT_NEW: obj=0x7fa630c46440 classname=virNetClient
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virNetClientNew:326 : RPC_CLIENT_NEW: client=0x7fa630c46440
sock=0x7fa630c465d0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectRef:297 : OBJECT_REF: obj=0x7fa630c46440
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectRef:297 : OBJECT_REF: obj=0x7fa630c465d0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollAddHandle:136 : EVENT_POLL_ADD_HANDLE: watch=2 fd=6 events=1
cb=0x10e28e43e opaque=0x7fa630c465d0 ff=0x10e28e489
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollRunOnce:640 : Poll got 1 event(s)
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virKeepAliveNew:196 : client=0x7fa630c46440, interval=-1, count=0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectNew:203 : OBJECT_NEW: obj=0x7fa630d004d0 classname=virKeepAlive
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virKeepAliveNew:215 : RPC_KEEPALIVE_NEW: ka=0x7fa630d004d0
client=0x7fa630c46440
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectRef:297 : OBJECT_REF: obj=0x7fa630c46440
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectRef:297 : OBJECT_REF: obj=0x7fa630d00050
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectNew:203 : OBJECT_NEW: obj=0x7fa630c467b0
classname=virNetClientProgram
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectNew:203 : OBJECT_NEW: obj=0x7fa630c46210
classname=virNetClientProgram
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventRunDefaultImpl:270 : running default event implementation
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectNew:203 : OBJECT_NEW: obj=0x7fa630c46240
classname=virNetClientProgram
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectRef:297 : OBJECT_REF: obj=0x7fa630c467b0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectRef:297 : OBJECT_REF: obj=0x7fa630c46210
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virObjectRef:297 : OBJECT_REF: obj=0x7fa630c46240
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
doRemoteOpen:805 : Trying authentication
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=1 d=0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virNetMessageNew:46 : msg=0x7fa630d00450 tracked=0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virNetMessageEncodePayload:383 : Encode length as 28
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virEventPollRunOnce:629 : EVENT_POLL_RUN: nhandles=2 timeout=-1
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virNetClientSendInternal:1959 : RPC_CLIENT_MSG_TX_QUEUE:
client=0x7fa630c46440 len=28 prog=536903814 vers=1 proc=66 type=0
status=0 serial=0
2013-07-14 20:18:52.007+0000: 18446744073709551615: debug :
virNetClientCallNew:1912 : New call 0x7fa630d00570: msg=0x7fa630d00450,
expectReply=1, nonBlock=0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virNetClientIO:1719 : Outgoing message prog=536903814 version=1 serial=0
proc=66 type=0 length=28 dispatch=0x0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virNetClientIO:1778 : We have the buck head=0x7fa630d00570
call=0x7fa630d00570
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2 events=0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollRunOnce:640 : Poll got 1 event(s)
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:470 : Dispatch 2
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventRunDefaultImpl:270 : running default event implementation
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=0 d=0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollRunOnce:629 : EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virNetMessageDecodeLength:153 : Got length, now need 192 total (188 more)
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virNetClientCallDispatch:1126 : RPC_CLIENT_MSG_RX: client=0x7fa630c46440
len=192 prog=536903814 vers=1 proc=66 type=1 status=1 serial=0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virKeepAliveCheckMessage:374 : ka=0x7fa630d004d0, client=0x7fa630c46440,
msg=0x7fa630c464c0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virNetMessageClear:57 : msg=0x7fa630c464c0 nfds=0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virNetClientIOEventLoopPassTheBuck:1425 : Giving up the buck 0x7fa630d00570
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virNetClientIOEventLoopPassTheBuck:1439 : No thread to pass the buck to
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2 events=1
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virNetClientIO:1808 : All done with our call head=0x0
call=0x7fa630d00570 rv=0
2013-07-14 20:18:52.008+0000: 18446744073709551615: debug :
virEventPollRunOnce:640 : Poll got 1 event(s)
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virNetMessageFree:74 : msg=0x7fa630d00450 nfds=0 cb=0x0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c467b0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c46210
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c46240
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virNetClientCloseInternal:686 : client=0x7fa630c46440 wantclose=0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virNetClientMarkClose:632 : client=0x7fa630c46440, reason=3
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollRemoveHandle:180 : EVENT_POLL_REMOVE_HANDLE: watch=2
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventRunDefaultImpl:270 : running default event implementation
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollRemoveHandle:193 : mark delete 1 6
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollInterruptLocked:712 : Skip interrupt, 0 4537835520
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virNetClientIOEventLoopPassTheBuck:1425 : Giving up the buck 0x0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virNetClientIOEventLoopPassTheBuck:1439 : No thread to pass the buck to
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virNetClientCloseLocked:645 : client=0x7fa630c46440,
sock=0x7fa630c465d0, reason=3
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c465d0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollCleanupHandles:577 : EVENT_POLL_PURGE_HANDLE: watch=2
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectRef:297 : OBJECT_REF: obj=0x7fa630c46440
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c46440
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virKeepAliveStop:307 : RPC_KEEPALIVE_STOP: ka=0x7fa630d004d0
client=0x7fa630c46440
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c465d0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630d004d0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:262 : OBJECT_DISPOSE: obj=0x7fa630c465d0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:262 : OBJECT_DISPOSE: obj=0x7fa630d004d0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virNetSocketDispose:1004 : RPC_SOCKET_DISPOSE: sock=0x7fa630c465d0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virKeepAliveDispose:227 : RPC_KEEPALIVE_DISPOSE: ka=0x7fa630d004d0
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virEventPollRemoveHandle:180 : EVENT_POLL_REMOVE_HANDLE: watch=2
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c46440
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c46440
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c46440
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virObjectUnref:262 : OBJECT_DISPOSE: obj=0x7fa630c46440
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virFileClose:90 : Closed fd 6
2013-07-14 20:18:52.009+0000: 18446744073709551615: debug :
virNetClientDispose:598 : RPC_CLIENT_DISPOSE: client=0x7fa630c46440
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630d00050
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c467b0
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:262 : OBJECT_DISPOSE: obj=0x7fa630c467b0
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollRunOnce:629 : EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c46210
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:262 : OBJECT_DISPOSE: obj=0x7fa630c46210
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c46240
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:262 : OBJECT_DISPOSE: obj=0x7fa630c46240
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virFileClose:90 : Closed fd 8
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virFileClose:90 : Closed fd 7
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virNetMessageClear:57 : msg=0x7fa630c464c0 nfds=0
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug : do_open:1211
: driver 3 remote returned ERROR
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630c45d60
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:262 : OBJECT_DISPOSE: obj=0x7fa630c45d60
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:260 : OBJECT_UNREF: obj=0x7fa630d00050
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virObjectUnref:262 : OBJECT_DISPOSE: obj=0x7fa630d00050
error: failed to connect to the hypervisor
error: no valid connection
error: Failed to find user record for uid '32691': Success
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollAddTimeout:225 : Used 0 timeout slots, adding at least 10 more
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollAddTimeout:248 : EVENT_POLL_ADD_TIMEOUT: timer=1 frequency=0
cb=0x10e14d03f opaque=0x0 ff=0x0
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollRunOnce:640 : Poll got 1 event(s)
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollDispatchTimeouts:425 : Dispatch 1
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollDispatchTimeouts:448 : EVENT_POLL_DISPATCH_TIMEOUT: timer=1
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollCleanupTimeouts:516 : Cleanup 1
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollCleanupHandles:564 : Cleanup 1
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollRemoveTimeout:300 : EVENT_POLL_REMOVE_TIMEOUT: timer=1
2013-07-14 20:18:52.010+0000: 18446744073709551615: debug :
virEventPollInterruptLocked:712 : Skip interrupt, 0 4537835520
Brians-MacBook-Air:~ $
Here's the output from the configure step (using brew install -v)
configure:
configure: Configuration summary
configure: =====================
configure:
configure: Drivers
configure:
configure: Xen: no
configure: QEMU: no
configure: UML: no
configure: OpenVZ: no
configure: VMware: yes
configure: VBox: yes
configure: XenAPI: no
configure: xenlight: no
configure: LXC: no
configure: PHYP: no
configure: ESX: yes
configure: Hyper-V: no
configure: Parallels: no
configure: Test: yes
configure: Remote: yes
configure: Network: no
configure: Libvirtd: yes
configure: Interface: no
configure: macvtap: no
configure: virtport: no
configure:
configure: Storage Drivers
configure:
configure: Dir: yes
configure: FS: no
configure: NetFS: no
configure: LVM: no
configure: iSCSI: no
configure: SCSI: yes
configure: mpath: no
configure: Disk: no
configure: RBD: no
configure: Sheepdog: no
configure:
configure: Security Drivers
configure:
configure: SELinux: no ()
configure: AppArmor: no
configure:
configure: Driver Loadable Modules
configure:
configure: dlopen:
configure:
configure: Libraries
configure:
configure: apparmor: no
configure: attr: no
configure: audit: no
configure: avahi: no
configure: blkid: no
configure: capng: no
configure: curl: yes (CFLAGS='-DCURL_DISABLE_TYPECHECK '
LIBS='-lcurl ')
configure: dbus: no
configure: fuse: no
configure: hal: no
configure: netcf: no
configure: numactl: no
configure: openwsman: no
configure: pciaccess: no
configure: sanlock: no
configure: sasl: yes (CFLAGS='' LIBS='-lsasl2')
configure: selinux: no
configure: ssh2: no
configure: udev: no
configure: yajl: yes (CFLAGS='' LIBS='-lyajl')
configure: libxml: -I/usr/include/libxml2 -lxml2
configure: dlopen:
configure: openwsman: no
configure: gnutls: -I/usr/local/Cellar/libtasn1/3.3/include
-I/usr/local/Cellar/p11-kit/0.18.1/include/p11-kit-1
-I/usr/local/Cellar/gnutls/3.1.10/include -DGCRYPT_NO_DEPRECATED
-L/usr/local/Cellar/gnutls/3.1.10/lib -lgnutls -lgcrypt
configure: firewalld: no
configure: polkit: no
configure: xen: no
configure: xenapi: no
configure: xenlight: no
configure: pcap: no
configure: nl: no
configure: mscom: no
configure: xdr:
configure: rbd: no
configure:
configure: Test suite
configure:
configure: Coverage: no
configure: Alloc OOM: no
configure:
configure: Miscellaneous
configure:
configure: Debug: yes
configure: Use -Werror: no
configure: Warning Flags: -W -Waddress -Wall -Warray-bounds
-Wattributes -Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-align
-Wchar-subscripts -Wcomment -Wcomments -Wdeprecated-declarations
-Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels
-Wextra -Wformat-extra-args -Wformat-security -Wformat-y2k
-Wformat-zero-length -Wformat=2 -Wignored-qualifiers -Wimplicit
-Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline
-Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces
-Wmissing-declarations -Wmissing-field-initializers
-Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn
-Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull
-Wold-style-definition -Woverflow -Wparentheses -Wpointer-arith
-Wpointer-sign -Wpointer-to-int-cast -Wreturn-type -Wsequence-point
-Wshadow -Wsizeof-pointer-memaccess -Wstrict-aliasing
-Wstrict-prototypes -Wswitch -Wtrigraphs -Wtype-limits -Wuninitialized
-Wunknown-pragmas -Wunused -Wunused-function -Wunused-label
-Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable
-Wvariadic-macros -Wvolatile-register-var -Wwrite-strings
-Wno-missing-field-initializers -Wno-sign-compare -Wno-format-nonliteral
-Wframe-larger-than=4096 -fexceptions -fasynchronous-unwind-tables
-fdiagnostics-show-option -funit-at-a-time
configure: Readline: yes
configure: Python: yes
configure: DTrace: no
configure: numad: no
configure: XML Catalog: /etc/xml/catalog
configure: Init script: none
configure: Char device locks: no
configure:
configure: Privileges
configure:
configure: QEMU: root:root
configure:
If I run libvirtd by itself manually with the -v flag, this is all I get:
Brians-MacBook-Air:~ $ /usr/local/Cellar/libvirt/1.1.0/sbin/libvirtd -v
2013-07-14 20:26:14.853+0000: 18446744073709551615: info : libvirt
version: 1.1.0
2013-07-14 20:26:14.853+0000: 18446744073709551615: error :
virGetUserEnt:696 : Failed to find user record for uid '32704': Success
All entries in /usr/local/etc/libvirt/libvirtd.conf are commented out.
11 years, 2 months
[libvirt-users] ★ Libvirt Users, Rene Bon Ciric te ha dejado un mensaje
by Badoo
Rene Bon Ciric te ha dejado un mensaje
Este mensaje es personal. Sólo tú y su remitente tenéis acceso a él y te recordamos que lo puedes eliminar en cualquier momento. Si quieres responder puedes hacerlo desde el chat. Para leer tu mensaje, haz clic en el siguiente enlace:
http://us1.badoo.com/renich/in/l-47pIIAagA/?lang_id=7&g=57&m=21&mid=51e14...
Otras personas de tu zona están en Badoo
Marioo (Guadalajara, México)
Angela (Guadalajara, México)
http://us1.badoo.com/renich/in/l-47pIIAagA/?lang_id=7&g=57&m=21&mid=51e14...
Si al hacer clic en el enlace de este mensaje no funciona, copia y pégalo en la barra de tu navegador.
Este email es parte del proceso de entrega del mensaje enviado por Rene Bon Ciric. Si has recibido este email por error, por favor ignóralo. En un breve periodo de tiempo será eliminado del sistema.
¡Divértete!
El Equipo de Badoo
Has recibido este email de Badoo Trading Limited (dirección postal a continuación).
Si no desea recibir futuras comunicaciones por parte de Badoo, haz clic aquí para desactivarlas:
https://us1.badoo.com/impersonation.phtml?lang_id=7&email=libvirt-users%4...
Badoo Trading Limited es una sociedad de responsabilidad limitada registrada en Inglaterra y Gales con número 7540255 y domicilio en Media Village, 131 - 151 Great Titchfield Street, Londres, W1W 5BB.
11 years, 2 months
[libvirt-users] Permission problem with /dev/net/tun
by Thomas Karcher
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi lxc folks,
the symptom my libvirt LXC container suffers from is:
root@depot:/dev/net# ls -la
total 0
drwxr-xr-x 2 root root 40 Jun 29 16:26 .
drwxr-xr-x 5 root root 480 Jun 29 16:26 ..
root@depot:/dev/net# mknod tun c 10 200
mknod: `tun': Operation not permitted
The host is an up-to-date AMD64 Ubuntu raring on 3.8.0-25-generic that
was formerly installed from precise and then upgraded. The guest is
Ubuntu precise; however, I see the same symptom in another raring
container on the same host.
What I tried to resolve this:
1) On the host, I echoed various stuff to the cgroup device files:
cd /sys/fs/cgroup/devices/libvirt/lxc
echo "c 10:200 rwm" > devices.allow
echo "c 10:200 rwm" > depot/devices.allow
echo a > depot/devices.allow
... and I see the successful results in depot/devices.list, but no
success.
2) I inserted a line "/dev/net/tun rwk," into
/etc/apparmor.d/abstractions/lxc/container-base - no change. (I know,
it seems kind of pointless - because it's about permissions to a
device, not a path. You may deduce my desperation from this ...
SELinux is not active. Mounts on /dev look normal to me:
devfs on /dev type tmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
devpts on /dev/ptmx type devpts
(rw,nosuid,relatime,gid=5,mode=620,ptmxmode=666)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)
Now comes the weird part: Once I umount /dev inside the container, the
"hidden" /dev appears which contains a usable /dev/net/tun. So the
mknod problem is probably due to the dropped capabilities - but
why/how mounts the container a more restricted /dev on top of the
prepared one ...?
Thanks & regards
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlHYdysACgkQiMyIQtYO79yUMQCfUrbaAWcZsqYkopRL6F2evWdq
XnMAoOq6/wopgBGZniWDGnIiYBEsFX61
=BIr9
-----END PGP SIGNATURE-----
11 years, 2 months
[libvirt-users] guests not shutting down when host shuts down
by Lentes, Bernd
Hi,
i have a SLES 11 SP2 64bit host with three guests:
- Windows XP 32
- Ubuntu 12.04 LTS 64bit
- SLES 11 SP2 64bit
The SLES guest shuts down with the host shutdown. The others not. When i shutdown these two guests with the virt-manager, they shutdown fine.
ACPI is activated in virt-manager for both of them. Acpid is running in the Ubuntu Client.
When the host shuts down, the two guests get a signal (excerpt from the log of the host:)
===========================================================
2013-07-07 16:39:51.674: starting up
LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/ QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -S -M pc-0.15 -enable-kvm -m 1025 -smp 1,sockets=1,cores=1,threads=1 -name greensql_2 -uuid 2cfbac9c-dbb2-c4bf-4aba-2d18dc49d18e -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/greensql_2.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -drive file=/var/lib/kvm/images/greensql_2/disk0.raw,if=none,id=drive-ide0-0-0,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=17,id=hostnet0,vhost=on,vhostfd=20 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:37:92:a9,bus=pci.0,addr=0x3 -usb -vnc 127.0.0.1:2 -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x4
Domain id=3 is tainted: high-privileges
qemu: terminating on signal 15 from pid 24958
2013-07-08 13:58:29.651: starting up
==========================================================
I'm a bit astonished about "no-shutdown" in the commandline, but the sles guest also has it in its commandline, so it should not bother.
I'm using kvm-0.15.1-0.23.1, libvirt-client-0.9.6-0.23.1, libvirt-0.9.6-0.23.1 and virt-manager-0.9.0-3.19.1 in the host.
Thanks for any help.
Bernd
--
Bernd Lentes
Systemadministration
Institut für Entwicklungsgenetik
Gebäude 35.34 - Raum 208
HelmholtzZentrum münchen
bernd.lentes(a)helmholtz-muenchen.de
phone: +49 89 3187 1241
fax: +49 89 3187 2294
http://www.helmholtz-muenchen.de/idg
Wer nichts verdient außer Geld verdient nichts außer Geld
Helmholtz Zentrum München
Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
Ingolstädter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
Geschäftsführer: Prof. Dr. Günther Wess Dr. Nikolaus Blum Dr. Alfons Enhsen
Registergericht: Amtsgericht München HRB 6466
USt-IdNr: DE 129521671
11 years, 2 months
[libvirt-users] Connect issue - libvirt.dylib
by Utpal Das
Hi All,
I am trying to use libvirt to connect to hypervisor. I need some help with
this.
1. I am using mac os - Mountain Lion.
2. I have installed libvirt using macports.
3. I am able to connect to the vcenter server using virsh tool.
4. However i am not able to connect using libvirt java program. The issue
it seems that virt library cannot be found. (Sample output attached).
The question is how do i get libvirt.dylib on my mac. Any pointers would be
really helpful
Re,
Utpal
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load
library 'virt': Native library (darwin/libvirt.dylib) not found in resource
path
11 years, 2 months
Re: [libvirt-users] Libvirt and Glusterfs
by Vijay Bellur
> Hi,
>
> I'm trying to use qemu native glusterfs integration with libvirt. It's
> all working well from the qemu side, but libvirt fails to start a domain
> with a gluster drive or attach a drive.
> I have exactly the same error as this person:
> https://www.redhat.com/archives/libvirt-users/2013-April/msg00204.html
>
> I use qemu 1.5.1 with glusterfs 3.4 beta 4 and libvirt 1.0.6.
>
> [root bbox ~]# virsh start test
> error: Failed to start domain test
> error: internal error process exited while connecting to monitor: char
> device redirected to /dev/pts/3 (label charserial0)
> qemu-system-x86_64: -drive
> file=gluster://127.0.0.1/vol0/test0.img,if=none,id=drive-virtio-disk1,format=raw:
> Gluster connection failed for server=127.0.0.1 port=0 volume=vol0
> image=test0.img transport=tcp
> qemu-system-x86_64: -drive
> file=gluster://127.0.0.1/vol0/test0.img,if=none,id=drive-virtio-disk1,format=raw:
> could not open disk image gluster://127.0.0.1/vol0/test0.img: No data
> available
>
Do you observe errors in the logs from gluster bricks that make up vol0?
Brick logs are available at /var/log/glusterfs/bricks.
Thanks,
Vijay
11 years, 2 months
[libvirt-users] python equiv to perl list_domains()
by Brett Y
Hey,
I'm trying to figure out a way to get a list of the running domains on a
dom0. I can get the ID's but I'd prefer the names. We have another script
written in perl, but I'm trying to get some other functionality in python
as well as work on converting it all to python. It looks like perl has a
list_domains() that will, according to the libvirt doc, "Return a list of
all running domains currently known to the VMM". And this works for us, but
I can't get the same thing in python as listAllDomains doesn't work with
the version of libvirt running on RHEL 5.9
>From our machine that will be running the script
RHEL 5.9
yum list | grep libvirt
libvirt.x86_64 0.8.2-29.el5_9.1
libvirt-python.x86_64 0.8.2-29.el5_9.1
from the dom0
RHEL 5.9
yum list | grep xen
xen.x86_64 3.0.3-142.el5_9.2
xen-libs.i386 3.0.3-142.el5_9.2
xen-libs.x86_64 3.0.3-142.el5_9.2
yum list | grep libvirt
libvirt.i386 0.8.2-29.el5_9.1 installed
libvirt.x86_64 0.8.2-29.el5_9.1 installed
This is the error if I try to do listAllDomains from a FC18 box
>>> conn.listAllDomains(1)
libvir: Remote Driver error : unknown procedure: 273
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3695, in
listAllDomains
raise libvirtError("virConnectListAllDomains() failed", conn=self)
libvirt.libvirtError: unknown procedure: 273
11 years, 2 months
[libvirt-users] Unable to allocate multiple vcpus using virt-install
by Peeyush Gupta
I am trying to run a VM on Ubuntu 12.04 which in turn is guest on Fedora 18 host. I am using qemu, kvm and libvirt. I tried to run the following command:
virt-install --name dsl --ram 1024 --vcpus 2 --cdrom /home/peeyush/Downloads/some_iso_file.iso --disk path=/path_to_disk
My machine here runs with only one vcpu. While when I tried the exact same thing on my Fedora 18 host, it shows two cpus. What am I doing wrong?
Thanks.
~Peeyush Gupta
11 years, 2 months
[libvirt-users] Xen + libvirt: VM name 'Domain-Unnamed' already exists
by Postmaster - Aton Tech
I had to restart a paravirt guest and could not start over again.
It's a xenstore crash?
Compiled against library: libvirt 1.0.3
Using library: libvirt 1.0.3
Usando a API: Xen 1.0.3
Hypervisor em execução: Xen 4.2.0
CentOS 6 - x64
Linux eagle 3.9.8-1.el6xen.x86_64 #1 SMP Sat Jun 29 16:23:39 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
I've got this error:
...
[07.08.2013 08:21:45 3322] INFO (XendDomainInfo: 169) Recreating domain 13, UUID 0a1ddba3-c1d7-5675-9e5d-1b79d02b5ea2. at / local/domain/13
[07.08.2013 08:21:45 3322] WARNING (XendDomainInfo: 191) / vm/0a1ddba3-c1d7-5675-9e5d-1b79d02b5ea2/uuid / is missing. recreate is confused, trying our best to recover
[07.08.2013 08:21:45 3322] ERROR (XendDomain: 447) Unable to recreate domain
Traceback (most recent call last):
File "/ usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py", line 445, in _refreshTxn
new_dom XendDomainInfo.recreate = (dom, False)
File "/ usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 204, in recreate
vmpath = vmpath)
File "/ usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 455, in __ init__
self._checkName (self.info ['name_label'])
File "/ usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 3524, in _checkName
("The domain% s"% str (dom.domid)) or ""))
VmError: VM name 'Domain-Unnamed' already exists
...
11 years, 2 months
[libvirt-users] deadlock on connection loosing
by Александр
libvirtd will lock if for example kill programm which established connection,
only sigkill + restart helps., to reproduce:
virConnectPtr libvirt_connection = virConnectOpen("qemu:///system");
if(libvirt_connection == NULL)
{
std::cout<<"failed to connect to qemu:///system\n";
exit(-1);
}
exit(0);
11 years, 2 months