← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1425343] Re: KeyErrors in NovaException message format during unit test runs

 

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

** Changed in: nova
    Milestone: None => kilo-3

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

Title:
  KeyErrors in NovaException message format during unit test runs

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  For example:

  http://logs.openstack.org/88/158888/1/check/gate-nova-
  python27/dd00931/console.html#_2015-02-24_22_20_22_065

  2015-02-24 22:20:21.882 | 2015-02-24 22:20:20.673 11397 ERROR nova.exception [-] instance: 1
  2015-02-24 22:20:21.912 | 2015-02-24 22:ei2Fi = oleself0m "n.m.ovan sg_fm[-664/tt20:20  .673 1%1397 E 0:2 1130.73kRROR nwova.exace91 Trgptions
  2015-02-24 22:20:21.918 | 201]51 11  -399 ETRAC[-xE nov]ca.exc eeptie% kwargs
  2015-02-24 22:20:21.945 | 2015-02-24 22:20:20.659 RACEop1138 nxce9  ption.nova.  pyr", eFi02-ex24 ac22:se20:op20.nt706:ilet 1 oliion
  2015-02-24 22:20:21.947 | n TR1201 
  2015-02-24 22:20:21.971 |  inne 1 st18, 2015"nri395Ao--02-va/02-24 22:20:20.665 11391 ERROR nova.exception [-] instance: 1
  2015-02-24 22:20:21.990 | 2015-02-24 22:20:20.665 11391 ERROR nova.exception [-] reason: 
  2015-02-24 22:20:22.000 | 2015-02-24 22:20:20.665 11391 ERROng format operation
  2015-02-24 22:20:22.021 | 2015-02-24 22:20:20.742 11401 TRACE nova.exception Traceback (most recent call lastin __init__
  2015-02-24 22:20:22.065 | 2015-02-24 22:20:20.732 11395 TRACE nova.exception     message = self.msg_fmt %CE nova.exception KeyError: u'instanc3 T):2015-02-24 22:20:20.893 11403 ERROR nova.e24 22:20:20.673 11397 ERROR nova.exception [-] code: 400
  2015-02-24 22:20:22.089 | 2015-02-24 22:20:20.777 11397 ERROR nova.exexception.py", line 118, in __init__
  2015-02-24 22:20:22.100 | 2015-02-24 22:20:20.731 11399 TRACE nova.exception     message RACE nova.exception KeyError: u'instance_uuid'
  2015-02-24 22:20:22.106 | 2015-02-24 22:20:20.706 11393 TRACE nova.exception 
  2015-02-24 22:20:22.119 | 20xception [-] Exception in string format operation
  2015-02-24 22:20:22.126 | 2015-02-24 22:20:20.893 11403 TRACE nova.exc e_uuied'
  2015-02-24 22:20:22.142 | 2015p-02-24 2t2:20:20.i659 1138o15-02-24 n22:20:20 .708 113T9 TRACE rnova.excaeption 
  2015-02-24 22:20:22.144 | c93 ERROkwargs
  2015-02-24 22:20:22.157 | e2015-02-bR nova.ea24 22:2ck (most recent call last):

  
  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwibm92YS5leGNlcHRpb24gS2V5RXJyb3JcIiBBTkQgdGFnczpcImNvbnNvbGVcIiBBTkQgYnVpbGRfbmFtZTpcImdhdGUtbm92YS1weXRob24yN1wiIiwiZmllbGRzIjpbXSwib2Zmc2V0IjowLCJ0aW1lZnJhbWUiOiJjdXN0b20iLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsiZnJvbSI6IjIwMTUtMDItMTVUMDE6NDU6NDErMDA6MDAiLCJ0byI6IjIwMTUtMDItMjVUMDE6NDU6NDErMDA6MDAiLCJ1c2VyX2ludGVydmFsIjoiMCJ9LCJzdGFtcCI6MTQyNDgyODc5MzQzMn0=

  We could set fatal_exception_format_errors=True to make the tests
  causing this to fail and then clean them up.

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


References