instance-usage-data uses invalid option

Bug #996570 reported by Doug Hellmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Doug Hellmann

Bug Description

Running the cron job meant to produce "exists" events for instance auditing results in a traceback:

$ ./bin/instance-usage-audit
Starting instance usage audit
Creating usages for 2012-05-08 13:00:00 until 2012-05-08 14:00:00
2012-05-08 10:42:21 DEBUG nova.utils [req-a48c4e08-1138-4c92-bc3b-76b167c42777 None None] backend <module 'nova.db.sqlalchemy.api' from '/opt/stack/nova/nova/db/sqlalchemy/api.py'> from (pid=3805) __get_backend /opt/stack/nova/nova/utils.py:615
Found 1 instances
Traceback (most recent call last):
  File "./bin/instance-usage-audit", line 81, in <module>
    admin_context, instance_ref, safe=False)
TypeError: notify_usage_exists() got an unexpected keyword argument 'safe'

Changed in nova:
assignee: nobody → Doug Hellmann (doug-hellmann)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/7229

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :
Revision history for this message
Chris Behrens (cbehrens) wrote :

Marking this is as Fix-Committed, as it was addressed as part of review 7234... which is merged.

Changed in nova:
status: In Progress → Fix Committed
Devin Carlen (devcamcar)
Changed in nova:
milestone: none → folsom-1
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-1 → 2012.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.