← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1477737] [NEW] neutronv2 api validate_networks method has incorrect formatting for PortLimitExceeded

 

Public bug reported:

http://git.openstack.org/cgit/openstack/nova/tree/nova/network/neutronv2/api.py?id=12.0.0.0b1#n1135

This is using args for creating a Message object like it's calling a log
statement, which isn't correct.

                    msg = (_("The number of defined ports: %(ports)d"
                                      "is over the limit: %(quota)d"),
                                      {'ports': len(ports),
                                       'quota': quotas.get('port')})
                    raise exception.PortLimitExceeded(msg)

** Affects: nova
     Importance: Medium
     Assignee: Davanum Srinivas (DIMS) (dims-v)
         Status: In Progress


** Tags: kilo-backport-potential network

** Tags added: kilo-backport-potential

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

Title:
  neutronv2 api validate_networks method has incorrect formatting for
  PortLimitExceeded

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  http://git.openstack.org/cgit/openstack/nova/tree/nova/network/neutronv2/api.py?id=12.0.0.0b1#n1135

  This is using args for creating a Message object like it's calling a
  log statement, which isn't correct.

                      msg = (_("The number of defined ports: %(ports)d"
                                        "is over the limit: %(quota)d"),
                                        {'ports': len(ports),
                                         'quota': quotas.get('port')})
                      raise exception.PortLimitExceeded(msg)

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


Follow ups