[prev in list] [next in list] [prev in thread] [next in thread]
List: xen-users
Subject: Re: [Xen-users] Problemi using vif-route script
From: Giorgio Mossa <mossa () poisson ! phc ! unipi ! it>
Date: 2012-10-27 10:10:34
Message-ID: 20121027101033.GA2876 () intersect
[Download RAW message or body]
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 eth0`
is empty.
Hope this help,
thank you again
Giorgio
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic