PureISCSIDriver error logging not Python 2.6 compatible
Bug #1357004 reported by
Victor A. Ying
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Victor A. Ying |
Bug Description
PureISCSIDriver has some error logging messages that make use of empty replacement fields "{}" in strings on which the .format() method is called, as allowed in Python 2.7+. Python 2.6 requires explicitly naming or enumerating fields, i.e., "{}" must be replaced with "{0}".
This would have been caught by unit testing if the unit tests properly exercised this code path. Therefore testing of this code path should be added to test_pure.py
Changed in cinder: | |
assignee: | nobody → Pure Storage Openstack Team (pure-storage-openstack-team) |
status: | New → In Progress |
Changed in cinder: | |
importance: | Undecided → Low |
Changed in cinder: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/114382
Review: https:/