← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1221036] Re: conversion type missing in log message

 

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

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

Title:
  conversion type missing in log message

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

Bug description:
  target codes: (https://github.com/openstack/neutron/blob/master/neutron/plugins/mlnx/agent/eswitch_neutron_agent.py)
    def provision_network(self, port_id, port_mac,
                            network_id, network_type,
                            physical_network, segmentation_id):
          LOG.info(_("Provisioning network %s"), network_id)
          if network_type == constants.TYPE_VLAN:
              LOG.debug(_("creating VLAN Network"))
          elif network_type == constants.TYPE_IB:
              LOG.debug(_("creating IB Network"))
          else:
              LOG.error(_("Unknown network type %(network_type) "      <======== miss a conversion type here like 's'
                          "for network %(network_id)"),                                          <======== miss a conversion type here like 's'
                        {'network_type': network_type,
                         'network_id': network_id})
              return
          data = {
              'physical_network': physical_network,
              'network_type': network_type,
              'ports': [],
              'vlan_id': segmentation_id}
          self.network_map[network_id] = data

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