Project

General

Profile

Bug #41352

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

Added by Sebastian Wagner 3 months ago. Updated about 15 hours ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
08/20/2019
Due date:
% Done:

0%

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

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 3 months ago

  • Description updated (diff)

#2 Updated by Jason Dillaman 3 months ago

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

#3 Updated by Jason Dillaman 3 months ago

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

#4 Updated by Mykola Golub 3 months ago

  • Status changed from In Progress to Pending Backport

#5 Updated by Nathan Cutler 3 months 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 about 15 hours 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