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

Re: [Xen-users] Problemi using vif-route script

On Fri, Oct 26, 2012 at 07:30:18PM +0100, Ian Campbell wrote:
> Can you post the relevant bit of the log please, so we can see if we can
> make it fail with a more helpful message.
> Thanks,
> Ian.

Well I don't know how much can anyone get from this log
without knowing which scripts called this  
anyway here's the extract of the log (I was using 'set -x')

++ dom0_ip
++ local nd=eth0
+++ ip_of eth0
+++ ip -4 -o addr show primary dev eth0
+++ awk '$3 == "inet" {split($4,i,"/"); print i[1]; exit}'
++ local result=
++ '[' -z '' ']'
++ fatal
++ _xenstore_write backend/vif/1/0/hotplug-error '' 
backend/vif/1/0/hotplug-status error
++ log debug 'Writing backend/vif/1/0/hotplug-error' '' 
backend/vif/1/0/hotplug-status 'error to xenstore.'

through grep I've found that vif-route called dom0_ip 
defined in vif-common.sh and this function arose a fatal because 
result which contains the output of the command `ip -4 -o addr show primary dev 
is empty.

Hope this help,

thank you again 


Xen-users mailing list



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