When FIP is associated with a VIP, Clicking on instance details of FIP throws error

Bug #1369725 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Medium
Rudra Rugge
R1.1
Won't Fix
Medium
Rudra Rugge
R2.0
Won't Fix
Medium
Rudra Rugge
R2.1
Won't Fix
Medium
Rudra Rugge
Trunk
Won't Fix
Medium
Rudra Rugge

Bug Description

R1.10 LB build 8

In Lbaas, the the LB frontend IP (VIP) is given a floating ip 10.204.219.67

In horizon, Floating IPs page, the FIP is shown, but with no instance ip associated with it. (there is "-" hyperlink in that cell in the table )

On clicking it, it throws the below error :

Unable to retrieve details for instance "default-domain__admin__4a58ca68-5fc5-4e54-ac53-342bd5608505_1".

apache2/error.log:
===================
[Mon Sep 15 19:36:28 2014] [error] Not Found: Instance could not be found (HTTP 404) (Request-ID: req-bb0bf265-c311-4339-a06d-710e3f61478b)
[Mon Sep 15 19:36:28 2014] [error] Traceback (most recent call last):
[Mon Sep 15 19:36:28 2014] [error] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/views.py", line 224, in get_data
[Mon Sep 15 19:36:28 2014] [error] instance = api.nova.server_get(self.request, instance_id)
[Mon Sep 15 19:36:28 2014] [error] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 489, in server_get
[Mon Sep 15 19:36:28 2014] [error] return Server(novaclient(request).servers.get(instance_id), request)
[Mon Sep 15 19:36:28 2014] [error] File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 370, in get
[Mon Sep 15 19:36:28 2014] [error] return self._get("/servers/%s" % base.getid(server), "server")
[Mon Sep 15 19:36:28 2014] [error] File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 140, in _get
[Mon Sep 15 19:36:28 2014] [error] _resp, body = self.api.client.get(url)
[Mon Sep 15 19:36:28 2014] [error] File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 229, in get
[Mon Sep 15 19:36:28 2014] [error] return self._cs_request(url, 'GET', **kwargs)
[Mon Sep 15 19:36:28 2014] [error] File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 213, in _cs_request
[Mon Sep 15 19:36:28 2014] [error] **kwargs)
[Mon Sep 15 19:36:28 2014] [error] File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 195, in _time_request
[Mon Sep 15 19:36:28 2014] [error] resp, body = self.request(url, method, **kwargs)
[Mon Sep 15 19:36:28 2014] [error] File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 189, in request
[Mon Sep 15 19:36:28 2014] [error] raise exceptions.from_response(resp, body, url, method)
[Mon Sep 15 19:36:28 2014] [error] NotFound: Instance could not be found (HTTP 404) (Request-ID: req-bb0bf265-c311-4339-a06d-710e3f61478b)

root@nodec22:/opt/contrail# neutron floatingip-list
+--------------------------------------+------------------+---------------------+--------------------------------------+
| id | fixed_ip_address | floating_ip_address | port_id |
+--------------------------------------+------------------+---------------------+--------------------------------------+
| 01807b32-79c8-407f-8399-a824d799807f | 101.1.1.4 | 10.204.219.67 | 5b90a4e2-238e-4f4f-9112-3a1064eac3da |
+--------------------------------------+------------------+---------------------+--------------------------------------+
root@nodec22:/opt/contrail# nova list
+--------------------------------------+--------------+--------+------------+-------------+-------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+--------------+--------+------------+-------------+-------------------------+
| 05cf0e9a-2402-4f67-b49e-7789a978e411 | backend_vm1 | ACTIVE | None | Running | backend=100.1.1.2 |
| b661a10b-b778-416b-93ec-be08c2e389df | backend_vm2 | ACTIVE | None | Running | backend=100.1.1.3 |
| 7e2d4f09-0546-453c-b54c-08e1ea76590a | backend_vm3 | ACTIVE | None | Running | backend=100.1.1.5 |
| 75bd0cb7-fada-4254-8692-5a49750fbe8f | frontend_vm1 | ACTIVE | None | Running | frontend=101.1.1.2 |
| acd518d1-7d5f-4908-8168-9eab8a098704 | public_vm1 | ACTIVE | None | Running | public_vn=10.204.219.68 |
+--------------------------------------+--------------+--------+------------+-------------+-------------------------+
root@nodec22:/opt/contrail# neutron port-list |grep 4a58
| 0abd5810-dfa7-45b4-85c4-15a59e63cc0d | 4a58ca68-5fc5-4e54-ac53-342bd5608505_1-left | 02:0a:bd:58:10:df | {"subnet_id": "afdbe6b6-7dc1-4e5b-b3ca-e22b09fcd9db", "ip_address": "100.1.1.6", "port_id": "0abd5810-dfa7-45b4-85c4-15a59e63cc0d", "net_id": "970fa944-226c-40eb-b83f-a0b33d419eb3"} |
| 5b90a4e2-238e-4f4f-9112-3a1064eac3da | 4a58ca68-5fc5-4e54-ac53-342bd5608505_1-right | 02:5b:90:a4:e2:23 | {"subnet_id": "5954b4c5-f9ec-45af-9c87-aaad6e32eb39", "ip_address": "101.1.1.4", "port_id": "5b90a4e2-238e-4f4f-9112-3a1064eac3da", "net_id": "e49f59b6-2206-4c96-b941-a3b9f5d2e8a2"} |
root@nodec22:/opt/contrail#

