WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 824] Incorrect PTY returned when querying for console fo

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 824] Incorrect PTY returned when querying for console for running DomU in python wrappers
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 29 Nov 2006 03:09:19 -0800
Delivery-date: Wed, 29 Nov 2006 03:10:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bug-824-3@xxxxxxxxxxxxxxxxxxxxxxxxxxx/bugzilla/>
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=824





------- Comment #1 from ewan@xxxxxxxxxxxxx  2006-11-29 03:09 -------
One thing that's certainly wrong with your code is that you are using a
transaction, but not checking the return code of the transaction_end call. 
This function returns False if you need to repeat your transaction -- there are
no guarantees about the integrity of the returned data if you receive False
here and ignore it.

That said, I wouldn't expect the failure mode that you're seeing, so there's
probably a different underlying problem (though you should fix the transaction
handling first, to be sure).

If you put

export XENSTORED_TRACE=1

into root's .bashrc, and reboot, then xenstored will write a trace file, giving
every read and write on the store.  This would be very useful for debugging. 
Use xen-bugtool to attach that and the other logs to this bug, and I'll take a
look.


-- 
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