Error message format string uses wrong variable name (Tgtadm remove_iscsi_target)

Bug #1065073 reported by Eric Harney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Eric Harney

Bug Description

In remove_iscsi_target() for the TgtAdm class, an error message "Failed to create iscsi target for volume id:%(volume_id)s."should use "%(vol_id)s", which is the correct variable name.

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

Reviewed: https://review.openstack.org/14287
Committed: http://github.com/openstack/cinder/commit/1fa8442a525a49d4cf63a8f2b3fab00f2e6405ae
Submitter: Jenkins
Branch: master

commit 1fa8442a525a49d4cf63a8f2b3fab00f2e6405ae
Author: Eric Harney <email address hidden>
Date: Wed Oct 10 10:38:22 2012 -0400

    Error message references incorrect variable

    In remove_iscsi_target() for the TgtAdm class, the "Failed to
    create iscsi target for volume id:" message references a
    variable that doesn't exist -- use the correct variable name.

    Fixes bug 1065073.

    Change-Id: I55acb0dd2ee368fdc62a0ded6280d7ef7cd8ab7f

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