[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2017-02-16 Thread Sorin Sbârnea
Can someone explain me how am I supposed to read totalFloatingIpsUsed value 
using the API? At this moment I get these:
```
openstack limits show --absolute | grep Floating
| totalFloatingIpsUsed |  0 |
| maxTotalFloatingIps  |300 |
```
While I do know for sure that I do have already allocated floating IPs, which 
are visible in horizon. Still, using the openstack cli (not old nova cli), I 
only get a valid value only for maxTotal but total is wrongly reported as zero.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2016-09-16 Thread Sivasathurappan Radhakrishnan
we should not be tracking usage of security groups in Nova when using
Neutron. Below patch is filtering out network related limits from API
response.

https://review.openstack.org/#/c/344947/7

you can check this by trying out curl request with OpenStack-API-Version: 
compute 2.36
curl -g -i -X GET http://192.168.0.31:8774/v2.1/limits -H 
"OpenStack-API-Version: compute 2.36" -H "Accept: application/json" -H 
"X-OpenStack-Nova-API-Version: 2.32" -H "X-Auth-Token: $OS_TOKEN"

** Changed in: nova
   Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2016-09-15 Thread Anusha Unnam
** Changed in: nova
 Assignee: Anusha Unnam (anusha-unnam) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2016-09-14 Thread Anusha Unnam
** Changed in: nova
 Assignee: (unassigned) => Anusha Unnam (anusha-unnam)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2016-04-20 Thread Jeremy Stanley
** Information type changed from Public Security to Public

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2016-04-20 Thread Ivo
We are developing internal project that works with quotas on project/tenant 
level. We are using REST API's for that purpose.
Right now we are trying to calculate usage of floating IP's. So I found this 
thread. I can confirm that this issue is still valid in Liberty release. 

Does anyone found any workaround to get totalFloatingIpsUsed via REST API? 
For maxTotalFloatingIps  we used 
http://developer.openstack.org/api-ref-networking-v2-ext.html#quotas-ext
but cannot find anything similar for totalFloatingIpsUsed 

Any hints what can be used or are there any plans this to be fixed soon?

@Marian Horban (mhorban)

** Information type changed from Public to Public Security

** Information type changed from Public Security to Private Security

** Information type changed from Private Security to Public Security

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2016-03-11 Thread Armando Migliaccio
This bug is > 172 days without activity. We are unsetting assignee and
milestone and setting status to Incomplete in order to allow its expiry
in 60 days.

If the bug is still valid, then update the bug status.

** Changed in: neutron
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2016-03-11 Thread Armando Migliaccio
This bug is > 172 days without activity. We are unsetting assignee and
milestone and setting status to Incomplete in order to allow its expiry
in 60 days.

If the bug is still valid, then update the bug status.

** Changed in: neutron
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2015-08-12 Thread Satyanarayana Patibandla
** Changed in: nova (Ubuntu)
   Status: Triaged = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2015-08-12 Thread Satyanarayana Patibandla
** Changed in: nova (Ubuntu)
   Status: Triaged = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2015-08-05 Thread Marian Horban
The root cause of this problem is that we have different quota drivers for nova 
and for neutron. These quota drivers could use different DB tables. 
When we run command
nova absolute-limits
nova uses it own quota driver. But when we allocate floating ip neutron's quota 
driver is used to decide if quota is exceeded.
Right now in nova we using nova quota driver directly 
nova/api/openstack/compute/contrib/used_limits.py:
quotas = QUOTAS.get_project_quotas(context, project_id, usages=True)
This is not correct behavior for parameters like totalFloatingIpsUsed.
Interface class NetworkAPI(nova/network/base_api.py) should be used to get info 
about network configuration. Method NetworkAPI::get_floating_ips_by_project() 
clould be used to get totalFloatingIpsUsed parameter.
To return of maxTotalFloatingIps parameter I suppose additional method should 
be added in NetworkAPI class. Something like
get_floating_ip_quota()
This method should be implemented for nova-network and for neutron.

** Changed in: nova
   Status: New = Confirmed

** Changed in: nova
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2015-08-05 Thread Marian Horban
** Changed in: nova
   Status: Confirmed = Triaged

** Also affects: neutron
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2015-08-05 Thread Marian Horban
The root cause of this problem is that we have different quota drivers for nova 
and for neutron. These quota drivers could use different DB tables. 
When we run command
nova absolute-limits
nova uses it own quota driver. But when we allocate floating ip neutron's quota 
driver is used to decide if quota is exceeded.
Right now in nova we using nova quota driver directly 
nova/api/openstack/compute/contrib/used_limits.py:
quotas = QUOTAS.get_project_quotas(context, project_id, usages=True)
This is not correct behavior for parameters like totalFloatingIpsUsed.
Interface class NetworkAPI(nova/network/base_api.py) should be used to get info 
about network configuration. Method NetworkAPI::get_floating_ips_by_project() 
clould be used to get totalFloatingIpsUsed parameter.
To return of maxTotalFloatingIps parameter I suppose additional method should 
be added in NetworkAPI class. Something like
get_floating_ip_quota()
This method should be implemented for nova-network and for neutron.

** Changed in: nova
   Status: New = Confirmed

** Changed in: nova
   Importance: Undecided = Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2015-08-05 Thread Marian Horban
** Changed in: nova
   Status: Confirmed = Triaged

** Also affects: neutron
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2015-07-30 Thread Satyanarayana Patibandla
** Changed in: nova (Ubuntu)
 Assignee: (unassigned) = Satyanarayana Patibandla (satya-patibandla)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1376316] Re: nova absolute-limits floating ip count is incorrect in a neutron based deployment

2015-07-30 Thread Satyanarayana Patibandla
** Changed in: nova (Ubuntu)
 Assignee: (unassigned) = Satyanarayana Patibandla (satya-patibandla)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1376316

Title:
  nova absolute-limits floating ip count is incorrect in a neutron based
  deployment

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs