← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1289134] [NEW] BigSwitch: Cfg.error call formatted incorrectly

 

Public bug reported:

In an exception handling case a config error is raised; however, the
call is currently formatted incorrectly. It passes the details as a
second parameter rather than performing the string formatting in place.

It also refers to strerror, which may not be present on all exception
types that could be raised during the certificate retrieval.

https://github.com/openstack/neutron/blob/7255e056092f034daaeb4246a812900645d46911/neutron/plugins/bigswitch/servermanager.py#L358

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

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

Title:
  BigSwitch: Cfg.error call formatted incorrectly

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  In an exception handling case a config error is raised; however, the
  call is currently formatted incorrectly. It passes the details as a
  second parameter rather than performing the string formatting in
  place.

  It also refers to strerror, which may not be present on all exception
  types that could be raised during the certificate retrieval.

  https://github.com/openstack/neutron/blob/7255e056092f034daaeb4246a812900645d46911/neutron/plugins/bigswitch/servermanager.py#L358

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


Follow ups

References