[Openstack] VMs unable to communicate between each other using their floating IPs

Razique Mahroua razique.mahroua at gmail.com
Mon Oct 28 16:55:21 UTC 2013


OK
can you show us:
• The fixed IP you are trying to reach. From the compute node it is running on, are you able to ping it?
• $iptables -L -nv -t nat
• What is the floating IP ; does it appear on the iptables’ output command?
• If you run $ip addr sh | grep $IP do you see the floating IP? (assuming you are using a multi_host mode, is that the case?)

Regards,
Razique

On Oct 28, 2013, at 1:59, Narayanan, Krishnaprasad <narayana at uni-mainz.de> wrote:

> Hi Razique,
>  
> They are located on different compute nodes and allow incoming connections. The VMs that I referred have a fixed IP address. I could see the eth0 interface and it has the fixed IP address.
>  
> Thanks,
> Krishnaprasad
> From: Razique Mahroua [mailto:razique.mahroua at gmail.com] 
> Sent: Sonntag, 27. Oktober 2013 21:11
> To: Narayanan, Krishnaprasad
> Subject: Re: [Openstack] VMs unable to communicate between each other using their floating IPs
>  
> Are all located on the same compute node? 
> And all the instances allow incoming connection?
>  
> Finally make sure the instance you cannot reach have a private IP assigned (not through the dash but check the logs to make sure the instance has indeed an interface up ; usually eth0)
>  
> - Razique
>  
> On Oct 27, 2013, at 9:48, Narayanan, Krishnaprasad <narayana at uni-mainz.de> wrote:
> 
> 
> I could see a strange behavior. I restarted the nova-compute and nova-network. I was able to reach certain floating IPs and few was not. Can I know the reason behind this and some pointers to get rid of this problem?
>  
> From: Razique Mahroua [mailto:razique.mahroua at gmail.com] 
> Sent: Sonntag, 27. Oktober 2013 17:26
> To: Narayanan, Krishnaprasad
> Cc: Oleg Gelbukh; openstack at lists.openstack.org
> Subject: Re: [Openstack] VMs unable to communicate between each other using their floating IPs
>  
> I think that restarting the nova-network and nova-compute services would be sufficient :)
>  
> On Oct 27, 2013, at 9:14, Narayanan, Krishnaprasad <narayana at uni-mainz.de> wrote:
> 
> 
> 
> Hi,
>  
> Thanks for your response. I don’t see this setting in my nova.conf. Will it be possible for you to describe the complete command of recreating the floating IPs with –interface flag?
>  
> Regards,
> Krishnaprasad
> From: Oleg Gelbukh [mailto:ogelbukh at mirantis.com] 
> Sent: Sonntag, 27. Oktober 2013 16:40
> To: Narayanan, Krishnaprasad
> Cc: openstack at lists.openstack.org
> Subject: Re: [Openstack] VMs unable to communicate between each other using their floating IPs
>  
> Narayan,
>  
> Are you using multi-host? Is 'public_interface' in your nova.conf set?
>  
> Recently we've had similar situation with a customer. Turned out that traffic going from VM's fixed IP to floating IP of another VM on the same physical host never gets to public interface and thus never SNATed, and response never gets back.
>  
> We fixed it by unsetting 'public_interface' and re-creating floating IPs with --interface=<public_interface> flag. It ensures that all packets from VMs are source-translated, and also that floating IPs are assigned to correct interface.
>  
> Hope that helps.
>  
> --
> Best regards,
> Oleg Gelbukh
> Mirantis Labs
>  
> 
> On Fri, Oct 25, 2013 at 11:41 PM, Narayanan, Krishnaprasad <narayana at uni-mainz.de> wrote:
> Hi all,
>  
> Im my OpenStack setup, i am using nova-network to manage the networks. I could see that the VMs are unable to communicate between each other via their floating IPs.
>  
> Can I know what is the reason and how to get rid of the problem?
>  
> Thanks,
> Krishnaprasad
> 
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
>  
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>  
>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131028/8e1eacb1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 535 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131028/8e1eacb1/attachment.sig>


More information about the Openstack mailing list