cinder-volume-usage-audit is borken

Bug #1130266 reported by Ollie Leahy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Unassigned

Bug Description

The script cinder-volume-usage-audit crashes:

$ cinder-volume-usage-audit
Starting volume usage audit
2013-02-19 17:33:32.604 CRITICAL cinder [req-9c481d72-28bd-4d7c-b672-4277ca6526e1 None None] %u format: a number is required, not str
2013-02-19 17:33:32.604 TRACE cinder Traceback (most recent call last):
2013-02-19 17:33:32.604 TRACE cinder File "/usr/local/bin/cinder-volume-usage-audit", line 7, in <module>
2013-02-19 17:33:32.604 TRACE cinder execfile(__file__)
2013-02-19 17:33:32.604 TRACE cinder File "/mnt/stack/cinder/bin/cinder-volume-usage-audit", line 69, in <module>
2013-02-19 17:33:32.604 TRACE cinder print (msg % {"begin_period": str(begin), "end_period": str(end)})
2013-02-19 17:33:32.604 TRACE cinder TypeError: %u format: a number is required, not str
2013-02-19 17:33:32.604 TRACE cinder

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/22335
Committed: http://github.com/openstack/cinder/commit/008adb25fd14929f2d1be6dd58d382ff6ef62df6
Submitter: Jenkins
Branch: master

commit 008adb25fd14929f2d1be6dd58d382ff6ef62df6
Author: Ollie Leahy <email address hidden>
Date: Tue Feb 19 17:54:59 2013 +0000

    Fix syntax error in cinder-volume-usage-audit

    There was a syntax error in a print statement in cinder-volume-usage-audit
    which caused the script to crash.

    Fixes LP bug #1130266

    Change-Id: If4b0102ec5218fc8347f97041ac65f633111c26f

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: grizzly-3 → 2013.1
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.