<div dir="ltr">Hello Miguel,<div><br></div><div>Thank you for your reply!    =)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Answers are bellow...<br><br><div class="gmail_quote">On 27 December 2013 06:12, Miguel Angel Ajo Pelayo <span dir="ltr"><<a href="mailto:mangelajo@redhat.com" target="_blank">mangelajo@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
Hi Martinx,<br>
<br>
> From: "Martinx - ジェームズ" <<a href="mailto:thiagocmartinsc@gmail.com">thiagocmartinsc@gmail.com</a>><br>
> To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Sent: Friday, December 27, 2013 7:56:35 AM<br>
> Subject: Re: [Openstack] Neutron Router disappeared from Dashboard,   but tenant works<br>
<div class="im">><br>
> Guys,<br>
><br>
> After clicking on a "Tenant Router", like this:<br>
><br>
> <a href="http://controller/project/routers/f572af38-cc50-4c9f-b863-5a167c0ec3d3/" target="_blank">http://controller/project/routers/f572af38-cc50-4c9f-b863-5a167c0ec3d3/</a><br>
><br>
><br>
> I'm seeing the following error:<br>
><br>
><br>
> Error: Unable to retrieve an external network<br>
> "bb43d3f0-8c1a-4844-aaac-7068a6771588".<br>
><br>
> But, this is very weird, since this Tenant Router IS connected to the<br>
> External Network right now! It just disappeared from some parts of OpenStack<br>
> (it still works but I am unable to see it).<br>
><br>
> Neutron log shows:<br>
><br>
> <a href="http://paste.openstack.org/show/57348/" target="_blank">http://paste.openstack.org/show/57348/</a><br>
<br>
</div>I'm not sure, but it looks to me like if it couldn't really find the resource in the database.<br>
<br>
a few questions:<br>
<br>
1) Which version of neutron & Horizon are you using?<br></blockquote><div><br></div><div>Havana on top of Ubuntu 12.04.3, from Ubuntu Cloud Archives, latest version from there (2013.2).</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


2) Is the database in the same host?, some kind of special configuration, HA, etc?<br></blockquote><div><br></div><div>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).</div>

<div><br></div><div>No special configuration, I followed this guide: <a href="http://docs.openstack.org/havana/install-guide/install/apt/content/">http://docs.openstack.org/havana/install-guide/install/apt/content/</a></div>

<div><br></div><div>No HA... It is a very basic setup BTW... 1 controller, 1 network node, 2 compute nodes.</div><div><br></div><div>Environment Inspired by: <a href="https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst">https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst</a></div>

<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
3) When that happens, could you check with neutron CLI that the network does really exist?<br></blockquote><div><br></div><div>Which commands precisely do you think I need to check? For example:</div><div><br></div><div>

---</div><div><div>root@controller:~# neutron net-show bb43d3f0-8c1a-4844-aaac-7068a6771588</div><div>+---------------------------+--------------------------------------+</div><div>| Field                     | Value                                |</div>

<div>+---------------------------+--------------------------------------+</div><div>| admin_state_up            | True                                 |</div><div>| id                        | bb43d3f0-8c1a-4844-aaac-7068a6771588 |</div>

<div>| name                      | Americanet - A85 - 4 Mbps            |</div><div>| provider:network_type     | vxlan                                |</div><div>| provider:physical_network |                                      |</div>

<div>| provider:segmentation_id  | 1                                    |</div><div>| router:external           | True                                 |</div><div>| shared                    | False                                |</div>

<div>| status                    | ACTIVE                               |</div><div>| subnets                   | 5d40ee39-6da8-48b4-a028-3cdd6ec329cf |</div><div>| tenant_id                 | f3d729002af648088718dfa15b106fb2     |</div>

<div>+---------------------------+--------------------------------------+</div></div><div>---</div><div><br></div><div>neutron net-external-list    # yes, it shows my external network<br></div><div><br></div><div>neutron net-list   # yes, it shows all my networks, 1 external, X tenants subnets<br>

</div><div><br></div><div>neutron router-list   # yes, it shows all my routers<br></div><div><br></div><div><br></div><div># Tenant Router that triggered the Dashboard error (BTW, all tenants are currently facing the very same problem):</div>

<div><br></div><div><div>root@pcuaa-1:~# neutron router-show f572af38-cc50-4c9f-b863-5a167c0ec3d3</div><div>+-----------------------+-----------------------------------------------------------------------------+</div><div>

| Field                 | Value                                                                       |</div><div>+-----------------------+-----------------------------------------------------------------------------+</div>

<div>| admin_state_up        | True                                                                        |</div><div>| external_gateway_info | {"network_id": "bb43d3f0-8c1a-4844-aaac-7068a6771588", "enable_snat": true} |</div>

<div>| id                    | f572af38-cc50-4c9f-b863-5a167c0ec3d3                                        |</div><div>| name                  | Router #1                                                                   |</div>

<div>| routes                |                                                                             |</div><div>| status                | ACTIVE                                                                      |</div>

<div>| tenant_id             | 0a1a0228f84648c3a39f190212ab147b                                            |</div><div>+-----------------------+-----------------------------------------------------------------------------+</div>

</div><div><br></div><div>See it?! External Network IS there. I don't know why Dashboard is unable to retrieve its info/status.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


4) If it 3 == NO, could you check it's on the database itself?<br></blockquote><div><br></div><div>If == YES they exists but, nevertheless, where should I check on the database (db / tables)? Something is wrong here.</div>

<div><div><br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im"><br>
><br>
> After clicking on <a href="http://controller/project/routers/" target="_blank">http://controller/project/routers/</a> with a Tenant User<br>
> (Member role) - Dashboard shows:<br>
><br>
> "Something went wrong!<br>
><br>
> An unexpected error has occurred. Try refreshing the page. If that doesn't<br>
> help, contact your local administrator."<br>
><br>
> Apache error log shows:<br>
><br>
> <a href="http://paste.openstack.org/show/57347/" target="_blank">http://paste.openstack.org/show/57347/</a><br>
><br>
><br>
> Can someone help me, please?! I need to understand what's going on with my<br>
> cloud and fix it according... =)<br>
><br>
> Thanks!<br>
> Thiago<br>
><br>
><br>
> On 22 December 2013 03:34, Martinx - ジェームズ < <a href="mailto:thiagocmartinsc@gmail.com">thiagocmartinsc@gmail.com</a> ><br>
> wrote:<br>
><br>
><br>
><br>
> Guys,<br>
><br>
> I'm facing a weird problem here... I'm using "Per-Tenant Routers with Private<br>
> Networks" and, sometimes the "routers disappears" from the Dashboard and an<br>
> error is triggered when I try to access the page<br>
> <a href="http://controller/project/routers/" target="_blank">http://controller/project/routers/</a> - look:<br>
><br>
><br>
> <a href="http://paste.openstack.org/show/55979/" target="_blank">http://paste.openstack.org/show/55979/</a><br>
><br>
><br>
> Also, under /project/networks/, the Network Diagram doesn't show the External<br>
> Network, only the tenant cloud appear there, look:<br>
><br>
> Missing External Network:<br>
><br>
><br>
><br>
</div><div class="im">> What can I do?!<br>
><br>
> Last time this happened, I restarted both controller and network node to fix<br>
> it but, this time, I can not put it to work anymore.<br>
><br>
> Please, help!<br>
><br>
> Tks<br>
> Thiago<br>
><br>
><br>
</div>> _______________________________________________<br>
> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
><br>
</blockquote></div><br></div><div class="gmail_extra"><div><div>Thanks,</div><div>Thiago</div></div></div></div>