← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1268569] Re: Double removal of floating IP in nova-network

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-1

-- 
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/1268569

Title:
  Double removal of floating IP in nova-network

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  It is possible to send two DELETE requests via api and
  in_use.floating_ips will be decreased by two. It can be changed even
  to value below zero:

  Logs:
  <182>Dec 19 17:52:08 node-2 nova-nova.osapi_compute.wsgi.server INFO: 172.16.0.2 "DELETE /v2/46f4516b6fbd461eb30f17409
  36c2167/os-floating-ips/1 HTTP/1.1" status: 202 len: 209 time: 0.0797279
  <182>Dec 19 17:52:08 node-2 nova-nova.osapi_compute.wsgi.server INFO: (19517) accepted ('172.16.0.2', 47613)
  <182>Dec 19 17:52:08 node-2 nova-nova.osapi_compute.wsgi.server INFO: 172.16.0.2 "DELETE /v2/46f4516b6fbd461eb30f17409
  36c2167/os-floating-ips/1 HTTP/1.1" status: 202 len: 209 time: 0.0804379
  <182>Dec 19 17:52:08 node-2 nova-nova.osapi_compute.wsgi.server INFO: (19517) accepted ('172.16.0.2', 47615)
  <0>Dec 19 17:52:08 node-2 <BF><180>nova-nova.db.sqlalchemy.api WARNING: Change will make usage less than 0 for the fol
  lowing resources: ['floating_ips']

  Database:
  mysql> select resource,in_use from quota_usages;
  +-----------------+--------+
  | resource | in_use |
  +-----------------+--------+
  | security_groups | 0 |
  | instances | 0 |
  | ram | 0 |
  | cores | 0 |
  | fixed_ips | 0 |
  | floating_ips | -1 |
  +-----------------+--------+
  6 rows in set (0.00 sec)

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


References