Ask Your Question
0

Dashboard showing tenant_usage in debug window

asked 2013-08-14 18:37:30 -0500

Gamekiller77 gravatar image

updated 2013-08-16 04:46:10 -0500

jpichon gravatar image

I have testing keystone and other setup and it all looks fine. The enpoint-list look clean but keystone catalog i can not get to output. I am using CentOS 6.4 with RDO repo to install Grizzly.

Here is the log out put from apache that point to a funny line where it addes a /v2/v2.0 i think it should be only /2.0/tenant_id

[Wed Aug 14 16:11:15 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Aug 14 16:11:15 2013] [notice] Digest: generating secret for digest authentication ...
[Wed Aug 14 16:11:15 2013] [notice] Digest: done
[Wed Aug 14 16:11:15 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2 Python/2.6.6 configured -- resuming normal operations
[Wed Aug 14 23:12:35 2013] [error] DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.DeprecationWarning: The SECRET_KEY setting must not be empty.DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior.DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in <class 'openstack_auth.backend.KeystoneBackend'>.DEBUG:openstack_auth.backend:Beginning user authentication for user "admin".
[Wed Aug 14 23:12:35 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.35.41.30
[Wed Aug 14 23:12:35 2013] [error] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 1133
[Wed Aug 14 23:12:35 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.35.41.30
[Wed Aug 14 23:12:35 2013] [error] DEBUG:urllib3.connectionpool:"GET /v2.0/tenants HTTP/1.1" 200 144
[Wed Aug 14 23:12:35 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.35.41.30
[Wed Aug 14 23:12:36 2013] [error] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 5179
[Wed Aug 14 23:12:36 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.35.41.30
[Wed Aug 14 23:12:36 2013] [error] DEBUG:urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 5179
[Wed Aug 14 23:12:36 2013] [error] DEBUG:openstack_auth.backend:Authentication completed for user "admin".
[Wed Aug 14 23:12:36 2013] [error]
[Wed Aug 14 23:12:36 2013] [error] REQ: curl -i http://10.35.41.31:8774/v2.0/bfdd3d0edda44a4aada8614464f5385e/os-simple-tenant-usage?start=2013-08-01T00:00:00&end=2013-08-14T23:12:36.165985&detailed=1 -X GET -H "X-Auth-Project-Id: 7eff471610fd4f67908a7c1b4741a63a" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: fe1a5f98c2300dc615df8916348e4699"
[Wed Aug 14 23:12:36 2013] [error]
[Wed Aug 14 23:12:36 2013] [error] INFO:urllib3.connectionpool:Starting new HTTP connection (1): 10.35.41.31
[Wed Aug 14 23:12:36 2013] [error] DEBUG:urllib3.connectionpool:"GET /v2.0/bfdd3d0edda44a4aada8614464f5385e/os-simple-tenant-usage?start ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-08-16 04:45:14 -0500

jpichon gravatar image

updated 2013-08-16 04:48:50 -0500

Your endpoints look incorrect to me, there seem to be some duplication and I can't see Keystone (the keystone catalog output can help with matching services and endpoints).

Comment #6 on a similar bug report suggests this is due to ill-defined endpoints: https://bugs.launchpad.net/horizon/+bug/967391

Specifically, the endpoint was configured as:

http://10.254.99.99:8774/v2.0

... instead of:

http://10.254.99.99:8774/v2/$(tenant_id)s

If you believe the URL should be /v2/ rather than /v2.0/, make sure it is defined correctly in the endpoint list (the nova endpoint certainly seems to be using /v2/ in the docs: http://docs.openstack.org/grizzly/openstack-compute/install/yum/content/keystone-service-endpoint-create.html ).

edit flag offensive delete link more

Comments

I had found this error late yesteray when doing a review with come co workers. I swear i had changed it in my script. But yes we had /v2.0 not /v2. Also for my Quantum/Neutron setup i had a / on the after the port numbers which broke stuff.

Gamekiller77 gravatar imageGamekiller77 ( 2013-08-16 10:53:01 -0500 )edit

I would love to run the keystone catalog command but i can net get it to output at all. I get stuck in a look of wanting something else to auth to get data or that i do not have catalogs setup which i do with in the config setup.

Gamekiller77 gravatar imageGamekiller77 ( 2013-08-16 10:55:13 -0500 )edit

I am stuck with exact same problem...please help [error] DeprecationWarning: The SECRET_KEY setting must not be empty.DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in <class 'openstack_auth.backend.keystonebackend'="">.

sngirame gravatar imagesngirame ( 2013-10-11 10:32:41 -0500 )edit

@sngirame Please check your endpoints are correct are suggested in the answer and open a new question with more information, versions, etc. if that doesn't help. The logs you pasted are deprecation warnings and unlikely to be causing an issue

jpichon gravatar imagejpichon ( 2013-10-11 10:48:07 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-08-14 18:37:30 -0500

Seen: 1,941 times

Last updated: Aug 16 '13