← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1279358] Re: instance_get_all_by_filters() got an unexpected keyword argument 'use_slave'

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => icehouse-3

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

Title:
  instance_get_all_by_filters() got an unexpected keyword argument
  'use_slave'

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  2014-02-12 06:25:32.429 12188 ERROR nova.openstack.common.periodic_task [-] Error during ComputeManager._poll_rescued_instances: instance_get_all_by_filters() got an unexpected keyword argument 'use_slave'
  2014-02-12 06:25:32.429 12188 TRACE nova.openstack.common.periodic_task Traceback (most recent call last):
  2014-02-12 06:25:32.429 12188 TRACE nova.openstack.common.periodic_task   File "/opt/rackstack/592.0/nova/lib/python2.6/site-packages/nova/openstack/common/periodic_task.py", line 182, in run_periodic_tasks
  2014-02-12 06:25:32.429 12188 TRACE nova.openstack.common.periodic_task     task(self, context)
  2014-02-12 06:25:32.429 12188 TRACE nova.openstack.common.periodic_task   File "/opt/rackstack/592.0/nova/lib/python2.6/site-packages/nova/compute/manager.py", line 4786, in _poll_rescued_instances
  2014-02-12 06:25:32.429 12188 TRACE nova.openstack.common.periodic_task     use_slave=True)
  2014-02-12 06:25:32.429 12188 TRACE nova.openstack.common.periodic_task TypeError: instance_get_all_by_filters() got an unexpected keyword argument 'use_slave'

  commit e8ab7ffb7274190105a3289cc1a3ed1d9ab5feb8 added the use_slave
  parameter to some db calls.  The parameter was added to the db calls
  themselves, and the instance NovaObject, but the conductor api for the
  instance_get_all_by_filters call was missed.  This causes the the
  _poll_rescued_instances periodic task to error on each run.

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


References