root@nodec22:/opt/contrail# neutron port-list |grep 5b90a4e2
| 5b90a4e2-238e-4f4f-9112-3a1064eac3da | 4a58ca68-5fc5-4e54-ac53-342bd5608505_1-right | 02:5b:90:a4:e2:23 | {"subnet_id": "5954b4c5-f9ec-45af-9c87-aaad6e32eb39", "ip_address": "101.1.1.4", "port_id": "5b90a4e2-238e-4f4f-9112-3a1064eac3da", "net_id": "e49f59b6-2206-4c96-b941-a3b9f5d2e8a2"} |
root@nodec22:/opt/contrail# neutron lb-pool-list
+--------------------------------------+---------+-------------+----------+----------------+--------+
| id | name | lb_method | protocol | admin_state_up | status |
+--------------------------------------+---------+-------------+----------+----------------+--------+
| 2a4deae6-430c-4479-823d-b9a417fa6822 | mypool | ROUND_ROBIN | HTTP | True | ACTIVE |
| 4a58ca68-5fc5-4e54-ac53-342bd5608505 | sshpool | ROUND_ROBIN | TCP | True | ACTIVE |
+--------------------------------------+---------+-------------+----------+----------------+--------+
root@nodec22:/opt/contrail#
root@nodec22:/opt/contrail# neutron lb-pool-show sshpool
+-----------------+--------------------------------------+
| Field | Value |
+-----------------+--------------------------------------+
| admin_state_up | True |
| description | |
| health_monitors | f33321a2-bd60-45c3-8681-eea537789e57 |
| id | 4a58ca68-5fc5-4e54-ac53-342bd5608505 |
| lb_method | ROUND_ROBIN |
| members | 19799e59-351a-492e-af6a-ea5baba72f89 |
| | 4aa840a7-beb9-4119-95fb-626342cc4ed8 |
| name | sshpool |
| protocol | TCP |
| provider | opencontrail |
| status | ACTIVE |
| subnet_id | afdbe6b6-7dc1-4e5b-b3ca-e22b09fcd9db |
| tenant_id | 7d68cc1e-46f2-4d9a-9989-2163e17b5e82 |
| vip_id | 6beff53a-6903-4b3f-84f5-e75c014c3f61 |
+-----------------+--------------------------------------+
root@nodec22:/opt/contrail#

root@nodec22:/opt/contrail# neutron lb-vip-show 6beff53a-6903-4b3f-84f5-e75c014c3f61
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| address | 101.1.1.4 |
| admin_state_up | True |
| connection_limit | -1 |
| description | |
| id | 6beff53a-6903-4b3f-84f5-e75c014c3f61 |
| name | sshvip |
| pool_id | 4a58ca68-5fc5-4e54-ac53-342bd5608505 |
| port_id | 38cb8200-8825-402f-b11a-b7ccfe804dac |
| protocol | TCP |
| protocol_port | 22 |
| session_persistence | |
| status | ACTIVE |
| subnet_id | 5954b4c5-f9ec-45af-9c87-aaad6e32eb39 |
| tenant_id | 7d68cc1e-46f2-4d9a-9989-2163e17b5e82 |
+---------------------+--------------------------------------+
root@nodec22:/opt/contrail#

information type: Proprietary → Public
tags: added: releasenote
Revision history for this message
Rahul (rahuls) wrote :

Release Note:
Horizon expects an instance (VM) for LBaaS, but Contrail Solution does not launch an instance (VM) for LBaaS.

Clicking on Floating IP's associated to LBaaS owned ports in Floating IP page will show harmless error message.

Rahul (rahuls)
tags: added: horizon
removed: ui
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.