Project

General

Profile

Actions

Bug #14517

closed

-nuke --stale-openstack is broken

Added by Zack Cerza over 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/virtualenv/bin/teuthology-nuke", line 9, in <module>
    load_entry_point('teuthology==0.1.0', 'console_scripts', 'teuthology-nuke')()
  File "/home/teuthworker/src/teuthology_master/scripts/nuke.py", line 45, in main
    teuthology.nuke.main(args)
  File "/home/teuthworker/src/teuthology_master/teuthology/nuke.py", line 530, in main
    stale_openstack(ctx)
  File "/home/teuthworker/src/teuthology_master/teuthology/nuke.py", line 378, in stale_openstack
    stale_openstack_volumes(ctx, OpenStack.list_volumes())
  File "/home/teuthworker/src/teuthology_master/teuthology/nuke.py", line 448, in stale_openstack_volumes
    .format(volume=volume['display_name'],
KeyError: 'display_name'

The feature needs to cope with varying data structure formats. In this case the volume object had a key called 'Display Name' instead of 'display_name'. Fun.

Actions #1

Updated by Zack Cerza about 8 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF