Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1095848

Summary: cinder [log]: fail to mount gluster backend is reported in the volume log as WARNING and not ERROR
Product: Red Hat OpenStack Reporter: Dafna Ron <dron>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: low    
Version: 4.0CC: eharney, fpercoco, scohen, yeylon
Target Milestone: ga   
Target Release: 6.0 (Juno)   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: openstack-cinder-2014.2-2.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-09 20:05:00 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:
Attachments:
Description Flags
log none

Description Dafna Ron 2014-05-08 16:12:17 UTC
Created attachment 893681 [details]
log

Description of problem:

I think failure to mount is important enough to be reported as ERROR
Also, if we can print trace it would be good. 

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

[root@orange-vdsf cinder]# rpm -qa |grep cinder
openstack-cinder-2014.1-3.el7ost.noarch
python-cinderclient-1.0.8-1.el7ost.noarch
python-cinder-2014.1-3.el7ost.noarch

How reproducible:

100%

Steps to Reproduce:
1. block connectivity to gluster 
2. change cinder backend to work with gluster 
3.

Actual results:

we fail to mount gluster and we see the failure to mount as WARNING instead of ERROR. 

Expected results:

error to mount should be logged as ERROR and if possible we should print trace. 

Additional info: logs

2014-05-08 18:59:00.027 3121 WARNING cinder.volume.drivers.glusterfs [-] Exception during mounting Unexpected error while running command.
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf mount -t glusterfs 10.35.64.104:/gluster2-cinder-tshefi /var/lib/cinder/mnt/8f2d3277bf483ae9bae356bd866fed5e
Exit code: 1
Stdout: 'Mount failed. Please check the log file for more details.\n'
Stderr: ''

Comment 4 Eric Harney 2015-01-27 23:10:18 UTC
Fixed in 6.0.

Comment 5 Scott Lewis 2015-02-09 20:05:00 UTC
This bug has been closed as a part of the RHEL-OSP 6 general availability release. For details, see https://rhn.redhat.com/errata/rhel7-rhos-6-errata.html