Bug 1272962

Summary: glusterfs_driver: Attempt to create share fails ungracefully when backend gluster volumes aren't exported
Product: [Community] RDO Reporter: krishnaram Karthick <kramdoss>
Component: openstack-manilaAssignee: Pete Zaitcev <zaitcev>
Status: CLOSED EOL QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: Liberty   
Target Milestone: ---   
Target Release: Kilo   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-19 16:00:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description krishnaram Karthick 2015-10-19 10:15:47 UTC
Description of problem:

When nfs.export-volumes are turned off and an attempt is made to create a nfs share using directory based layout, share creation fails with the following error message. A more meaningful error message should be logged.

'Exception during message handling: global name '_' is not defined'

Version-Release number of selected component (if applicable):

# rpm -qa | grep 'manila'
python-manila-1.0.0.0-rc2.dev24.el7.centos.noarch
python-manilaclient-1.4.1-dev3.el7.centos.noarch
openstack-manila-1.0.0.0-rc2.dev24.el7.centos.noarch
openstack-manila-share-1.0.0.0-rc2.dev24.el7.centos.noarch

How reproducible:
Always

Steps to Reproduce:
1. turn off nfs.export-volumes on gluster backend
2. Attempt to create a share from nfs-dir based layout

Actual results:
share creation fails with improper error message 

Expected results:
share creation should fail more gracefully

Additional info:

Comment 1 Chandan Kumar 2016-05-19 16:00:18 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.