← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1369151] [NEW] TypeError: consume_from_instance() takes exactly 2 arguments

 

Public bug reported:

As of today we are seeing the following scheduler errors when trying to
schedule Ironic instances:

Sep 13 16:42:48 ubuntu nova-scheduler: a/local/lib/python2.7/site-
packages/nova/scheduler/filter_scheduler.py", line 147, in
select_destinations\n    filter_properties)\n', '  File
"/opt/stack/venvs/nova/local/lib/python2.7/site-
packages/nova/scheduler/filter_scheduler.py", line 300, in _schedule\n
chosen_host.obj.consume_from_instance(context, instance_properties)\n',
'TypeError: consume_from_instance() takes exactly 2 arguments (3
given)\n']

** Affects: nova
     Importance: Critical
     Assignee: Dan Prince (dan-prince)
         Status: In Progress

** Affects: tripleo
     Importance: Critical
     Assignee: Dan Prince (dan-prince)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Dan Prince (dan-prince)

** Changed in: nova
       Status: New => In Progress

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

** Also affects: tripleo
   Importance: Undecided
       Status: New

** Changed in: tripleo
     Assignee: (unassigned) => Dan Prince (dan-prince)

** Changed in: tripleo
   Importance: Undecided => Critical

** Changed in: tripleo
       Status: New => In Progress

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

Title:
  TypeError: consume_from_instance() takes exactly 2 arguments

Status in OpenStack Compute (Nova):
  In Progress
Status in tripleo - openstack on openstack:
  In Progress

Bug description:
  As of today we are seeing the following scheduler errors when trying
  to schedule Ironic instances:

  Sep 13 16:42:48 ubuntu nova-scheduler: a/local/lib/python2.7/site-
  packages/nova/scheduler/filter_scheduler.py", line 147, in
  select_destinations\n    filter_properties)\n', '  File
  "/opt/stack/venvs/nova/local/lib/python2.7/site-
  packages/nova/scheduler/filter_scheduler.py", line 300, in _schedule\n
  chosen_host.obj.consume_from_instance(context,
  instance_properties)\n', 'TypeError: consume_from_instance() takes
  exactly 2 arguments (3 given)\n']

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


Follow ups

References