+++ 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
Version-Release number of selected component (if applicable):
openstack-dashboard-8.0.0.0-rc1.el7.centos.noarch
python-django-horizon-8.0.0.0-rc1.el7.centos.noarch
How reproducible:
100%
Steps to Reproduce:
1. Deploy one controller + one compute overcloud
2. Log in to Horizon
3. Go to System->Defaults
Actual results:
Error: Unable to retrieve volume limit information.
Expected results:
No error gets returned.
--- Additional comment from AliRezaTaleghani on 2015-10-18 06:00:01 EDT ---
I think I figure this out:
file: /usr/lib/python2.7/site-packages/cinder/keymgr/key_mgr.py
Line: 27
The default param on cinder key manager which was:
FROM :=> default='http://localhost:5000/v3',
TO: => default='http://10.20.30.26:5000/v3',
and that was all....
but it's the default library value I thinks, and it should be possible to be overwrite on some configuration files i hope... (ex: /etc/cinder/api-paste.ini)
--- Additional comment from Dan Radez on 2015-10-23 15:33:24 EDT ---
I added:
[keymgr]
encryption_auth_url=http://192.0.2.6:5000/v3
to the end of /etc/cinder/cinder.conf and bounced the cinder-api service
This resolved the issue for me.