<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.6.6">
</HEAD>
<BODY>
<BR>
On Fri, 2013-09-06 at 22:26 +0100, Dan Kenigsberg wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Fri, Sep 06, 2013 at 06:23:42PM +0200, René Koch (ovido) wrote:
<FONT COLOR="#737373">> Hi,</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> I want to start the discussion about Solaris support on oVirt again, as</FONT>
<FONT COLOR="#737373">> there was no solution for it yet.</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> On my oVirt 3.2.2 environment I installed Solaris 11 U1 with the</FONT>
<FONT COLOR="#737373">> following specs:</FONT>
<FONT COLOR="#737373">> * Operating System: Other</FONT>
<FONT COLOR="#737373">> * nic1: rtl8139</FONT>
<FONT COLOR="#737373">> * Disk1: IDE (Thin Provision)</FONT>
<FONT COLOR="#737373">> * Host: CentOS 6.4 with qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.7.x86_64</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> These are the same settings as on my RHEL 6.4 KVM host (except I can</FONT>
<FONT COLOR="#737373">> choose Solaris 10 as OS in virt-manager), which has KVM version:</FONT>
<FONT COLOR="#737373">> qemu-kvm-rhev-0.12.1.2-2.295.el6_3.2.x86_64 (I wanted to use this host</FONT>
<FONT COLOR="#737373">> as a RHEV host, so the qemu-kvm-rhev package is installed in case you</FONT>
<FONT COLOR="#737373">> wounder)...</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> What's working:</FONT>
<FONT COLOR="#737373">> * OS installation on IDE disk</FONT>
<FONT COLOR="#737373">> * Bringing up network interface</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> What's not working on oVirt:</FONT>
<FONT COLOR="#737373">> * Network connections - on RHEL 6.4 with plain libvirt/kvm this is</FONT>
<FONT COLOR="#737373">> working...</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> I can see the mac address on my CentOS host, but can't ping the Solaris</FONT>
<FONT COLOR="#737373">> vm:</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> # brctl showmacs ovirtmgmt | egrep '00:99:4a:00:64:83|port'</FONT>
<FONT COLOR="#737373">> port no        mac addr                is local?        ageing timer</FONT>
<FONT COLOR="#737373">> 2        00:99:4a:00:64:83        no                 10.72</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> # arp -an | grep '00:99:4a:00:64:83'</FONT>
<FONT COLOR="#737373">> ? (10.0.100.123) at 00:99:4a:00:64:83 [ether] on ovirtmgmt</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> When using tcpdump on the vnet interface which belongs to the Solaris vm</FONT>
<FONT COLOR="#737373">> (ip 10.0.100.123) I can see ARP requests from the vm for ip address of</FONT>
<FONT COLOR="#737373">> my CentOS host (10.0.100.42) but no response to it. Same when pinging</FONT>
<FONT COLOR="#737373">> other ips in this network:</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> # tcpdump -n -i vnet2</FONT>
<FONT COLOR="#737373">> tcpdump: WARNING: vnet2: no IPv4 address assigned</FONT>
<FONT COLOR="#737373">> tcpdump: verbose output suppressed, use -v or -vv for full protocol</FONT>
<FONT COLOR="#737373">> decode</FONT>
<FONT COLOR="#737373">> listening on vnet2, link-type EN10MB (Ethernet), capture size 65535</FONT>
<FONT COLOR="#737373">> bytes</FONT>
<FONT COLOR="#737373">> 18:15:35.987868 ARP, Request who-has 10.0.100.42 (Broadcast) tell</FONT>
<FONT COLOR="#737373">> 10.0.100.123, length 46</FONT>
<FONT COLOR="#737373">> 18:15:36.487399 ARP, Request who-has 10.0.100.42 (Broadcast) tell</FONT>
<FONT COLOR="#737373">> 10.0.100.123, length 46</FONT>
<FONT COLOR="#737373">> 18:15:36.987536 ARP, Request who-has 10.0.100.42 (Broadcast) tell</FONT>
<FONT COLOR="#737373">> 10.0.100.123, length 46</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> I also compared the qemu-kvm process list on the KVM with the oVirt</FONT>
<FONT COLOR="#737373">> machine and can't see much differences except that oVirt has more</FONT>
<FONT COLOR="#737373">> information like smbios....</FONT>
<FONT COLOR="#737373">> oVirt host:</FONT>
<FONT COLOR="#737373">> /usr/libexec/qemu-kvm</FONT>
<FONT COLOR="#737373">> <snip></FONT>
<FONT COLOR="#737373">> -netdev tap,fd=27,id=hostnet0</FONT>
<FONT COLOR="#737373">> -device</FONT>
<FONT COLOR="#737373">> rtl8139,netdev=hostnet0,id=net0,mac=00:99:4a:00:64:83,bus=pci.0,addr=0x3</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> RHEL KVM host:</FONT>
<FONT COLOR="#737373">> /usr/libexec/qemu-kvm</FONT>
<FONT COLOR="#737373">> <snip></FONT>
<FONT COLOR="#737373">> -netdev tap,fd=32,id=hostnet0</FONT>
<FONT COLOR="#737373">> -device</FONT>
<FONT COLOR="#737373">> rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:51:c2:97,bus=pci.0,addr=0x3</FONT>
<FONT COLOR="#737373">> </FONT>
<FONT COLOR="#737373">> Any suggestions on how to troubleshoot / get Solaris networking running</FONT>
<FONT COLOR="#737373">> is welcome.</FONT>
<FONT COLOR="#737373">> Changing the interface to e1000 doesn't work either.</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
Thanks a lot for your answer and sorry for my late response - I was sick leaving last week.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
- Would you share the output of your `brctl show`?
</PRE>
</BLOCKQUOTE>
<BR>
# brctl show<BR>
bridge name        bridge id                STP enabled        interfaces<BR>
;vdsmdummy;                8000.000000000000        no                <BR>
dmz                8000.0025901ad140        no                eth0.200<BR>
ovirtmgmt                8000.0025901ad140        no                eth0.100<BR>
                                                        vnet1<BR>
                                                        vnet2<BR>
