Bug 1272572
Summary: | Error: Unable to retrieve volume limit information when accessing System Defaults in Horizon | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Marius Cornea <mcornea> | |
Component: | openstack-cinder | Assignee: | Eric Harney <eharney> | |
Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> | |
Severity: | high | Docs Contact: | ||
Priority: | urgent | |||
Version: | 8.0 (Liberty) | CC: | achernet, adahms, arkady_kanevsky, cdevine, christopher_dearborn, dradez, eharney, hbrock, ibravo, iovadia, jcoufal, John_walsh, jpena, jschluet, jslagle, jtrowbri, kurt_hey, mburns, morazi, rajini.karthik, randy_perryman, rhel-osp-director-maint, rrasouli, rsussman, shayne.alone, sreichar, thomas.cappetta, ukalifon, wayne_allen, yeylon | |
Target Milestone: | ga | Keywords: | TestOnly, Triaged | |
Target Release: | 8.0 (Liberty) | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | python-cinder-7.0.1-6.el7ost.noarch | Doc Type: | Bug Fix | |
Doc Text: |
Previously, a bug in the Block Storage component caused it to be incompatible with the Identity API v2 when working with quotas, resulting in failures when managing information on quotas in Block Storage. With this update, Block Storage has now been updated to be compatible with the Identity API v2, and the dashboard can now correctly retrieve information on volume quotas.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1282253 1290415 (view as bug list) | Environment: | ||
Last Closed: | 2016-04-07 21:10:52 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: | ||||
Bug Blocks: | 1261979, 1282253, 1290415, 1310828 |
Description
Marius Cornea
2015-10-16 19:07:02 UTC
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) 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. Duplicates: https://bugzilla.redhat.com/show_bug.cgi?id=1282253 https://bugzilla.redhat.com/show_bug.cgi?id=1282776 *** Bug 1282253 has been marked as a duplicate of this bug. *** *** Bug 1282776 has been marked as a duplicate of this bug. *** Can we backport the fix to OSP-d 8 (if not part of rebase)? I'm seeing this same error and tried Dan's suggestion yet it yeilded no improvement. In the cinder api logs I am seeing the following msgs generated as a result: 2016-01-31 10:38:23.698 26454 INFO cinder.api.openstack.wsgi [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e cd6612229b15486f9fa43051310178dc - - -] GET http://192.168.1.55:8776/v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/cd6612229b15486f9fa43051310178dc?usage=False 2016-01-31 10:38:23.700 26454 ERROR cinder.api.middleware.fault [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e cd6612229b15486f9fa43051310178dc - - -] Caught error: Not enough information to determine URL. Provide either auth_url or endpoint 2016-01-31 10:38:23.701 26454 INFO cinder.api.middleware.fault [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e cd6612229b15486f9fa43051310178dc - - -] http://192.168.1.55:8776/v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/cd6612229b15486f9fa43051310178dc?usage=False returned with HTTP 500 2016-01-31 10:38:23.702 26454 INFO eventlet.wsgi.server [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e cd6612229b15486f9fa43051310178dc - - -] 192.168.1.55 - - [31/Jan/2016 10:38:23] "GET /v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/cd6612229b15486f9fa43051310178dc?usage=False HTTP/1.1" 500 425 0.425243 (In reply to cappetta from comment #7) > I'm seeing this same error and tried Dan's suggestion yet it yeilded no > improvement. In the cinder api logs I am seeing the following msgs > generated as a result: > > > 2016-01-31 10:38:23.698 26454 INFO cinder.api.openstack.wsgi > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > cd6612229b15486f9fa43051310178dc - - -] GET > http://192.168.1.55:8776/v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/ > cd6612229b15486f9fa43051310178dc?usage=False > > > 2016-01-31 10:38:23.700 26454 ERROR cinder.api.middleware.fault > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > cd6612229b15486f9fa43051310178dc - - -] Caught error: Not enough information > to determine URL. Provide either auth_url or endpoint > > > 2016-01-31 10:38:23.701 26454 INFO cinder.api.middleware.fault > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > cd6612229b15486f9fa43051310178dc - - -] > http://192.168.1.55:8776/v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/ > cd6612229b15486f9fa43051310178dc?usage=False returned with HTTP 500 > > > 2016-01-31 10:38:23.702 26454 INFO eventlet.wsgi.server > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > cd6612229b15486f9fa43051310178dc - - -] 192.168.1.55 - - [31/Jan/2016 > 10:38:23] "GET > /v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/ > cd6612229b15486f9fa43051310178dc?usage=False HTTP/1.1" 500 425 0.425243 Initial tests of the the config solution from bcollins appears to fix the issue. Testing... https://ask.openstack.org/en/question/87045/error-unable-to-retrieve-volume-limit-information/ [quote] Add this to your cinder.conf under the keystone_auth [keystone_authtoken] auth_uri = http://keystone_ip:5000 auth_url = http://keystone_ip:35357 auth_plugin = password project_domain_id = default user_domain_id = default project_name = services username = cinder password = [cinder password] [/quote] (In reply to cappetta from comment #8) > (In reply to cappetta from comment #7) > > I'm seeing this same error and tried Dan's suggestion yet it yeilded no > > improvement. In the cinder api logs I am seeing the following msgs > > generated as a result: > > > > > > 2016-01-31 10:38:23.698 26454 INFO cinder.api.openstack.wsgi > > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > > cd6612229b15486f9fa43051310178dc - - -] GET > > http://192.168.1.55:8776/v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/ > > cd6612229b15486f9fa43051310178dc?usage=False > > > > > > 2016-01-31 10:38:23.700 26454 ERROR cinder.api.middleware.fault > > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > > cd6612229b15486f9fa43051310178dc - - -] Caught error: Not enough information > > to determine URL. Provide either auth_url or endpoint > > > > > > 2016-01-31 10:38:23.701 26454 INFO cinder.api.middleware.fault > > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > > cd6612229b15486f9fa43051310178dc - - -] > > http://192.168.1.55:8776/v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/ > > cd6612229b15486f9fa43051310178dc?usage=False returned with HTTP 500 > > > > > > 2016-01-31 10:38:23.702 26454 INFO eventlet.wsgi.server > > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > > cd6612229b15486f9fa43051310178dc - - -] 192.168.1.55 - - [31/Jan/2016 > > 10:38:23] "GET > > /v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/ > > cd6612229b15486f9fa43051310178dc?usage=False HTTP/1.1" 500 425 0.425243 > > Initial tests of the the config solution from bcollins appears to fix the > issue. Testing... > > https://ask.openstack.org/en/question/87045/error-unable-to-retrieve-volume- > limit-information/ > > [quote] > > Add this to your cinder.conf under the keystone_auth > [keystone_authtoken] auth_uri = http://keystone_ip:5000 > auth_url = http://keystone_ip:35357 > auth_plugin = password > project_domain_id = default > user_domain_id = default > project_name = services > username = cinder > password = [cinder password] > [/quote] Hello, What installer did you use for the deployment? Thanks (In reply to Marius Cornea from comment #9) > (In reply to cappetta from comment #8) > > (In reply to cappetta from comment #7) > > > I'm seeing this same error and tried Dan's suggestion yet it yeilded no > > > improvement. In the cinder api logs I am seeing the following msgs > > > generated as a result: > > > > > > > > > 2016-01-31 10:38:23.698 26454 INFO cinder.api.openstack.wsgi > > > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > > > cd6612229b15486f9fa43051310178dc - - -] GET > > > http://192.168.1.55:8776/v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/ > > > cd6612229b15486f9fa43051310178dc?usage=False > > > > > > > > > 2016-01-31 10:38:23.700 26454 ERROR cinder.api.middleware.fault > > > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > > > cd6612229b15486f9fa43051310178dc - - -] Caught error: Not enough information > > > to determine URL. Provide either auth_url or endpoint > > > > > > > > > 2016-01-31 10:38:23.701 26454 INFO cinder.api.middleware.fault > > > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > > > cd6612229b15486f9fa43051310178dc - - -] > > > http://192.168.1.55:8776/v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/ > > > cd6612229b15486f9fa43051310178dc?usage=False returned with HTTP 500 > > > > > > > > > 2016-01-31 10:38:23.702 26454 INFO eventlet.wsgi.server > > > [req-9a19f330-5695-43dd-9441-2049673494a0 c90fb9dad30e4fc2aad0fd634f0a683e > > > cd6612229b15486f9fa43051310178dc - - -] 192.168.1.55 - - [31/Jan/2016 > > > 10:38:23] "GET > > > /v2/cd6612229b15486f9fa43051310178dc/os-quota-sets/ > > > cd6612229b15486f9fa43051310178dc?usage=False HTTP/1.1" 500 425 0.425243 > > > > Initial tests of the the config solution from bcollins appears to fix the > > issue. Testing... > > > > https://ask.openstack.org/en/question/87045/error-unable-to-retrieve-volume- > > limit-information/ > > > > [quote] > > > > Add this to your cinder.conf under the keystone_auth > > [keystone_authtoken] auth_uri = http://keystone_ip:5000 > > auth_url = http://keystone_ip:35357 > > auth_plugin = password > > project_domain_id = default > > user_domain_id = default > > project_name = services > > username = cinder > > password = [cinder password] > > [/quote] > > Hello, > > What installer did you use for the deployment? Thanks Packstack installer on CentOS-7. Fresh install completed 24hrs ago using the generic all-in-one option Please check BZ#1290415, the issue you are seeing is different than the initial report in this one. We're hitting this too. Seen in OSP 8 Beta 4 & 5. The workaround listed above of adding the additional config parameter to cinder.conf does seem to work. Maybe https://bugzilla.redhat.com/show_bug.cgi?id=1290415#c2 can be of help here. The latest stable/liberty packages from Delorean for Cinder fixed the issue in RDO. The belief is that this is fixed in the latest cinder packages (7.0.1-6 or later). @Mike -- good to know; I've performed a fresh install on 2/20 and see RDO packstack is installing cinder v7.0.1-1. Just wanted to highlight the install is using an older package & there might be an repo/package update dependency. Verified ======== python-cinder-7.0.1-6.el7ost.noarch This was actually a Cinder bug resolved by: https://github.com/openstack/cinder/commit/bd3b972e72bb17b0a0f08f972a7bcdb39c6dd35f Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0603.html |