Fix HNAS driver confusing error message

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

Bug Description

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 o the problem. This patch fix this by testing first if the file exist and then throwing a proper error message.

Tags: drivers
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/141870

Changed in cinder:
assignee: nobody → Erlon R. Cruz (sombrafam)
status: New → In Progress
Jay Bryant (jsbryant)
Changed in cinder:
importance: Undecided → Low
tags: added: drivers
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/141870
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=6cc497b468ec909d5261c464826b704007fca2ee
Submitter: Jenkins
Branch: master

commit 6cc497b468ec909d5261c464826b704007fca2ee
Author: Erlon R. Cruz <email address hidden>
Date: Thu Dec 11 08:46:31 2014 -0200

    Fix HNAS driver confusing error message

    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 o the problem. This patch fix
    this by testing first if the file exist and then throwing a
    proper error message.

    Closes-Bug: #1402775
    Change-Id: I91c7a24d5da37735787e8fc0da544c8ba8204884

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