← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1402514] [NEW] Nova API os-floating-ips doesn't support all_tenants

 

Public bug reported:

Nova client command supports --all-tenants (http://docs.openstack.org/cli-reference/content/novaclient_commands.html) but Nova API service doesn't support it even for Admin.
Here is an example:

stack@stack-cnt11:~/workspace/python-congressclient$ . ../tripleo-incubator/overcloudrc-user  # user: demo
stack@stack-cnt11:~/workspace/python-congressclient$ nova floating-ip-create
+------------+-----------+----------+---------+
| Ip | Server Id | Fixed Ip | Pool |
+------------+-----------+----------+---------+
| 192.0.2.49 | - | - | ext-net |
+------------+-----------+----------+---------+
stack@stack-cnt11:~/workspace/python-congressclient$ nova floating-ip-list  --all-tenants
+------------+-----------+------------+---------+
| Ip | Server Id | Fixed Ip | Pool |
+------------+-----------+------------+---------+
| 192.0.2.46 | - | 172.16.0.6 | ext-net |
| 192.0.2.49 | - | - | ext-net |
+------------+-----------+------------+---------+
stack@stack-cnt11:~/workspace/python-congressclient$ . ../tripleo-incubator/overcloudrc  # admin
stack@stack-cnt11:~/workspace/python-congressclient$ nova floating-ip-list  --all-tenants
+------------+-----------+----------+---------+
| Ip | Server Id | Fixed Ip | Pool |
+------------+-----------+----------+---------+
| 192.0.2.48 | - | - | ext-net |
+------------+-----------+----------+---------+

This impacts Congress Nova Driver to populate Floating IPs
(https://bugs.launchpad.net/congress/+bug/1376462).

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: floatingip

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1402514

Title:
  Nova API os-floating-ips doesn't support all_tenants

Status in OpenStack Compute (Nova):
  New

Bug description:
  Nova client command supports --all-tenants (http://docs.openstack.org/cli-reference/content/novaclient_commands.html) but Nova API service doesn't support it even for Admin.
  Here is an example:

  stack@stack-cnt11:~/workspace/python-congressclient$ . ../tripleo-incubator/overcloudrc-user  # user: demo
  stack@stack-cnt11:~/workspace/python-congressclient$ nova floating-ip-create
  +------------+-----------+----------+---------+
  | Ip | Server Id | Fixed Ip | Pool |
  +------------+-----------+----------+---------+
  | 192.0.2.49 | - | - | ext-net |
  +------------+-----------+----------+---------+
  stack@stack-cnt11:~/workspace/python-congressclient$ nova floating-ip-list  --all-tenants
  +------------+-----------+------------+---------+
  | Ip | Server Id | Fixed Ip | Pool |
  +------------+-----------+------------+---------+
  | 192.0.2.46 | - | 172.16.0.6 | ext-net |
  | 192.0.2.49 | - | - | ext-net |
  +------------+-----------+------------+---------+
  stack@stack-cnt11:~/workspace/python-congressclient$ . ../tripleo-incubator/overcloudrc  # admin
  stack@stack-cnt11:~/workspace/python-congressclient$ nova floating-ip-list  --all-tenants
  +------------+-----------+----------+---------+
  | Ip | Server Id | Fixed Ip | Pool |
  +------------+-----------+----------+---------+
  | 192.0.2.48 | - | - | ext-net |
  +------------+-----------+----------+---------+

  This impacts Congress Nova Driver to populate Floating IPs
  (https://bugs.launchpad.net/congress/+bug/1376462).

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1402514/+subscriptions


Follow ups

References