xend "invalid token" error

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

xend "invalid token" error

Jon Mason
I am geting the following error when I start xend on x86 and amd64
# /etc/init.d/xend start
invalid token
Exception in thread Watcher:Traceback (most recent call last):
   File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
     self.run()
   File "/usr/lib/python2.3/threading.py", line 422, in run
     self.__target(*self.__args, **self.__kwargs)
   File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 43, in watchMain
     we = cls.xs.read_watch()
 RuntimeError: invalid token


I traced the problem back to the "Make libxenstore thread-safe. It also
spawns an internal" patch
(http://lists.xensource.com/archives/html/xen-changelog/2005-10/msg00118.html).

Not a big issue, as xend will start without problems the second time the
command is executed.

Thanks,
Jon

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: xend "invalid token" error

Anthony Liguori
I'm seeing this problem too.

Regards,

Anthony Liguori

Jon Mason wrote:

>I am geting the following error when I start xend on x86 and amd64
># /etc/init.d/xend start
>invalid token
>Exception in thread Watcher:Traceback (most recent call last):
>   File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
>     self.run()
>   File "/usr/lib/python2.3/threading.py", line 422, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 43, in watchMain
>     we = cls.xs.read_watch()
> RuntimeError: invalid token
>
>
>I traced the problem back to the "Make libxenstore thread-safe. It also
>spawns an internal" patch
>(http://lists.xensource.com/archives/html/xen-changelog/2005-10/msg00118.html).
>
>Not a big issue, as xend will start without problems the second time the
>command is executed.
>
>Thanks,
>Jon
>
>_______________________________________________
>Xen-devel mailing list
>[hidden email]
>http://lists.xensource.com/xen-devel
>
>  
>


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: xend "invalid token" error

Anthony Liguori
Xend is also generating an "XendError: Exception: unsubscriptable object".

Regards,

Anthony Liguori

Anthony Liguori wrote:

> I'm seeing this problem too.
>
> Regards,
>
> Anthony Liguori
>
> Jon Mason wrote:
>
>> I am geting the following error when I start xend on x86 and amd64
>> # /etc/init.d/xend start
>> invalid token
>> Exception in thread Watcher:Traceback (most recent call last):
>>   File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
>>     self.run()
>>   File "/usr/lib/python2.3/threading.py", line 422, in run
>>     self.__target(*self.__args, **self.__kwargs)
>>   File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 43, in
>> watchMain
>>     we = cls.xs.read_watch()
>> RuntimeError: invalid token
>>
>>
>> I traced the problem back to the "Make libxenstore thread-safe. It also
>> spawns an internal" patch
>> (http://lists.xensource.com/archives/html/xen-changelog/2005-10/msg00118.html).
>>
>> Not a big issue, as xend will start without problems the second time the
>> command is executed.
>>
>> Thanks,
>> Jon
>>
>> _______________________________________________
>> Xen-devel mailing list
>> [hidden email]
>> http://lists.xensource.com/xen-devel
>>
>>  
>>
>
>
> _______________________________________________
> Xen-devel mailing list
> [hidden email]
> http://lists.xensource.com/xen-devel
>


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: xend "invalid token" error

Keir Fraser
In reply to this post by Anthony Liguori
Hmmm... not quite sure how my changes could have screwed that up, esp.  
just on 64-bit. Do your changes to allow watches to return varargs  
definitely work with x86/64?

  -- Keir

On 10 Oct 2005, at 22:07, Anthony Liguori wrote:

> I'm seeing this problem too.
>
> Regards,
>
> Anthony Liguori
>
> Jon Mason wrote:
>
>> I am geting the following error when I start xend on x86 and amd64
>> # /etc/init.d/xend start
>> invalid token
>> Exception in thread Watcher:Traceback (most recent call last):
>>   File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
>>     self.run()
>>   File "/usr/lib/python2.3/threading.py", line 422, in run
>>     self.__target(*self.__args, **self.__kwargs)
>>   File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 43, in  
>> watchMain
>>     we = cls.xs.read_watch()
>> RuntimeError: invalid token
>>
>>
>> I traced the problem back to the "Make libxenstore thread-safe. It  
>> also
>> spawns an internal" patch
>> (http://lists.xensource.com/archives/html/xen-changelog/2005-10/ 
>> msg00118.html).
>> Not a big issue, as xend will start without problems the second time  
>> the
>> command is executed.
>>
>> Thanks,
>> Jon
>>
>> _______________________________________________
>> Xen-devel mailing list
>> [hidden email]
>> http://lists.xensource.com/xen-devel
>>
>>
>
>
> _______________________________________________
> Xen-devel mailing list
> [hidden email]
> http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: xend "invalid token" error

Anthony Liguori
Keir Fraser wrote:

> Hmmm... not quite sure how my changes could have screwed that up,
> esp.  just on 64-bit. Do your changes to allow watches to return
> varargs  definitely work with x86/64?

Yes, Jon verified that this afternoon :-)

To clarify, I'm on x86_32 so it's on both platforms.

Regards,

Anthony Liguori

>  -- Keir
>
> On 10 Oct 2005, at 22:07, Anthony Liguori wrote:
>
>> I'm seeing this problem too.
>>
>> Regards,
>>
>> Anthony Liguori
>>
>> Jon Mason wrote:
>>
>>> I am geting the following error when I start xend on x86 and amd64
>>> # /etc/init.d/xend start
>>> invalid token
>>> Exception in thread Watcher:Traceback (most recent call last):
>>>   File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
>>>     self.run()
>>>   File "/usr/lib/python2.3/threading.py", line 422, in run
>>>     self.__target(*self.__args, **self.__kwargs)
>>>   File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 43, in  
>>> watchMain
>>>     we = cls.xs.read_watch()
>>> RuntimeError: invalid token
>>>
>>>
>>> I traced the problem back to the "Make libxenstore thread-safe. It  
>>> also
>>> spawns an internal" patch
>>> (http://lists.xensource.com/archives/html/xen-changelog/2005-10/ 
>>> msg00118.html).
>>> Not a big issue, as xend will start without problems the second
>>> time  the
>>> command is executed.
>>>
>>> Thanks,
>>> Jon
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> [hidden email]
>>> http://lists.xensource.com/xen-devel
>>>
>>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> [hidden email]
>> http://lists.xensource.com/xen-devel
>
>
>


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: xend "invalid token" error

Ewan Mellor
In reply to this post by Jon Mason
On Mon, Oct 10, 2005 at 03:50:21PM -0500, Jon Mason wrote:

> I am geting the following error when I start xend on x86 and amd64
> # /etc/init.d/xend start
> invalid token
> Exception in thread Watcher:Traceback (most recent call last):
>    File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
>      self.run()
>    File "/usr/lib/python2.3/threading.py", line 422, in run
>      self.__target(*self.__args, **self.__kwargs)
>    File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 43, in watchMain
>      we = cls.xs.read_watch()
>  RuntimeError: invalid token

I thought this had been fixed by changeset 7289:5134f3c512c8.  Could you
confirm?

Cheers,

Ewan.

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: xend "invalid token" error

Anthony Liguori
I'm seeing this with 7295:60b0ac30ba18

Regards,

Anthony Liguori

Ewan Mellor wrote:

>On Mon, Oct 10, 2005 at 03:50:21PM -0500, Jon Mason wrote:
>
>  
>
>>I am geting the following error when I start xend on x86 and amd64
>># /etc/init.d/xend start
>>invalid token
>>Exception in thread Watcher:Traceback (most recent call last):
>>   File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
>>     self.run()
>>   File "/usr/lib/python2.3/threading.py", line 422, in run
>>     self.__target(*self.__args, **self.__kwargs)
>>   File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 43, in watchMain
>>     we = cls.xs.read_watch()
>> RuntimeError: invalid token
>>    
>>
>
>I thought this had been fixed by changeset 7289:5134f3c512c8.  Could you
>confirm?
>
>Cheers,
>
>Ewan.
>
>_______________________________________________
>Xen-devel mailing list
>[hidden email]
>http://lists.xensource.com/xen-devel
>
>  
>


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: xend "invalid token" error

Jon Mason
In reply to this post by Ewan Mellor
On Mon, Oct 10, 2005 at 11:49:31PM +0100, Ewan Mellor wrote:

> On Mon, Oct 10, 2005 at 03:50:21PM -0500, Jon Mason wrote:
>
> > I am geting the following error when I start xend on x86 and amd64
> > # /etc/init.d/xend start
> > invalid token
> > Exception in thread Watcher:Traceback (most recent call last):
> >    File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
> >      self.run()
> >    File "/usr/lib/python2.3/threading.py", line 422, in run
> >      self.__target(*self.__args, **self.__kwargs)
> >    File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 43, in watchMain
> >      we = cls.xs.read_watch()
> >  RuntimeError: invalid token
>
> I thought this had been fixed by changeset 7289:5134f3c512c8.  Could you
> confirm?
 
I did a mercurial pull 10 minutes ago, and I am still seeing the error.
Also, I am seeing this on python 2.4.

Thanks,
Jon

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: xend "invalid token" error

Ewan Mellor
In reply to this post by Anthony Liguori
On Mon, Oct 10, 2005 at 06:09:40PM -0500, Anthony Liguori wrote:

> I'm seeing this with 7295:60b0ac30ba18
>
> Regards,
>
> Anthony Liguori
>
> Ewan Mellor wrote:
>
> >On Mon, Oct 10, 2005 at 03:50:21PM -0500, Jon Mason wrote:
> >
> >
> >
> >>I am geting the following error when I start xend on x86 and amd64
> >># /etc/init.d/xend start
> >>invalid token
> >>Exception in thread Watcher:Traceback (most recent call last):
> >>  File "/usr/lib/python2.3/threading.py", line 442, in __bootstrap
> >>    self.run()
> >>  File "/usr/lib/python2.3/threading.py", line 422, in run
> >>    self.__target(*self.__args, **self.__kwargs)
> >>  File "/usr/lib/python/xen/xend/xenstore/xswatch.py", line 43, in
> >>  watchMain
> >>    we = cls.xs.read_watch()
> >>RuntimeError: invalid token

This should be fixed as of changeset 7349:00a324b3a2db.

Cheers,

Ewan.

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: xend "invalid token" error

Anthony Liguori
Ewan Mellor wrote:

>On Mon, Oct 10, 2005 at 06:09:40PM -0500, Anthony Liguori wrote:
>  
>
>This should be fixed as of changeset 7349:00a324b3a2db.
>  
>
Yes, it is.

Thanks Ewan.

Regards,

Anthony Liguori

>Cheers,
>
>Ewan.
>
>_______________________________________________
>Xen-devel mailing list
>[hidden email]
>http://lists.xensource.com/xen-devel
>
>  
>


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel