floating-ip-list all tenants does not list out floating ip's of other tenant

Bug #1465200 reported by Ritesh Paiboina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Low
Artom Lifshitz

Bug Description

When we use all tenants option to list out floating ip's of all tenants, the floating ip list command is not showing any list of floating ips of other tenant.

Sourced, admin username and admin project, then I have given the following command :

ritesh@Cloud58:~$ nova floating-ip-list --all-tenants
+----+----+-----------+----------+------+
| Id | IP | Server Id | Fixed IP | Pool |
+----+----+-----------+----------+------+
+----+----+-----------+----------+------+

But,

nova list --all-tenants 1
+--------------------------------------+------+----------------------------------+--------+------------+-------------+--------------------------------+
| ID | Name | Tenant ID | Status | Task State | Power State | Networks |
+--------------------------------------+------+----------------------------------+--------+------------+-------------+--------------------------------+
| af6f9a1e-e6dc-4d5d-b115-fd186c3c055b | test | 5ce1e8e17d874aa3a509e0c16f3c48ff | ACTIVE | - | Running | private=10.0.0.3, 172.24.4.201 |
+--------------------------------------+------+----------------------------------+--------+------------+-------------+--------------------------------+

Actually floating ip is assigned to a instance of tenant demo.

ritesh@Cloud58:~$ nova floating-ip-list
+--------------------------------------+--------------+--------------------------------------+----------+--------+
| Id | IP | Server Id | Fixed IP | Pool |
+--------------------------------------+--------------+--------------------------------------+----------+--------+
| 53218853-263f-4e09-92d8-bfea55baa984 | 172.24.4.201 | af6f9a1e-e6dc-4d5d-b115-fd186c3c055b | 10.0.0.3 | public |
+--------------------------------------+--------------+--------------------------------------+----------+--------+

Changed in python-novaclient:
assignee: nobody → Ritesh (rsritesh)
Revision history for this message
melanie witt (melwitt) wrote :

Hi Ritesh, thanks for the bug report. You have unfortunately stumbled upon the fact that Nova API doesn't support an "all tenants" query (it was reverted at some point) but novaclient was not reverted at the same time. Please see this spec for details: https://review.openstack.org/#/c/171389/

The "all tenants" functionality should be removed from novaclient until support is added back to Nova API.

Changed in python-novaclient:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
melanie witt (melwitt) wrote :

The --all-tenants functionality has been reverted out of novaclient by:

https://review.openstack.org/#/c/191941/

Changed in python-novaclient:
assignee: Ritesh (rsritesh) → Artom Lifshitz (notartom)
status: Triaged → Fix Committed
Revision history for this message
Ritesh Paiboina (rsritesh) wrote :

Thanks Melanie,
Lets remove it , until we get back support for this in Nova.

Revision history for this message
Ritesh Paiboina (rsritesh) wrote :

I think this has impact on following bug also

https://bugs.launchpad.net/python-novaclient/+bug/1272494

Revision history for this message
melanie witt (melwitt) wrote :

Thanks Ritesh. I have updated the related bugs as "Wishlist" since they are requests for and/or depend on new features/API changes in Nova.

Changed in python-novaclient:
milestone: none → 2.27.0
status: Fix Committed → Fix Released
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.