I'm running the latest bk source, and am having trouble starting domains. Domain0 boots okay though.
with xend putting output to stdout, starting a domain gives me this:
xen1:~# xm create -f /etc/xc/sbssgw1 -Dvmid=1 SET kernel /boot/vmlinuz-2.4.26-xenU SET name sbssgw1 vm 1 SET extra 4 VMID=1 SET hostname vm1 SET vmid 1 SET memory 128 SET disk ['phy:sda7,sda7,w'] SET root /dev/sda7 ro SET cpu 1 disk phy:sda7,sda7,w ['phy:sda7', 'sda7', 'w'] config: (config (name 'sbssgw1 vm 1') (memory '128') (cpu '1') (image (linux (kernel /boot/vmlinuz-2.4.26-xenU) (ip ::::vm1:eth0:off) (root '/dev/sda7 ro') (args '4 VMID=1 '))) (device (vbd (uname phy:sda7) (dev sda7) (mode w))) (device (vif (@ (id vif0))))) vm_create> xup_connect> dom=3 17:1 xup_connect> tx: (nil) (nil) : (nil) (nil) xup_connect> rx: (nil) (nil) : (nil) (nil) xup_connect< err=0 EVENT> xend.console.create [17, 3, 9603] VIRTUAL MEMORY ARRANGEMENT: Loaded kernel: c0000000->c02d6b08 Init. ramdisk: c02d7000->c02d7000 Phys-Mach map: c02d7000->c02f7000 Page tables: c02f7000->c02f9000 Start info: c02f9000->c02fa000 Boot stack: c02fa000->c02fb000 TOTAL: c0000000->c0400000 ENTRY ADDRESS: c0000000 vm_create< >vm_create_devices blkif_dev_create> 3 2055 w {'device': 2048, 'type': '83', 'start_sector': 80325063L, 'nr_sectors': 5879727L} <vm_create_devices _vm_configure1> made devices... _vm_configure1< vm_dev_vif> created ['vif', ['@', ['id', 'vif0']], 'vif', 0] _vm_configure1> cbok [(1, 0), (1, 0)] >callback _vm_configure2... _vm_configure2> cbok [] <_vm_configure2 vm_create> cbok domain id=3 name=sbssgw1 vm 1 memory=128 console=17 image=/boot/vmlinuz-2.4.26-xenU EVENT> xend.domain.created 3 EVENT> xend.domain.start 3 Started domain 3, console on port 9603 xen1:~# responseReceived> No handler: Message type blkif_fe_interface_status_changed_t 2:0 <xenmgr.server.blkif.BlkifController instance at 0x4075346c> responseReceived> No handler: Message type blkif_fe_interface_status_changed_t 2:0 <xenmgr.server.blkif.BlkifController instance at 0x4075346c>
'xm ls' gives me this:
xen1:~# xm ls Dom Name Mem(MB) CPU State Time(s) 0 Domain-0 119 0 r- 29.66 3 sbssgw1 vm 1 128 1 -s 6.21 which shows that the domain is stopped
If I try and telnet to the console, I get nothing in the telnet session, but xend shows:
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in callWithLogger callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 32, in callWithContext return func(*args,**kw) File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 160, in _doReadOrWrite why = selectable.doRead() --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 635, in doRead protocol.makeConnection(transport) File "/usr/lib/python2.3/site-packages/twisted/internet/protocol.py", line 310, in makeConnection self.connectionMade() File "/usr/lib/python2.3/site-packages/xenmgr/server/console.py", line 32, in connectionMade self.addr = (peer.host, peer.port) exceptions.AttributeError: 'tuple' object has no attribute 'host'
and finally, closing the telnet sessions gives me:
Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/xenmgr/server/SrvConsoleServer.py", line 533, in run reactor.run() File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 125, in run self.mainLoop() File "/usr/lib/python2.3/site-packages/twisted/internet/default.py", line 136, in mainLoop self.doIteration(t) File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 145, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event, POLLIN, POLLOUT, log) --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 65, in callWithLogger callWithContext({"system": lp}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/log.py", line 52, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/lib/python2.3/site-packages/twisted/python/context.py", line 32, in callWithContext return func(*args,**kw) File "/usr/lib/python2.3/site-packages/twisted/internet/pollreactor.py", line 173, in _doReadOrWrite selectable.connectionLost(f) File "/usr/lib/python2.3/site-packages/twisted/internet/tcp.py", line 289, in connectionLost protocol.connectionLost(reason) File "/usr/lib/python2.3/site-packages/xenmgr/server/console.py", line 61, in connectionLost [self.idx, self.addr[0], self.addr[1]]) exceptions.TypeError: unsubscriptable object
Any suggestions?
thanks
James
|