← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1781100] [NEW] TypeError: delete_allocation_for_failed_resize() takes exactly 5 arguments (4 given) in ComputeManager.prep_resize

 

Public bug reported:

I found this (without trying) but writing this test:

http://paste.openstack.org/show/725514/

    2018-07-10 22:03:11,206 INFO [nova.compute.manager] Old-style migration 156eaee2-48f0-49f8-aa8a-daa297864d25 is being reverted; no migration claims found on original node to swap.
    2018-07-10 22:03:11,220 ERROR [nova.compute.manager] Setting instance vm_state to ERROR
    Traceback (most recent call last):
      File "nova/compute/manager.py", line 7634, in _error_out_instance_on_exception
        yield
      File "nova/compute/manager.py", line 4163, in prep_resize
        instance, node, instance_type)
    TypeError: delete_allocation_for_failed_resize() takes exactly 5 arguments (4 given)

The bug was introduced with this change:

https://review.openstack.org/#/q/I7891b98f225f97ad47f189afb9110ef31c810717

** Affects: nova
     Importance: Medium
     Assignee: Matt Riedemann (mriedem)
         Status: In Progress

** Affects: nova/queens
     Importance: Medium
         Status: Confirmed

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

** Changed in: nova
   Importance: Undecided => Medium

** Also affects: nova/queens
   Importance: Undecided
       Status: New

** Changed in: nova
     Assignee: (unassigned) => Matt Riedemann (mriedem)

** Changed in: nova/queens
       Status: New => Confirmed

** Changed in: nova/queens
   Importance: Undecided => Medium

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

Title:
  TypeError: delete_allocation_for_failed_resize() takes exactly 5
  arguments (4 given) in ComputeManager.prep_resize

Status in OpenStack Compute (nova):
  In Progress
Status in OpenStack Compute (nova) queens series:
  Confirmed

Bug description:
  I found this (without trying) but writing this test:

  http://paste.openstack.org/show/725514/

      2018-07-10 22:03:11,206 INFO [nova.compute.manager] Old-style migration 156eaee2-48f0-49f8-aa8a-daa297864d25 is being reverted; no migration claims found on original node to swap.
      2018-07-10 22:03:11,220 ERROR [nova.compute.manager] Setting instance vm_state to ERROR
      Traceback (most recent call last):
        File "nova/compute/manager.py", line 7634, in _error_out_instance_on_exception
          yield
        File "nova/compute/manager.py", line 4163, in prep_resize
          instance, node, instance_type)
      TypeError: delete_allocation_for_failed_resize() takes exactly 5 arguments (4 given)

  The bug was introduced with this change:

  https://review.openstack.org/#/q/I7891b98f225f97ad47f189afb9110ef31c810717

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


Follow ups