setup                8000.0025901ad140        no                eth0.500<BR>
test2                8000.0025901ad140        no                eth0.602<BR>
                                                        vnet0<BR>
<BR>
vnet1 is a Debian 7 vm which has a perfectly working network.<BR>
vnet2 is the Solaris 11 vm which can't communicate over the network.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
- Particulalry, does the host device with 10.0.100.42 sit on the same
bridge as your Solaris VM?
</PRE>
</BLOCKQUOTE>
<BR>
10.0.100.42 is the ip of the oVirt host and it's ip is configured on this bridge (and reachable from the Debian 7 vm):<BR>
<BR>
# ip a | grep ovirt<BR>
5: ovirtmgmt: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN <BR>
inet 10.0.100.42/24 brd 10.0.100.255 scope global ovirtmgmt<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
- Do you see the who-has packet when sniffing the bridge device?
</PRE>
</BLOCKQUOTE>
<BR>
<BR>
Yes, I can see them:<BR>
12:24:16.311218 ARP, Request who-has 10.0.100.42 (Broadcast) tell 10.0.100.123, length 46<BR>
12:24:16.311246 ARP, Reply 10.0.100.42 is-at 00:25:90:1a:d1:40, length 28<BR>
<BR>
I can also see the MAC of the Solaris vm in arp cache of oVirt host:<BR>
# arp -an<BR>
? (10.0.100.123) at 00:99:4a:00:64:83 [ether] on ovirtmgmt<BR>
<BR>
But I can't see the MAC address of oVirt host (10.0.100.42) in arp table of the Solaris 11 vm. To be more clear: I can't see any MAC address in ARP table of Solaris vm except the MAC of the vm itself.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
- Have yout tried guest-to-guest communication (over the same bridge)?
</PRE>
</BLOCKQUOTE>
<BR>
I can communicate from the Debian 7 vm to all hosts in my network, but I can't reach the Solaris 11 vm.<BR>
The network of the oVirt setup is working fine for Windows and various Linux guests, but not for Solaris.<BR>
<BR>
Btw, excatly same behavior on RHEV 3.2 with Solaris 10/11 - Windows and Linux is working as expected, but no networking for Solaris guests...<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
Dan.
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>