[Rdo-list] My router GWY is down and can not allocate floating IP
Ashraf Hassan
asma2103 at yahoo.com
Tue Feb 16 20:22:40 UTC 2016
Hi Marius,
Thank you for your help, but I believe now I have seriously wrong stuff but I am still not able to figure it out :-(
1. Check if you can reach the router's public IP
--> I can reach the router public IP only from the network node, but not from any other node even in the same public subnet.
2. Check if you can reach the the default gateway from the router namespace:
ip netns exec qrouter-2d9b71f1-6e54-4a05-a0fb-0680233d6dea ip a
ip netns exec qrouter-2d9b71f1-6e54-4a05-a0fb-0680233d6dea ip r
ip netns exec qrouter-2d9b71f1-6e54-4a05-a0fb-0680233d6dea ping 10.254.102.1
--> Here is the output of the commands: http://pastebin.com/SAPpUXUV
3. Do you want to enable dhcp on the public subnet?
--> Yes I want so.
Second, check the instance log if it received an IP address via dhcp and it was able to reach the metadata server. You should be able to see this via nova console-log or in Horizon.
--> I do not have console.log, I have only these files:
nova-api.log nova-cert.log nova-compute.log nova-conductor.log nova-consoleauth.log nova-manage.log nova-novncproxy.log nova-scheduler.log
But I attach you a photo from the Horizon
Since you are using vlan networks you should check that the /etc/neutron/plugins/ml2/openvswitch_agent.ini contains the correct bridge_mappings - physnet1 is mapped to the bridge that contains the physical nic where vlans 10,15 are passed through.
--> I do not have this file, here the list of files in the plugins directory: http://pastebin.com/EMTzehnh
Also check that external_network_bridge is set to an empty value in /etc/neutron/l3_agent.ini
--> Here is the content of the file, I do not anything wrong: http://pastebin.com/nAiEnaTs
Here is a guide on how to deploy Neutron with an existing external network, hope it helps:
https://www.rdoproject.org/networking/neutron-with-existing-external-network/
--> I believe there is something wrong in the installation, but I can not figure out what I did wrong that I am missing the file /etc/neutron/plugins/ml2/openvswitch_agent.ini!!!
-----Original Message-----
From: Marius Cornea [mailto:marius at remote-lab.net]
Sent: Tuesday, 16 February 2016 8:18 PM
To: Ashraf Hassan <asma2103 at yahoo.com>
Cc: rdo-list <rdo-list at redhat.com>
Subject: Re: [Rdo-list] My router GWY is down and can not allocate floating IP
Hi,
There are a couple of things that you can check:
First, let's see if the public facing connectivity to the router is working properly:
1. Check if you can reach the router's public IP 2. Check if you can reach the the default gateway from the router namespace:
ip netns exec qrouter-2d9b71f1-6e54-4a05-a0fb-0680233d6dea ip a ip netns exec qrouter-2d9b71f1-6e54-4a05-a0fb-0680233d6dea ip r ip netns exec qrouter-2d9b71f1-6e54-4a05-a0fb-0680233d6dea ping 10.254.102.1 3. Do you want to enable dhcp on the public subnet?
Second, check the instance log if it received an IP address via dhcp and it was able to reach the metadata server. You should be able to see this via nova console-log or in Horizon.
Since you are using vlan networks you should check that the /etc/neutron/plugins/ml2/openvswitch_agent.ini contains the correct bridge_mappings - physnet1 is mapped to the bridge that contains the physical nic where vlans 10,15 are passed through. Also check that external_network_bridge is set to an empty value in /etc/neutron/l3_agent.ini
Here is a guide on how to deploy Neutron with an existing external network, hope it helps:
https://www.rdoproject.org/networking/neutron-with-existing-external-network/
Thanks,
Marius
On Tue, Feb 16, 2016 at 4:38 PM, Ashraf Hassan <asma2103 at yahoo.com> wrote:
> Hi All,
>
> I found the problem, it was mistake, I forgot totally the DHCP
> agent requires an IP, now I am using a bigger pool, I can assign a
> floating IP, the router public interface is up.
>
> Unfortunately I cannot reach the instance, and of course I
> cannot login from the console to see what is in the instance because I
> do not have the default cloud-user password.
>
> Can someone guide me how to solve it?
>
> For neutron and nova checks: http://pastebin.com/sxndErDC
>
> For troubleshooting to reach the instance:
> http://pastebin.com/KTtQ2DFw
>
> IFCFG for external interface on Controller (network node):
> http://pastebin.com/10MRZiM9
>
> IFCFG for external bridge on Controller (network node):
> http://pastebin.com/RsXb7wXH
>
> IFCFG for internal interface on Controller (network node):
> http://pastebin.com/jRKRSnc7
>
> IFCFG for internal bridge on Controller (network node):
> http://pastebin.com/sdNnsi85
>
> Output of ovs-vsctl show: http://pastebin.com/agy1FxDx
>
>
>
> Can someone guide me how to solve the problem?
>
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
>
> To unsubscribe: rdo-list-unsubscribe at redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Horizon.jpg
Type: image/jpeg
Size: 195091 bytes
Desc: not available
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20160216/da0d8a6f/attachment.jpg>
More information about the dev
mailing list