[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 224] New: xenstored does not handle domain creation failure gracefully



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=224

           Summary: xenstored does not handle domain creation failure
                    gracefully
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: kip.macy@xxxxxxxxx


This is the first time I've tried to start FreeBSD on 3.0 in months - not
surprisingly it crashes. To my surprise, it took the tools with it.

[root@sr0 tools]# cd ../../xen-unstable.hg
[root@sr0 xen-unstable.hg]# xm create -f freebsd.example -c
name=xen-vm2.lab.netapp.com vmid=10
Using config file "freebsd.example".
Started domain xen-vm2.lab.netapp.com

Message from syslogd@sr0 at Sat Sep 10 16:40:49 2005 ...
sr0 xenstored: xenstored corruption: connection id -1: err Directory not empty:
Destroying directory /var/lib
/xenstored/transactions/0x805b424//vif/0.tmp
xenconsole: Could not read tty from store: Bad file descriptor
[root@sr0 xen-unstable.hg]# xm list
Unexpected error: xen.xend.XendProtocol.XendError

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 10, in ?
    main.main(sys.argv)
  File "/usr/lib/python/xen/xm/main.py", line 710, in main
    rc = cmd(args)
  File "/usr/lib/python/xen/xm/main.py", line 226, in xm_list
    doms = server.xend_domains()
  File "/usr/lib/python/xen/xend/XendClient.py", line 199, in xend_domains
    return self.xendGet(self.domainurl())
  File "/usr/lib/python/xen/xend/XendClient.py", line 152, in xendGet
    return self.client.xendGet(url, args)
  File "/usr/lib/python/xen/xend/XendProtocol.py", line 86, in xendGet
    return self.xendRequest(url, "GET", args)
  File "/usr/lib/python/xen/xend/XendProtocol.py", line 170, in xendRequest
    val = self.handleStatus(resp.version, resp.status, resp.reason)
  File "/usr/lib/python/xen/xend/XendProtocol.py", line 106, in handleStatus
    return self.handleException(XendError(message))
  File "/usr/lib/python/xen/xend/XendProtocol.py", line 132, in handleException
    raise err
xen.xend.XendProtocol.XendError: Internal server error
[root@sr0 xen-unstable.hg]# xm list
Name              Id  Mem(MB)  CPU VCPU(s)  State  Time(s)
Domain-0           0      507    0      1   r----    158.1
[root@sr0 xen-unstable.hg]# xm create -f freebsd.example -c
name=xen-vm2.lab.netapp.com vmid=10
Using config file "freebsd.example".
Segmentation fault
[root@sr0 xen-unstable.hg]# xm create -f freebsd.example -c
name=xen-vm2.lab.netapp.com vmid=10
Using config file "freebsd.example".
Error: Error creating domain: (32, 'Broken pipe')
[root@sr0 xen-unstable.hg]# xm create -f freebsd.example -c
name=xen-vm2.lab.netapp.com vmid=10
Using config file "freebsd.example".
Error: Error creating domain: (9, 'Bad file descriptor')

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.