conversion type missing in log message

Bug #1221036 reported by Kun Huang
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Kun Huang

Bug Description

target codes: (
  def provision_network(self, port_id, port_mac,
                          network_id, network_type,
                          physical_network, segmentation_id):"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"))
            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})
        data = {
            'physical_network': physical_network,
            'network_type': network_type,
            'ports': [],
            'vlan_id': segmentation_id}
        self.network_map[network_id] = data

Tags: neutron-core
Changed in neutron:
assignee: nobody → Kun Huang (academicgareth)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Undecided → Medium
Changed in neutron:
milestone: none → havana-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Submitter: Jenkins
Branch: master

commit ee26de1ed22fc67591a7b5465132f78af1f1c0f4
Author: Kun Huang <email address hidden>
Date: Thu Sep 5 14:20:23 2013 +0800

    fix conversion type missing

    Conversion type is missing in some places which would cause some
    unexcepted error. By using 'grep -rn "%(\w\+)\W"', we could find
    all cases of '%(variable_a)' and fix them.

    Change-Id: I05cbaac73976c70be8428bf5a2d0017ea7059cb3
    Closes-Bug: #1221036

Changed in neutron:
status: In Progress → Fix Committed
tags: added: neutron-core
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: havana-rc1 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers