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 Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1376316

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

Status in neutron:
  Incomplete
Status in OpenStack Compute (nova):
  Invalid
Status in nova package in Ubuntu:
  In Progress

Bug description:
  1.
  $ lsb_release -rd
  Description:  Ubuntu 14.04 LTS
  Release:      14.04

  2.
  $ apt-cache policy python-novaclient 
  python-novaclient:
    Installed: 1:2.17.0-0ubuntu1
    Candidate: 1:2.17.0-0ubuntu1
    Version table:
   *** 1:2.17.0-0ubuntu1 0
          500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/main amd64 
Packages
          100 /var/lib/dpkg/status

  3. nova absolute-limits should report the correct value of allocated floating 
ips
  4. nova absolute-limits shows 0 floating ips when I have 5 allocated

  $ nova absolute-limits | grep Floating
  | totalFloatingIpsUsed    | 0      |
  | maxTotalFloatingIps     | 10     |

  $ nova floating-ip-list
  +---------------+-----------+------------+---------+
  | Ip            | Server Id | Fixed Ip   | Pool    |
  +---------------+-----------+------------+---------+
  | 10.98.191.146 |           | -          | ext_net |
  | 10.98.191.100 |           | 10.5.0.242 | ext_net |
  | 10.98.191.138 |           | 10.5.0.2   | ext_net |
  | 10.98.191.147 |           | -          | ext_net |
  | 10.98.191.102 |           | -          | ext_net |
  +---------------+-----------+------------+---------+

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: python-novaclient 1:2.17.0-0ubuntu1
  ProcVersionSignature: User Name 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.2
  Architecture: amd64
  Date: Wed Oct  1 15:19:08 2014
  Ec2AMI: ami-00000001
  Ec2AMIManifest: FIXME
  Ec2AvailabilityZone: nova
  Ec2InstanceType: m1.small
  Ec2Kernel: aki-00000002
  Ec2Ramdisk: ari-00000002
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python-novaclient
  UpgradeStatus: No upgrade log present (probably fresh install)

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to