Project

General

Profile

Bug #41352

mgr/rbd_support: module.py:1088: error: Name 'image_spec' is not defined

Added by Sebastian Wagner over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:

0%

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

Description

I'm getting a type error from mypy:

+pybind/mgr/rbd_support/module.py: note: In member "validate_image_migrating" of class "TaskHandler":
+pybind/mgr/rbd_support/module.py:1088: error: Name 'image_spec' is not defined

This cannot work, as this variable is undefined.

https://gist.github.com/sebastian-philipp/25f70aae3b0d21b1a781c110a7ef8be4#file-mypy_report-txt-L905-L906


Related issues

Copied to rbd - Backport #41441: nautilus: mgr/rbd_support: module.py:1088: error: Name 'image_spec' is not defined Resolved

History

#1 Updated by Sebastian Wagner over 4 years ago

  • Description updated (diff)

#2 Updated by Jason Dillaman over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman

#3 Updated by Jason Dillaman over 4 years ago

  • Backport set to nautilus
  • Pull request ID set to 29773

#4 Updated by Mykola Golub over 4 years ago

  • Status changed from In Progress to Pending Backport

#5 Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #41441: nautilus: mgr/rbd_support: module.py:1088: error: Name 'image_spec' is not defined added

#6 Updated by Nathan Cutler over 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF