[Openstack] Neutron Router disappeared from Dashboard, but tenant works

Martinx - ジェームズ thiagocmartinsc at gmail.com
Fri Dec 27 21:31:35 UTC 2013


Hello Miguel,

Thank you for your reply!    =)

Answers are bellow...

On 27 December 2013 06:12, Miguel Angel Ajo Pelayo <mangelajo at redhat.com>wrote:

>
>
> Hi Martinx,
>
> > From: "Martinx - ジェームズ" <thiagocmartinsc at gmail.com>
> > To: openstack at lists.openstack.org
> > Sent: Friday, December 27, 2013 7:56:35 AM
> > Subject: Re: [Openstack] Neutron Router disappeared from Dashboard,
> but tenant works
> >
> > Guys,
> >
> > After clicking on a "Tenant Router", like this:
> >
> > http://controller/project/routers/f572af38-cc50-4c9f-b863-5a167c0ec3d3/
> >
> >
> > I'm seeing the following error:
> >
> >
> > Error: Unable to retrieve an external network
> > "bb43d3f0-8c1a-4844-aaac-7068a6771588".
> >
> > But, this is very weird, since this Tenant Router IS connected to the
> > External Network right now! It just disappeared from some parts of
> OpenStack
> > (it still works but I am unable to see it).
> >
> > Neutron log shows:
> >
> > http://paste.openstack.org/show/57348/
>
> I'm not sure, but it looks to me like if it couldn't really find the
> resource in the database.
>
> a few questions:
>
> 1) Which version of neutron & Horizon are you using?
>

Havana on top of Ubuntu 12.04.3, from Ubuntu Cloud Archives, latest version
from there (2013.2).

2) Is the database in the same host?, some kind of special configuration,
> HA, etc?
>

Yes, MySQL resides at the same host alongside with RabbitMQ, Neutron
Server, Dashboard, Nova-* (it is more or like a "single-controller" Chef
role, but manually installed by myself).

No special configuration, I followed this guide:
http://docs.openstack.org/havana/install-guide/install/apt/content/

No HA... It is a very basic setup BTW... 1 controller, 1 network node, 2
compute nodes.

Environment Inspired by:
https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst


3) When that happens, could you check with neutron CLI that the network
> does really exist?
>

Which commands precisely do you think I need to check? For example:

---
root at controller:~# neutron net-show bb43d3f0-8c1a-4844-aaac-7068a6771588
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | bb43d3f0-8c1a-4844-aaac-7068a6771588 |
| name                      | Americanet - A85 - 4 Mbps            |
| provider:network_type     | vxlan                                |
| provider:physical_network |                                      |
| provider:segmentation_id  | 1                                    |
| router:external           | True                                 |
| shared                    | False                                |
| status                    | ACTIVE                               |
| subnets                   | 5d40ee39-6da8-48b4-a028-3cdd6ec329cf |
| tenant_id                 | f3d729002af648088718dfa15b106fb2     |
+---------------------------+--------------------------------------+
---

neutron net-external-list    # yes, it shows my external network

neutron net-list   # yes, it shows all my networks, 1 external, X tenants
subnets

neutron router-list   # yes, it shows all my routers


# Tenant Router that triggered the Dashboard error (BTW, all tenants are
currently facing the very same problem):

root at pcuaa-1:~# neutron router-show f572af38-cc50-4c9f-b863-5a167c0ec3d3
+-----------------------+-----------------------------------------------------------------------------+
| Field                 | Value
                          |
+-----------------------+-----------------------------------------------------------------------------+
| admin_state_up        | True
                           |
| external_gateway_info | {"network_id":
"bb43d3f0-8c1a-4844-aaac-7068a6771588", "enable_snat": true} |
| id                    | f572af38-cc50-4c9f-b863-5a167c0ec3d3
                           |
| name                  | Router #1
                          |
| routes                |
                          |
| status                | ACTIVE
                           |
| tenant_id             | 0a1a0228f84648c3a39f190212ab147b
                           |
+-----------------------+-----------------------------------------------------------------------------+

See it?! External Network IS there. I don't know why Dashboard is unable to
retrieve its info/status.


4) If it 3 == NO, could you check it's on the database itself?
>

If == YES they exists but, nevertheless, where should I check on the
database (db / tables)? Something is wrong here.


> >
> > After clicking on http://controller/project/routers/ with a Tenant User
> > (Member role) - Dashboard shows:
> >
> > "Something went wrong!
> >
> > An unexpected error has occurred. Try refreshing the page. If that
> doesn't
> > help, contact your local administrator."
> >
> > Apache error log shows:
> >
> > http://paste.openstack.org/show/57347/
> >
> >
> > Can someone help me, please?! I need to understand what's going on with
> my
> > cloud and fix it according... =)
> >
> > Thanks!
> > Thiago
> >
> >
> > On 22 December 2013 03:34, Martinx - ジェームズ < thiagocmartinsc at gmail.com >
> > wrote:
> >
> >
> >
> > Guys,
> >
> > I'm facing a weird problem here... I'm using "Per-Tenant Routers with
> Private
> > Networks" and, sometimes the "routers disappears" from the Dashboard and
> an
> > error is triggered when I try to access the page
> > http://controller/project/routers/ - look:
> >
> >
> > http://paste.openstack.org/show/55979/
> >
> >
> > Also, under /project/networks/, the Network Diagram doesn't show the
> External
> > Network, only the tenant cloud appear there, look:
> >
> > Missing External Network:
> >
> >
> >
> > What can I do?!
> >
> > Last time this happened, I restarted both controller and network node to
> fix
> > it but, this time, I can not put it to work anymore.
> >
> > Please, help!
> >
> > Tks
> > Thiago
> >
> >
> > _______________________________________________
> > 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
> >
>

Thanks,
Thiago
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131227/cf38894c/attachment.html>


More information about the Openstack mailing list