Project

General

Profile

Actions

Bug #44852

closed

KeyError: 'ceph.type'

Added by Jan Fajerski about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
octopus,nautilus, mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

[2020-03-30 20:13:57,357][ceph_volume][ERROR ] exception caught by decorator
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ceph_volume/decorators.py", line 59, in newfunc
    return f(*a, **kw)
  File "/usr/lib/python3.6/site-packages/ceph_volume/main.py", line 150, in main
    terminal.dispatch(self.mapper, subcommand_args)
  File "/usr/lib/python3.6/site-packages/ceph_volume/terminal.py", line 194, in dispatch
    instance.main()
  File "/usr/lib/python3.6/site-packages/ceph_volume/inventory/main.py", line 38, in main
    self.format_report(Devices())
  File "/usr/lib/python3.6/site-packages/ceph_volume/inventory/main.py", line 42, in format_report
    print(json.dumps(inventory.json_report()))
  File "/usr/lib/python3.6/site-packages/ceph_volume/util/device.py", line 51, in json_report
    output.append(device.json_report())
  File "/usr/lib/python3.6/site-packages/ceph_volume/util/device.py", line 202, in json_report
    output['lvs'] = [lv.report() for lv in self.lvs]
  File "/usr/lib/python3.6/site-packages/ceph_volume/util/device.py", line 202, in <listcomp>
    output['lvs'] = [lv.report() for lv in self.lvs]
  File "/usr/lib/python3.6/site-packages/ceph_volume/api/lvm.py", line 941, in report
    type_ = self.tags['ceph.type']
KeyError: 'ceph.type'

/a/sage-2020-03-30_19:43:15-rados:cephadm:smoke-roleless-wip-sage-testing-2020-03-30-0849-distro-basic-smithi/4908307
/a/sage-2020-03-30_19:43:15-rados:cephadm:smoke-roleless-wip-sage-testing-2020-03-30-0849-distro-basic-smithi/4908319

Related issues 4 (0 open4 closed)

Copied from Orchestrator - Bug #44820: racey concurrent ceph-volume callKeyError: 'ceph.type' Resolved

Actions
Copied to ceph-volume - Backport #45783: octopus: KeyError: 'ceph.type' ResolvedShyukri ShyukrievActions
Copied to ceph-volume - Backport #45784: nautilus: KeyError: 'ceph.type' ResolvedShyukri ShyukrievActions
Copied to ceph-volume - Backport #45785: mimic: KeyError: 'ceph.type' ResolvedJan FajerskiActions
Actions #1

Updated by Jan Fajerski about 4 years ago

  • Copied from Bug #44820: racey concurrent ceph-volume callKeyError: 'ceph.type' added
Actions #2

Updated by Jan Fajerski about 4 years ago

  • Status changed from Fix Under Review to In Progress
  • Pull request ID deleted (34320)
Actions #3

Updated by Jan Fajerski about 4 years ago

  • Pull request ID set to 34321
Actions #4

Updated by Jan Fajerski about 4 years ago

  • Status changed from In Progress to Fix Under Review
Actions #5

Updated by Jan Fajerski almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #6

Updated by Nathan Cutler almost 4 years ago

Actions #7

Updated by Nathan Cutler almost 4 years ago

Actions #8

Updated by Nathan Cutler almost 4 years ago

Actions #9

Updated by Jan Fajerski over 3 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF