Unfortunately, no one has been maintaining the virtualbox support to my knowledge for a while now..
From: Petar Forai <[email protected]> To: xCAT Users Mailing list <[email protected]>, Date: 11/07/2011 01:24 PM Subject: [xcat-user] xCAT 2.6.x and VirtualBox 4.1.x woes Dear List, What is the status of the xCAT support for having machines inside of VB? After reading the docs I was able to get a small demo setup running, though the vbox SOAP API seems to have changed too much for xCAT's vbox plugins. I've encountered A quick note of my setup: The machine `master` is running the xcatd and machines node{01,02,03} are setup through the vm table and I generally followed the VirtualBox step-by-step guide. When trying to run rpower this is the output I get: master:~ # rpower vbox status Error: node01: VM node01 not known by the web service @ http://192.168.56.1:18083/. Error: node02: VM node02 not known by the web service @ http://192.168.56.1:18083/. Error: node03: VM node03 not known by the web service @ http://192.168.56.1:18083/. master:~ # Any idea of that should even work?! Thanks, P -- Setup and log(s) output: tabdump of vm table #node,host,migrationdest,storage,storagemodel,cfgstore,memory,cpus,nics,nicmodel,bootorder,clockoffset,virtflags,master,vncport,textconsole,powerstate,beacon,datacenter,guestostype,othersettings,vidmodel,vidproto,comments,disable "node01","vboxwebsrv",,,,,,,,,,,,,,,,,,,,,,"vmname:node01!", "node02","vboxwebsrv",,,,,,,,,,,,,,,,,,,,,,"vmname:node02!", "node03","vboxwebsrv",,,,,,,,,,,,,,,,,,,,,,"vmname:node03!", vboxwebsrv is defined as: master:~ # tabdump hosts #node,ip,hostnames,otherinterfaces,comments,disable "vboxwebsrv","192.168.56.1",,,, tabdump of nodehm master:~ # tabdump nodehm #node,power,mgt,cons,termserver,termport,conserver,serialport,serialspeed,serialflow,getmac,comments,disable "vbox","vbox","vbox",,,,,,,,,, node lsdefs: master:~ # lsdef node01 Object name: node01 groups=all,vbox mgt=vbox postbootscripts=otherpkgs postscripts=syslog,remoteshell,syncfiles power=vbox vmhost=vboxwebsrv master:~ # lsdef node02 Object name: node02 groups=all,vbox mgt=vbox postbootscripts=otherpkgs postscripts=syslog,remoteshell,syncfiles power=vbox vmhost=vboxwebsrv master:~ # lsdef node03 Object name: node03 groups=all,vbox mgt=vbox postbootscripts=otherpkgs postscripts=syslog,remoteshell,syncfiles power=vbox vmhost=vboxwebsrv master:~ # On VirtualBox these VMs are defined: vboxshell: vbox> list Machine 'node02' [612d342d-b28d-4e7c-a97c-3b87eebd8829], machineState=PoweredOff, sessionState=Unlocked Machine 'node03' [7ada750a-2d83-462c-a914-8ae1596cfa05], machineState=PoweredOff, sessionState=Unlocked Machine 'node01' [27acf94e-5857-4424-92b6-61c67b3e2d67], machineState=PoweredOff, sessionState=Unlocked Machine 'master' [7f1b2a6f-3a6c-49fa-b51e-965d201369d6], machineState=PoweredOff, sessionState=Unlocked vbox> the vboxwebsrv services shows the attempted communication from the master node and this is the Wireshark output from the communication. Note that authentication has been disabled by setting the vboxwebsrvauthlib to 'null'. from xcat to vboxwebsrv: POST / HTTP/1.1 TE: deflate,gzip;q=0.3 Connection: TE, close Accept: text/xml Accept: multipart/* Accept: application/soap Host: 192.168.56.1:18083 User-Agent: SOAP::Lite/Perl/0.710.08 Content-Length: 595 Content-Type: text/xml; charset=utf-8 SOAPAction: "" <?xml version="1.0" encoding="UTF-8"?><soap:Envelope soap:encodingStyle=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:interface="urn:vbox" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:vbox=" http://www.virtualbox.org/ "><soap:Body><vbox:IWebsessionManager_logon><username xsi:nil="true" xsi:type="xsd:string" /><password xsi:nil="true" xsi:type="xsd:string" /> </vbox:IWebsessionManager_logon></soap:Body></soap:Envelope> reply: HTTP/1.1 200 OK Server: gSOAP/2.7 Content-Type: text/xml; charset=utf-8 Content-Length: 501 Connection: keep-alive <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:vbox="http://www.virtualbox.org/ "><SOAP-ENV:Body><vbox:IWebsessionManager_logonResponse><returnval>f5a944e58b4b8a15-000000000000000a</returnval></vbox:IWebsessionManager_logonResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> vboxwebsrv log file: 00:02:31.185 SQPmp Request 13 on socket 8 queued for processing (1 items on Q) 00:02:31.185 SQW01 Processing connection from IP=192.168.56.100 socket=8 (0 out of 1 threads idle) 00:02:31.313 SQW01 -- entering __vbox__IWebsessionManager_USCORElogon 00:02:31.314 main Pumping COM event queue 00:02:31.316 SQW01 * ManagedObjectRef: MOR created for ISession*=0x10132C8 (IUnknown*=0x10132C8; COM refcount now 3/4), new ID is 9; now 1 objects total 00:02:31.316 SQW01 * authenticate: created session object with comptr 0x10132C8, MOR = f5a944e58b4b8a15-0000000000000009 00:02:31.316 SQW01 * ManagedObjectRef: MOR created for IVirtualBox*=0x1011120 (IUnknown*=0x1402470; COM refcount now 3/4), new ID is A; now 2 objects total 00:02:31.316 SQW01 VirtualBox object ref is f5a944e58b4b8a15-000000000000000a 00:02:31.317 SQW01 -- leaving __vbox__IWebsessionManager_USCORElogon, rc: 0x0 00:02:31.338 SQPmp Request 14 on socket 8 queued for processing (1 items on Q) 00:02:31.338 SQW01 Processing connection from IP=192.168.56.100 socket=8 (0 out of 1 threads idle) 00:02:31.340 SQW01 -- entering __vbox__IVirtualBox_USCOREfindMachine 00:02:31.340 SQW01 findRefFromId(): looking up objref f5a944e58b4b8a15-000000000000000a 00:02:31.340 SQW01 findComPtrFromId(): returning original IVirtualBox*=0x1011120 (IUnknown*=0x1402470) 00:02:31.340 SQW01 calling COM method FindMachine 00:02:31.342 main Pumping COM event queue 00:02:31.342 main Pumping COM event queue 00:02:31.343 main Pumping COM event queue 00:02:31.344 main Pumping COM event queue 00:02:31.344 main Pumping COM event queue 00:02:31.345 main Pumping COM event queue 00:02:31.345 main Pumping COM event queue 00:02:31.346 SQW01 error, raising SOAP exception API return code: 0x80070057 (NS_ERROR_INVALID_ARG) COM error info result code: 0x80070057 COM error info text: Argument aNameOrId is empty or NULL 00:02:31.346 SQW01 -- leaving __vbox__IVirtualBox_USCOREfindMachine, rc: 0x80070057 (-2147024809) ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
