← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1404755] Re: midonet_lib.py contains a typo'd format parameter

 

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

** Changed in: neutron
    Milestone: None => kilo-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1404755

Title:
  midonet_lib.py contains a typo'd format parameter

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  In add_static_nat(...):

          LOG.debug("MidoClient.add_static_nat called: "
                    "tenant_id=%(tenant_id)s, chain_name=%(chain_name)s, "
                    "from_ip=%(from_ip)s, to_ip=%(to_ip)s, "
                    "port_id=%(port_id)s, nat_type=%(nat_type)s",
                    {'tenant_id': tenant_id, 'chain_name': chain_name,
                     'from_ip': from_ip, 'to_ip': to_ip,
                     'portid': port_id, 'nat_type': nat_type})

  Note port_id vs portid.  This line of code will raise a KeyError if
  debug logging is enabled.

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


References