<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">

My workaround was successful, although I&#39;m not sure if it should be reported as a bug.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">

Running keepalived will show the floating IP address as the &quot;IP for the interface&quot; and mess with the configs within ovirt-engine (even though it&#39;s manually configured to be something else). I assume this is because of `ip a`</div>

<div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Live migrations had an issue where it&#39;d be trying to &quot;destination is same as source&quot;, but I&#39;m unsure of the logic behind that. Didn&#39;t have time to dig deeper as the issue cleared once I moved the keepalived service to a different interface which wasn&#39;t used for migration.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">
<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">Andrew.</div></div><div class="gmail_extra"><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline"></div><br><div class="gmail_quote">

On Mon, Dec 16, 2013 at 6:32 PM, Itamar Heim <span dir="ltr">&lt;<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 12/01/2013 11:30 AM, Andrew Lau wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
I put the management and storage on separate VLANs to try avoid the<br>
floating IP address issue temporarily. I also bonded the two nics, but I<br>
don&#39;t think that shouldn&#39;t matter.<br>
<br>
The other server got brought down the other day for some maintenance, I<br>
hope to get it back up in a few days. But I can tell you a few things I<br>
noticed:<br>
<br>
ip a - it&#39;ll list the floating IP on both servers even if only active on<br>
one.<br>
<br>
I&#39;ve got about 10 other networks so I&#39;ve snipped out quite a bit.<br>
<br>
# ip a<br>
&lt;snip&gt;<br>
130: bond0.2@bond0: &lt;BROADCAST,MULTICAST,MASTER,<u></u>UP,LOWER_UP&gt; mtu 1500<br>
qdisc noqueue state UP<br>
     link/ether 00:10:18:2e:6a:cb brd ff:ff:ff:ff:ff:ff<br></div>
     inet <a href="http://172.16.0.11/24" target="_blank">172.16.0.11/24</a> &lt;<a href="http://172.16.0.11/24" target="_blank">http://172.16.0.11/24</a>&gt; brd 172.16.0.255 scope<div><br>
global bond0.2<br>
     inet6 fe80::210:18ff:fe2e:6acb/64 scope link<br>
        valid_lft forever preferred_lft forever<br>
131: bond0.3@bond0: &lt;BROADCAST,MULTICAST,MASTER,<u></u>UP,LOWER_UP&gt; mtu 1500<br>
qdisc noqueue state UP<br>
     link/ether 00:10:18:2e:6a:cb brd ff:ff:ff:ff:ff:ff<br></div>
     inet <a href="http://172.16.1.11/24" target="_blank">172.16.1.11/24</a> &lt;<a href="http://172.16.1.11/24" target="_blank">http://172.16.1.11/24</a>&gt; brd 172.16.1.255 scope<br>
global bond0.3<br>
     inet <a href="http://172.16.1.5/32" target="_blank">172.16.1.5/32</a> &lt;<a href="http://172.16.1.5/32" target="_blank">http://172.16.1.5/32</a>&gt; scope global bond0.3<div><div><br>
     inet6 fe80::210:18ff:fe2e:6acb/64 scope link<br>
        valid_lft forever preferred_lft forever<br>
&lt;/snip&gt;<br>
<br>
<br>
# vdsClient -s 0 getVdsCaps<br>
&lt;snip&gt;<br>
            &#39;storage_network&#39;: {&#39;addr&#39;: &#39;172.16.1.5&#39;,<br>
                                &#39;bridged&#39;: False,<br>
                                &#39;gateway&#39;: &#39;172.16.1.1&#39;,<br>
                                &#39;iface&#39;: &#39;bond0.3&#39;,<br>
                                &#39;interface&#39;: &#39;bond0.3&#39;,<br>
                                &#39;ipv6addrs&#39;:<br>
[&#39;fe80::210:18ff:fe2e:6acb/64&#39;<u></u>],<br>
                                &#39;ipv6gateway&#39;: &#39;::&#39;,<br>
                                &#39;mtu&#39;: &#39;1500&#39;,<br>
                                &#39;netmask&#39;: &#39;255.255.255.255&#39;,<br>
                                &#39;qosInbound&#39;: &#39;&#39;,<br>
                                &#39;qosOutbound&#39;: &#39;&#39;},<br>
&lt;snip&gt;<br>
vlans = {&#39;bond0.2&#39;: {&#39;addr&#39;: &#39;172.16.0.11&#39;,<br>
                     &#39;cfg&#39;: {&#39;BOOTPROTO&#39;: &#39;none&#39;,<br>
                             &#39;DEFROUTE&#39;: &#39;yes&#39;,<br>
                             &#39;DEVICE&#39;: &#39;bond0.2&#39;,<br>
                             &#39;GATEWAY&#39;: &#39;172.16.0.1&#39;,<br>
                             &#39;IPADDR&#39;: &#39;172.16.0.11&#39;,<br>
                             &#39;NETMASK&#39;: &#39;255.255.255.0&#39;,<br>
                             &#39;NM_CONTROLLED&#39;: &#39;no&#39;,<br>
                             &#39;ONBOOT&#39;: &#39;yes&#39;,<br>
                             &#39;VLAN&#39;: &#39;yes&#39;},<br>
                     &#39;iface&#39;: &#39;bond0&#39;,<br>
                     &#39;ipv6addrs&#39;: [&#39;fe80::210:18ff:fe2e:6acb/64&#39;<u></u>],<br>
                     &#39;mtu&#39;: &#39;1500&#39;,<br>
                     &#39;netmask&#39;: &#39;255.255.255.0&#39;,<br>
                     &#39;vlanid&#39;: 2},<br>
         &#39;bond0.3&#39;: {&#39;addr&#39;: &#39;172.16.1.5&#39;,<br>
                     &#39;cfg&#39;: {&#39;BOOTPROTO&#39;: &#39;none&#39;,<br>
                             &#39;DEFROUTE&#39;: &#39;no&#39;,<br>
                             &#39;DEVICE&#39;: &#39;bond0.3&#39;,<br>
                             &#39;IPADDR&#39;: &#39;172.16.1.11&#39;,<br>
                             &#39;NETMASK&#39;: &#39;255.255.255.0&#39;,<br>
                             &#39;NM_CONTROLLED&#39;: &#39;no&#39;,<br>
                             &#39;ONBOOT&#39;: &#39;yes&#39;,<br>
                             &#39;VLAN&#39;: &#39;yes&#39;},<br>
                     &#39;iface&#39;: &#39;bond0&#39;,<br>
                     &#39;ipv6addrs&#39;: [&#39;fe80::210:18ff:fe2e:6acb/64&#39;<u></u>],<br>
                     &#39;mtu&#39;: &#39;1500&#39;,<br>
                     &#39;netmask&#39;: &#39;255.255.255.255&#39;,<br>
                     &#39;vlanid&#39;: 3},<br>
<br>
I hope that&#39;s enough info, if not I&#39;ll post the full config on both when<br>
I can bring it back up.<br>
<br>
Cheers,<br>
Andrew.<br>
<br>
<br>
On Sun, Dec 1, 2013 at 7:15 PM, Assaf Muller &lt;<a href="mailto:amuller@redhat.com" target="_blank">amuller@redhat.com</a><br></div></div>
&lt;mailto:<a href="mailto:amuller@redhat.com" target="_blank">amuller@redhat.com</a>&gt;&gt;<u></u>wrote:<div><br>
<br>
    Could you please attach the output of:<br>
    &quot;vdsClient -s 0 getVdsCaps&quot;<br>
    (Or without the -s, whichever works)<br>
    And:<br>
    &quot;ip a&quot;<br>
<br>
    On both hosts?<br>
    You seem to have made changes since the documentation on the link<br>
    you provided, like separating the management and storage via VLANs<br>
    on eth0. Any other changes?<br>
<br>
<br>
    Assaf Muller, Cloud Networking Engineer<br>
    Red Hat<br>
<br>
    ----- Original Message -----<br>
    From: &quot;Andrew Lau&quot; &lt;<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a><br></div><div><div>
    &lt;mailto:<a href="mailto:andrew@andrewklau.com" target="_blank">andrew@andrewklau.com</a>&gt;<u></u>&gt;<br>
    To: &quot;users&quot; &lt;<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a> &lt;mailto:<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>&gt;&gt;<br>
    Sent: Sunday, December 1, 2013 4:55:32 AM<br>
    Subject: [Users] Keepalived on oVirt Hosts has engine networking issues<br>
<br>
    Hi,<br>
<br>
    I have the scenario where I have gluster and ovirt hosts on the same<br>
    box, to keep the gluster volumes highly available incase a box drops<br>
    I&#39;m using keepalived across the boxes and using that IP as the means<br>
    for the storage domain. I documented my setup here in case anyone<br>
    needs a little more info<br>
    <a href="http://www.andrewklau.com/returning-to-glusterized-ovirt-3-3/" target="_blank">http://www.andrewklau.com/<u></u>returning-to-glusterized-<u></u>ovirt-3-3/</a><br>
<br>
    However, the engine seems to be picking up the floating IP assigned<br>
    to keepalived as the interface and messing with the ovirtmgmt<br>
    migration network, so migrations are failing as my floating IP gets<br>
    assigned to the ovirtmgmt bridge in the engine however it&#39;s not<br>
    actually there on most hosts (except one) so vdsm seems to report<br>
    destination same as source.<br>
<br>
    I&#39;ve since created a new vlan interface just for storage to avoid<br>
    the ovirtmgmt conflict, but the engine will still pick up the wrong<br>
    IP on the storage vlan because of keepalived. This means I can&#39;t use<br>
    the save network feature within the engine as it&#39;ll save the<br>
    floating ip rather than the one already there. Is this a bug or just<br>
    the way it&#39;s designed.<br>
<br>
    eth0.2 -&gt; ovirtmgmt (172.16.0.11) -&gt; management and migration<br>
    network -&gt; engine sees, sets and saves 172.16.0.11<br>
    eth0.3 -&gt; storagenetwork (172.16.1.11) -&gt; gluster network -&gt; engine<br>
    sees, sets and saves 172.16.1.5 (my floating IP)<br>
<br>
    I hope this makes sense.<br>
<br>
    p.s. can anyone also confirm, does gluster support multi pathing by<br>
    default? If I&#39;m using this keepalived method, am I bottle necking<br>
    myself to one host?<br>
<br>
    Thanks,<br>
    Andrew<br>
<br>
    ______________________________<u></u>_________________<br>
    Users mailing list<br></div></div>
    <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> &lt;mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>&gt;<br>
    <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><div><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
</div></blockquote>
<br>
Andrew - was this resolved or you are still looking for more insight/assistance?<br>
<br>
thanks,<br>
   Itamar<br>
</blockquote></div><br></div></div>