yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02125
[Bug 1103324] Re: NoMoreFloatingIps with stack information responsed
** Changed in: nova/folsom
Status: Fix Committed => Fix Released
--
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/1103324
Title:
NoMoreFloatingIps with stack information responsed
Status in OpenStack Compute (Nova):
Fix Released
Status in OpenStack Compute (nova) folsom series:
Fix Released
Bug description:
Allocate a floating IP when no floating IPs available, although HTTP code is correct,
exception message with stack information is responsed which may be not friendly.
{
"itemNotFound": {
"code": 404,
"message": "NoMoreFloatingIps_Remote: Zero floating ips available.\nTraceback (most recent call last):\n\n File \"path/nova/openstack/common/rpc/amqp.py\", line 275, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, **args)\n\n File \"path/nova/openstack/common/rpc/dispatcher.py\", line 145, in dispatch\n return getattr(proxyobj, method)(ctxt, **kwargs)\n\n File \"path/nova/network/manager.py\", line 279, in wrapped\n return func(self, context, *args, **kwargs)\n\n File \"path/nova/network/manager.py\", line 481, in allocate_floating_ip\n QUOTAS.rollback(context, reservations)\n\n File \"/usr/lib/python2.7/contextlib.py\", line 24, in __exit__\n self.gen.next()\n\n File \"path/nova/network/manager.py\", line 468, in allocate_floating_ip\n pool)\n\n File \"path/nova/db/api.py\", line 277, in floating_ip_allocate_address\n return IMPL.floating_ip_allocate_address(context, project_id, pool)\n\n File \"path/nova/db/sqlalchemy/api.py\", line 131, in wrapper\n return f(*args, **kwargs)\n\n File \"path/nova/db/sqlalchemy/api.py\", line 744, in floating_ip_allocate_address\n raise exception.NoMoreFloatingIps()\n\nNoMoreFloatingIps: Zero floating ips available.\n"
}
}
The problem also meet when FloatingIpLimitExceeded raised.
{
"overLimit": {
"code": 413,
"message": "FloatingIpLimitExceeded_Remote: Maximum number of floating ips exceeded\nTraceback (most recent call last):\n\n File \"path/nova/openstack/common/rpc/amqp.py\", line 275, in _process_data\n rval = self.proxy.dispatch(ctxt, version, method, **args)\n\n File \"path/nova/openstack/common/rpc/dispatcher.py\", line 145, in dispatch\n return getattr(proxyobj, method)(ctxt, **kwargs)\n\n File \"path/nova/network/manager.py\", line 279, in wrapped\n return func(self, context, *args, **kwargs)\n\n File \"path/nova/network/manager.py\", line 463, in allocate_floating_ip\n raise exception.FloatingIpLimitExceeded()\n\nFloatingIpLimitExceeded: Maximum number of floating ips exceeded\n",
"retryAfter": 0
}
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1103324/+subscriptions