nova neutron proxy reports incorrect data

Bug #1425595 reported by James E. Blair
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Low
Unassigned

Bug Description

When using the nova proxy to neutron and a floating IP is attached, nova does not report the server ID for the floating IP:

[root@cos-st-bigsky ~(keystone_admin)]# nova floating-ip-list
+---------------+-----------+-----------+--------+
| Ip | Server Id | Fixed Ip | Pool |
+---------------+-----------+-----------+--------+
| 10.20.216.230 | - | 10.0.0.33 | public |
| 10.20.216.235 | - | 10.0.0.7 | public |
+---------------+-----------+-----------+--------+

However, the neutron API does report the server ID. Also, curiously, the correct fixed IP for the server is reported.

Revision history for this message
Richard Hedlind (richard-hedlind) wrote :

Another example showing both nova and neutron output:

[root@cos-st-bigsky ~(keystone_admin)]# neutron floatingip-list
+--------------------------------------+------------------+---------------------+--------------------------------------+
| id | fixed_ip_address | floating_ip_address | port_id |
+--------------------------------------+------------------+---------------------+--------------------------------------+
| 7701a7f2-365f-4eac-b498-f24f50ec6bdf | 10.0.0.34 | 10.20.216.231 | 26d6b577-c6f5-47d4-99a5-ed716ed3e020 |
| 8e2c18bc-3fd2-479e-b905-67f64eacd09c | 10.0.0.7 | 10.20.216.235 | 3fc8990e-e037-45ad-8cee-52bfe0aca5db |
+--------------------------------------+------------------+---------------------+--------------------------------------+
[root@cos-st-bigsky ~(keystone_admin)]# nova floating-ip-list
+---------------+-----------+-----------+--------+
| Ip | Server Id | Fixed Ip | Pool |
+---------------+-----------+-----------+--------+
| 10.20.216.231 | - | 10.0.0.34 | public |
| 10.20.216.235 | - | 10.0.0.7 | public |
+---------------+-----------+-----------+--------+

Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Liyingjun (liyingjun)
Changed in nova:
assignee: nobody → Liyingjun (liyingjun)
Revision history for this message
Liyingjun (liyingjun) wrote :

Can't reproduce with master branch:

stacker@stack:/opt/stack/devstack$ nova floating-ip-list
+------------+--------------------------------------+----------+--------+
| Ip | Server Id | Fixed Ip | Pool |
+------------+--------------------------------------+----------+--------+
| 172.24.4.5 | 6fb5f333-8d44-4683-9f3e-42f61eb9a299 | 20.0.0.2 | public |
| 172.24.4.4 | - | - | public |
+------------+--------------------------------------+----------+--------+
stacker@stack:/opt/stack/devstack$ neutron floatingip-list
+--------------------------------------+------------------+---------------------+--------------------------------------+
| id | fixed_ip_address | floating_ip_address | port_id |
+--------------------------------------+------------------+---------------------+--------------------------------------+
| 3f536b15-0d86-4df7-8f58-d5208acc8815 | 20.0.0.2 | 172.24.4.5 | 1e3a99ae-39cc-48ad-9439-b343a9ce8d79 |
| 619ec0e6-062b-4baa-a229-b2a8055df5c4 | | 172.24.4.4 | |
+--------------------------------------+------------------+---------------------+--------------------------------------+

Changed in nova:
assignee: Liyingjun (liyingjun) → nobody
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.