Hello Remo,

I think you are feeling this bug.
https://bugs.launchpad.net/cinder/+bug/1516085

Quota won't work if you're running Keystone on another machine than the 
cinder-api unless the keymgr.encryption_auth_url config option is populated 
because
the default value for that option is to use the v3 endpoint on localhost for 
Keystone.

You should see this if you enable debug for cinder-api
Caught error: Authorization failed: Unable to establish connection to 
http://localhost:5000/v3/auth/tokens

Hope this helps you, this was patched but I don't know if it's released yet, 
perhaps not in the distro you are using.
Best regards.

On 01/20/2016 08:49 PM, Remo Mattei wrote:

Hello all, does anyone have an suggestion on this error?

[root@osc1 ~(keystone_admin)]# cinder quota-show demo
ERROR: The server has either erred or is incapable of performing the requested 
operation. (HTTP 500) (Request-ID: req-4a681bb0-a0b5-4325-8c12-3f48659a42f1)


[root@osc1 ~(keystone_admin)]# cinder list
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
|                  ID                  |   Status  | Migration Status | Name | 
Size | Volume Type | Bootable | Multiattach | Attached to |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+-------------+
| 5a5558a6-8a7b-46d8-8db6-2cdfee46fef0 | available |        -         |  -   |  
1   |      -      |  false   |    False    |             |
| a3204f4f-142d-4a3e-9007-9fa149302f08 | available |        -         |  -   |  
1   |      -      |  false   |    False    |             |
| aac3b72a-e9ca-4e4a-94ce-2b03532eb516 | available |        -         | remo |  
1   |      -      |  false   |    False    |             |
| e8aa977c-3802-45cc-b700-0b7778840318 | available |        -         | test |  
1   |      -      |  false   |    False    |             |
+--------------------------------------+-----------+------------------+------+------+-------------+----------+-------------+------+


I can attached and create volumes no problems at all.

in the cinder-api logs I get just a warning which is ok.

WARNING keystonemiddleware.auth_token [-] Use of the auth_admin_prefix, 
auth_host, auth_port, auth_protocol, identity_uri, admin_token, admin_user, adm
in_password, and admin_tenant_name configuration options is deprecated in favor 
of auth_plugin and related options and may be removed in a future release.
2015-12-18 13:16:11.639 3403 WARNING oslo_log.versionutils [-] Deprecated: 
RequestBodySizeLimiter() is deprecated as of Kilo in favor of 
oslo_middleware.RequestBodySizeLimiter and
may be removed in Mitaka.


Thanks,
Remo
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to