Fix HNAS driver confusing error message (iSCSI driver)

Bug #1403986 reported by Erlon R. Cruz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Erlon R. Cruz

Bug Description

The error message shown in HDS HNAS ISCSI driver when the parser finds a parser error says, 'file not found' which causes confusion on the user when he/she needs to debug the real cause o the problem.

Tags: drivers hds
description: updated
Mike Perez (thingee)
tags: added: drivers hds
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/147307

Changed in cinder:
assignee: nobody → Erlon R. Cruz (sombrafam)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/147307
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=450a35e21f6c102c35dc29e1f684d3588e005ac6
Submitter: Jenkins
Branch: master

commit 450a35e21f6c102c35dc29e1f684d3588e005ac6
Author: Erlon R. Cruz <email address hidden>
Date: Thu Dec 18 16:11:48 2014 -0200

    Fix HNAS driver confusing error message (iSCSI driver)

    The error message shown when the parser finds a parser error
    says, 'file not found' which causes confusion on the user when
    he/she needs to debug the real cause of the problem. This patch fixes
    this by testing first if the file exist and then throwing a proper error
    message.

    Also corrects an error when appending the config_file_name to the message on
    the NFS driver and fixes LOG messages according to oslo.i18n guidelines.

    Closes-Bug: #1403986
    Change-Id: Ib6e613796eede751215db54696b353431caaafd1

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