Bug 1290415

Summary: Error: Unable to retrieve volume limit information when accessing System Defaults in Horizon
Product: [Community] RDO Reporter: Javier Peña <jpena>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED CURRENTRELEASE QA Contact: nlevinki <nlevinki>
Severity: medium Docs Contact:
Priority: high    
Version: trunkCC: amoralej, aortega, derekh, dradez, drebes, eharney, ibravo, iovadia, jtrowbri, mburns, mcornea, shayne.alone, srevivo
Target Milestone: GA   
Target Release: Liberty   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1272572 Environment:
Last Closed: 2016-05-18 17:20:50 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:
Bug Depends On: 1272572    
Bug Blocks: 1282253    

Description Javier Peña 2015-12-10 13:10:53 UTC
+++ This bug was initially created as a clone of Bug #1272572 +++

Description of problem:
When going to System->Defaults in Horizon an 'Error: Unable to retrieve volume limit information.' shows up. 
Cinder logs show the following:
2015-10-16 19:00:05.262 25704 ERROR cinder.api.middleware.fault [req-79120e7c-360e-4694-a132-e409c4edc2cb 81711f9c9eb24da292ed59647041c422 741b6051f5064e17a3418be64e6a3fcd - - -] Caught error: Authorization failed: Unable to establish connection to http://localhost:5000/v3/auth/tokens
 
Seen in a Packstack installation on Mitaka-1 test day. A similar fix to what is done in tripleo-heat-templates is required for Packstack.

Comment 1 Javier Peña 2015-12-10 17:36:00 UTC
After https://review.openstack.org/253480 was merged, Cinder no longer needed the keymgr/encryption_auth_url parameter set to avoid displaying the error message.

However, it seems to require a v3 URL for keystone_token/auth_uri or it still shows the error from time to time.

Comment 2 Javier Peña 2016-02-23 12:29:25 UTC
I have managed to fix the issue on a system installed with RDO Liberty by upgrading the Cinder packages to the latest versions available from Delorean:

python-cinderclient-1.4.1-0.20160211140554.2cb21ee.el7.centos.noarch
python-cinder-7.0.2-0.20160217192718.1a0bf37.el7.centos.noarch
openstack-cinder-7.0.2-0.20160217192718.1a0bf37.el7.centos.noarch

My guess is that it may be related to the following Cinder commit, which was merged on February 9: https://github.com/openstack/cinder/commit/bd3b972e72bb17b0a0f08f972a7bcdb39c6dd35f

I'm reassigning this to Cinder, to make sure it is properly tracked and included in the next release.