← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1452510] [NEW] TestVolumeBootPattern KeyError: 'metadata'

 

Public bug reported:

Getting this error in TestVolumeBootPattern: KeyError: 'metadata'

According to logstash, started happening around 2015-04-28T18:47:32.000

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

3rd party ci log file. All others log files available in same location
for 90 days from today.

http://15.126.198.151/79/180779/1/check/3par-fc-driver-master-client-
pip-
eos10-dsvm/ef61e44/logs/screen-n-cpu.txt.gz?level=TRACE#_2015-05-06_23_16_12_464


Stack trace:
2015-05-06 23:16:12.464 ERROR oslo_messaging.rpc.dispatcher [req-00dcc799-8466-4e48-a9e1-e7cce5056d07 TestVolumeBootPattern-1240016318 TestVolumeBootPattern-1233994347] Exception during message handling: 'metadata'
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     executor_callback))
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     executor_callback)
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 6790, in refresh_instance_security_rules
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     return self.manager.refresh_instance_security_rules(ctxt, instance)
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 442, in decorated_function
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     args = (_load_instance(args[0]),) + args[1:]
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 433, in _load_instance
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     expected_attrs=metas)
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/objects/instance.py", line 497, in _from_db_object
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     instance['metadata'] = utils.instance_meta(db_inst)
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/utils.py", line 845, in instance_meta
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     if isinstance(instance['metadata'], dict):
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher KeyError: 'metadata'
2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher

** Affects: nova
     Importance: Undecided
         Status: Invalid

** Changed in: nova
       Status: New => Invalid

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

Title:
  TestVolumeBootPattern KeyError: 'metadata'

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Getting this error in TestVolumeBootPattern: KeyError: 'metadata'

  According to logstash, started happening around
  2015-04-28T18:47:32.000

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

  3rd party ci log file. All others log files available in same location
  for 90 days from today.

  http://15.126.198.151/79/180779/1/check/3par-fc-driver-master-client-
  pip-
  eos10-dsvm/ef61e44/logs/screen-n-cpu.txt.gz?level=TRACE#_2015-05-06_23_16_12_464

  
  Stack trace:
  2015-05-06 23:16:12.464 ERROR oslo_messaging.rpc.dispatcher [req-00dcc799-8466-4e48-a9e1-e7cce5056d07 TestVolumeBootPattern-1240016318 TestVolumeBootPattern-1233994347] Exception during message handling: 'metadata'
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     executor_callback))
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     executor_callback)
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 6790, in refresh_instance_security_rules
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     return self.manager.refresh_instance_security_rules(ctxt, instance)
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 442, in decorated_function
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     args = (_load_instance(args[0]),) + args[1:]
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/compute/manager.py", line 433, in _load_instance
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     expected_attrs=metas)
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/objects/instance.py", line 497, in _from_db_object
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     instance['metadata'] = utils.instance_meta(db_inst)
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher   File "/opt/stack/new/nova/nova/utils.py", line 845, in instance_meta
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher     if isinstance(instance['metadata'], dict):
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher KeyError: 'metadata'
  2015-05-06 23:16:12.464 7306 TRACE oslo_messaging.rpc.dispatcher

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


Follow ups

References