WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] Re: Project KRONOS - Networking

To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-API] Re: Project KRONOS - Networking
From: Sébastien Riccio <sr@xxxxxxxxxxxxxxx>
Date: Fri, 02 Sep 2011 02:43:40 +0200
Cc: Jonathan Ludlam <Jonathan.Ludlam@xxxxxxxxxxxxx>
Delivery-date: Thu, 01 Sep 2011 17:44:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C28EE874-E850-4589-8725-F60F0B5EBA2B@xxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <4E5F88CC.6040104@xxxxxxxxxxxxxxx> <C28EE874-E850-4589-8725-F60F0B5EBA2B@xxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1
On 01.09.2011 22:45, Jonathan Ludlam wrote:
Hi Sebastien,

qemu should (theoretically) be logging to syslog - has it dumped anything interesting in there at all?

Jon

On 1 Sep 2011, at 14:29, Sébastien Riccio wrote:

<xensource.txt>


Hi Jonathan,

Thanks for pointing that out.
Here is a transcript of an interesting part of syslog while trying to launche a network attached qemu vm:

"/etc/xen/scripts/qemu-ifup: could not launch network script" and "Could not initialize device 'tap'"  seems
to be quite revelant, i'll try to look what the script tries to do.

Cheers,
Sébastien

Sep  2 02:41:26 xen-blade13 scripts-vif: Called as "online type_if=vif" domid:15 devid:0 mode:openvswitch
Sep  2 02:41:26 xen-blade13 fe: qemu-dm-15[12453]: domid: 15
Sep  2 02:41:26 xen-blade13 scripts-vif: Setting vif15.0 MTU 1500
Sep  2 02:41:26 xen-blade13 fe: qemu-dm-15[12453]: -c config qemu network with xen bridge for
Sep  2 02:41:26 xen-blade13 fe: qemu-dm-15[12453]: tap15.0 xapi2
Sep  2 02:41:26 xen-blade13 fe: qemu-dm-15[12453]: can't add tap15.0 to bridge xapi2: Operation not supported
Sep  2 02:41:26 xen-blade13 fe: qemu-dm-15[12453]: /etc/xen/scripts/qemu-ifup: could not launch network script
Sep  2 02:41:26 xen-blade13 fe: qemu-dm-15[12453]: Could not initialize device 'tap'
Sep  2 02:41:26 xen-blade13 scripts-vif: Adding vif15.0 to xapi2 with address fe:ff:ff:ff:ff:ff
Sep  2 02:41:26 xen-blade13 logger: /etc/xen/scripts/vif-bridge: add type_if=tap XENBUS_PATH=
Sep  2 02:41:26 xen-blade13 fe: 12453 (/usr/lib/xen-common/xapi/libexec/qemu-dm-wrapper 15 -d 15 -m 1536 -boot dc -s...) exitted with code 1
Sep  2 02:41:26 xen-blade13 scripts-vif: Failed to ip link set vif15.0 address fe:ff:ff:ff:ff:ff
Sep  2 02:41:26 xen-blade13 scripts-vif: vif15.0 external-ids:"xs-vm-uuid"="7ef51a1e-2a0a-5ef4-50f6-618cbb251543"
Sep  2 02:41:26 xen-blade13 scripts-vif: vif15.0 external-ids:"xs-vif-uuid"="ea160a73-36a6-cfdc-dcf9-3083653d917b"
Sep  2 02:41:26 xen-blade13 scripts-vif: vif15.0 external-ids:"xs-network-uuid"="65c59465-b20d-f640-01bd-c78e83ae7b72"
Sep  2 02:41:26 xen-blade13 scripts-vif: vif15.0 external-ids:"attached-mac"="3a:97:29:2f:c0:aa"
Sep  2 02:41:26 xen-blade13 scripts-vif: /usr/bin/ovs-vsctl --timeout=30 -- --if-exists del-port vif15.0 -- add-port xapi2 vif15.0 -- set interface vif15.0 external-ids:"xs-vm-uuid"="7ef51a1e-2a0a-5ef4-50f6-618cbb251543"#012-- set interface vif15.0 external-ids:"xs-vif-uuid"="ea160a73-36a6-cfdc-dcf9-3083653d917b"#012-- set interface vif15.0 external-ids:"xs-network-uuid"="65c59465-b20d-f640-01bd-c78e83ae7b72"#012-- set interface vif15.0 external-ids:"attached-mac"="3a:97:29:2f:c0:aa"
Sep  2 02:41:26 xen-blade13 ovs-vsctl: 00001|vsctl|INFO|Called as /usr/bin/ovs-vsctl --timeout=30 -- --if-exists del-port vif15.0 -- add-port xapi2 vif15.0 -- set interface vif15.0 "external-ids:\"xs-vm-uuid\"=\"7ef51a1e-2a0a-5ef4-50f6-618cbb251543\"" -- set interface vif15.0 "external-ids:\"xs-vif-uuid\"=\"ea160a73-36a6-cfdc-dcf9-3083653d917b\"" -- set interface vif15.0 "external-ids:\"xs-network-uuid\"=\"65c59465-b20d-f640-01bd-c78e83ae7b72\"" -- set interface vif15.0 "external-ids:\"attached-mac\"=\"3a:97:29:2f:c0:aa\""
Sep  2 02:41:26 xen-blade13 kernel: [46644.650044] device vif15.0 entered promiscuous mode
Sep  2 02:41:26 xen-blade13 kernel: [46644.689221] ADDRCONF(NETDEV_UP): vif15.0: link is not ready


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api