Skip to contentSkip to conversation

Bug: xend-relocation-hosts-allow in xend-config.sxp

PATCH Michael Best 3 participants 4 messages Aug 10, 2006

lore
Share & tools
lore
#0 lore raw

Comparing my last know working configuration with the current one, it appears to be gagging on the new localhost\.localdomain that is in the configuration file. I don't know if this got added by my machine when compiling.

install/etc/xen/xend-config.sxp 2006-08-09 23:23:46.000000000 -0600 renamed from install/etc/xen/xend-config.sxp 2006-08-07 18:53:36.000000000 -0600 +1 -1
diff -ur xen-3.0-testing.hg/install/etc/xen/xend-config.sxp xen-unstable.hg/install/etc/xen/xend-config.sxp
@@ -54,7 +54,7 @@
 #  (xend-relocation-hosts-allow '^localhost$ ^.*\.example\.org$')
 #
 #(xend-relocation-hosts-allow '')
-(xend-relocation-hosts-allow '^localhost$')
+(xend-relocation-hosts-allow '^localhost$ ^localhost\.localdomain$')
 
 # The limit (in kilobytes) on the size of the console buffer
 #(console-limit 1024)

/var/log/xend.log:

[2006-08-09 23:35:43 xend 4249] INFO (SrvDaemon:283) Xend Daemon started [2006-08-09 23:35:43 xend 4249] INFO (SrvDaemon:287) Xend changeset: Wed Aug 9 21:34:27 2006 +0100 11049:0e32095a7b46.
[2006-08-09 23:35:43 xend 4249] ERROR (SrvDaemon:297) Exception starting xend (u nbalanced parenthesis)
Traceback (most recent call last):
File
"/root/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/server/SrvD aemon.py", line 290, in run
File
"/root/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/server/relo cate.py", line 129, in listenRelocation
File "/usr/lib64/python2.3/sre.py", line 179, in compile
return _compile(pattern, flags)
File "/usr/lib64/python2.3/sre.py", line 230, in _compile
raise error, v # invalid expression
error: unbalanced parenthesis
[2006-08-09 23:35:43 xend 4248] INFO (SrvDaemon:183) Xend exited with status 1.

#1 lore raw
Quoted 4 lines · Michael Best

Comparing my last know working configuration with the current one, it appears to be gagging on the new localhost\.localdomain that is in the configuration file. I don't know if this got added by my machine when compiling.

So you can't currently even start xend? It's odd that this patch would have this effect just for you (since noone else has complained of this problem).

-- Keir

#2 lore raw
Quoted 7 lines · Keir Fraser
Quoted 4 lines

Comparing my last know working configuration with the current one, it appears to be gagging on the new localhost\.localdomain that is in the configuration file. I don't know if this got added by my machine when compiling.

So you can't currently even start xend? It's odd that this patch would have this effect just for you (since noone else has complained of this problem).

Looks like I spoke to soon -- Xin Li posted a patch which claims to fix this issue.

-- Keir

#3 lore raw
In reply to Keir Fraser
Quoted 11 lines · Keir Fraser
Quoted 4 lines · Michael Best

Comparing my last know working configuration with the current one, it appears to be gagging on the new localhost\.localdomain that is in the configuration file. I don't know if this got added by my machine when compiling.

So you can't currently even start xend? It's odd that this patch would have this effect just for you (since noone else has complained of this problem).

It broke me too. I had already seen the notes on the list though so I knew the workaround.

Quoted 10 lines

-- Keir

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