Skip to contentSkip to conversation

xend "invalid token" error

DISCUSSION Jon Mason 4 participants 10 messages Oct 10, 2005 – Oct 12, 2005

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

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

#1 lore raw

I'm seeing this problem too.

Regards,

Anthony Liguori

Quoted 30 lines · 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
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

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

Regards,

Anthony Liguori

Quoted 46 lines · Anthony Liguori

I'm seeing this problem too.

Regards,

Anthony Liguori

Quoted 21 lines · 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.

Quoted 10 lines

Thanks,
Jon

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

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

#3 lore raw
In reply to 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

Quoted 43 lines · Anthony Liguori

I'm seeing this problem too.

Regards,

Anthony Liguori

Quoted 20 lines · 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.

Quoted 9 lines

Thanks,
Jon

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

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

#4 lore raw
Quoted 1 line · Keir Fraser

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

Quoted 50 lines

-- Keir

Quoted 43 lines · Anthony Liguori

I'm seeing this problem too.

Regards,

Anthony Liguori

Quoted 20 lines · 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.

Quoted 9 lines

Thanks,
Jon

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

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

#5 lore raw
In reply to Jon Mason
Quoted 11 lines · 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 thought this had been fixed by changeset 7289:5134f3c512c8. Could you confirm?

Cheers,

Ewan.

#6 lore raw

I'm seeing this with 7295:60b0ac30ba18

Regards,

Anthony Liguori

Quoted 32 lines · Ewan Mellor
Quoted 13 lines · 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 thought this had been fixed by changeset 7289:5134f3c512c8. Could you confirm?

Cheers,

Ewan.

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

#7 lore raw
Quoted 24 lines · Anthony Liguori

I'm seeing this with 7295:60b0ac30ba18

Regards,

Anthony Liguori

Quoted 16 lines · Ewan Mellor
Quoted 12 lines · 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

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

Cheers,

Ewan.

#8 lore raw
Quoted 6 lines · Ewan Mellor

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

Quoted 11 lines

Cheers,

Ewan.

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

author
#9 lore raw
In reply to Ewan Mellor
Quoted 14 lines · Ewan Mellor
Quoted 11 lines · 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
Quoted 2 lines

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