xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jim Fehlig <jfehlig@suse.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"erin.balid@inoutbox.com" <erin.balid@inoutbox.com>
Subject: Re: After switching from "xm" to "xl" toolstack, can't get Guest networking to work.
Date: Wed, 25 Jan 2012 09:19:22 -0700	[thread overview]
Message-ID: <4F202B8A.4060506@suse.com> (raw)
In-Reply-To: <1327440026.17019.16.camel@dagon.hellion.org.uk>

Ian Campbell wrote:
> On Tue, 2012-01-24 at 18:05 +0000, erin.balid@inoutbox.com wrote:
>   
>> Using the same log redirection you mentioned before
>>
>> edit /etc/xen/scripts/vif-bridge
>> 	#!/bin/bash
>> +       exec 1>>/tmp/vif-bridge.log
>> +       exec 2>&1
>> +       echo "`date`: Running $0 $*"
>> ...
>> +       ## TEST ##
>> +       echo "made it to 001"
>>
>> 	dir=$(dirname "$0")
>> 	. "$dir/vif-common.sh"
>>
>> +       ## TEST ##
>> +       echo "made it to 002"
>>
>>
>> 	domu=$(xenstore_read_default "$XENBUS_PATH/domain" "")
>> 	if [ -z "$domu" ]
>> 	then
>> 	    log debug "No device details in $XENBUS_PATH, exiting."
>>     
>
> So, presumably either the xenstore_read_default is failing or domu is
> zero length and the script is explicitly bailing here.
>
> However I do not see anything like this anywhere in the hotplug script
> shipped with Xen. Either this is a local modification or something done
> by your distribution, in which case you should contact them.
>   

Grrr, that is my patch here

http://old-list-archives.xen.org/archives/html/xen-devel/2011-10/msg01790.html

which thankfully was never applied upstream but did make its way into
openSUSE12.1.  In that thread, Ian suggested having the toolstack write
the literal tap device name to xenstore and then read it in the vif
script.  I have this on my todo list with very low priority, but seems I
should bump it now :-).

> What does this node contain under xend?
>   

The xend toolstack writes the domain name under this node but xl/libxl
doesn't, hence the failure Erin is seeing.

Erin, you can revert the patch mentioned above to fix your problem. 
I'll try to work on the proper fix soon.

Regards,
Jim

  parent reply	other threads:[~2012-01-25 16:19 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-21 20:06 After switching from "xm" to "xl" toolstack, can't get Guest networking to work erin.balid
2012-01-21 22:57 ` Roger Pau Monné
2012-01-21 23:04   ` erin.balid
2012-01-22  0:54     ` erin.balid
2012-01-22 11:08     ` Roger Pau Monné
2012-01-22 17:11       ` erin.balid
2012-01-22 17:28         ` Roger Pau Monné
2012-01-22 17:54           ` erin.balid
2012-01-24 23:13             ` Jim Fehlig
2012-01-25  2:01               ` erin.balid
2012-01-25 15:55                 ` Jim Fehlig
2012-01-25 16:27                   ` erin.balid
2012-01-25 16:47                     ` Jim Fehlig
2012-01-22 15:49 ` djmagee
2012-01-23 11:27 ` Ian Campbell
2012-01-23 15:28   ` erin.balid
2012-01-24 14:26     ` Ian Campbell
2012-01-24 15:56       ` erin.balid
2012-01-24 16:41         ` Ian Campbell
2012-01-24 17:10           ` erin.balid
2012-01-24 18:05             ` erin.balid
2012-01-24 18:19               ` erin.balid
2012-01-24 21:20                 ` Ian Campbell
2012-01-24 21:20               ` Ian Campbell
2012-01-24 21:44                 ` erin.balid
2012-01-25  3:59                   ` erin.balid
2012-01-25  9:35                   ` Ian Campbell
2012-01-25 16:19                 ` Jim Fehlig [this message]
2012-01-25 16:32                   ` Ian Campbell
     [not found] <mailman.1527.1327510060.1471.xen-devel@lists.xensource.com>
2012-01-25 17:06 ` John McDermott CIV
2012-01-25 17:16   ` Ian Campbell
2012-01-25 17:22     ` John McDermott CIV
2012-01-25 17:33     ` Jim Fehlig
2012-01-25 17:39       ` John McDermott CIV
2012-01-25 18:02         ` Jim Fehlig
2012-01-25 19:20           ` John McDermott CIV
2012-01-25 21:16             ` Jim Fehlig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F202B8A.4060506@suse.com \
    --to=jfehlig@suse.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=erin.balid@inoutbox.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).