Guest User

Untitled

a guest
Jan 25th, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. Apache error.log
  2. [Fri Jan 25 15:58:43 2013] [error] unable to retrieve service catalog with token
  3. [Fri Jan 25 15:58:43 2013] [error] Traceback (most recent call last):
  4. [Fri Jan 25 15:58:43 2013] [error] File "/usr/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py", line 132, in _extract_service_catalog
  5. [Fri Jan 25 15:58:43 2013] [error] endpoint_type='adminURL')
  6. [Fri Jan 25 15:58:43 2013] [error] File "/usr/lib/python2.7/dist-packages/keystoneclient/service_catalog.py", line 62, in url_for
  7. [Fri Jan 25 15:58:43 2013] [error] raise exceptions.EndpointNotFound('Endpoint not found.')
  8. [Fri Jan 25 15:58:43 2013] [error] EndpointNotFound: Endpoint not found.
  9.  
  10. keystone endpoint-list
  11. +----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+
  12. | id | region | publicurl | internalurl | adminurl |
  13. +----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+
  14. | 35f600a51bdc4dfc97a77521ebf3f14a | RegionOne | http://127.0.0.1:8773/services/Cloud | http://127.0.0.1:8773/services/Cloud | http://127.0.0.1:8773/services/Admin |
  15. | 5ce44917d21e4f6e809d81c89cc35c6d | RegionOne | http://127.0.0.1:5000/v2.0 | http://127.0.0.1:5000/v2.0 | http://127.0.0.1:35357/v2.0 |
  16. | 661ec74c22394e55b98ff9192b9d67b0 | RegionOne | http://127.0.0.1:9292/v2 | http://127.0.0.1:9292/v2 | http://127.0.0.1:9292/v2 |
  17. | 66f2de5877d24f82aca3b430fd1ef121 | RegionOne | http://127.0.0.1:9696/ | http://127.0.0.1:9696/ | http://127.0.0.1:9696/ |
  18. | aa29eb9983b147cdb717dd9a828695c2 | RegionOne | http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s | http://127.0.0.1:8080/v1/AUTH_$(tenant_id)s | http://127.0.0.1:8080/v1 |
  19. | f766b61a4e7644f08aa33a3e8f8c0004 | RegionOne | http://127.0.0.1:8774/v2/$(tenant_id)s | http://127.0.0.1:8774/v2/$(tenant_id)s | http://127.0.0.1:8774/v2/$(tenant_id)s |
  20. | f945cf1949d340daa2d0a7e023c40a45 | RegionOne | http://127.0.0.1:8776/v1/$(tenant_id)s | http://127.0.0.1:8776/v1/$(tenant_id)s | http://127.0.0.1:8776/v1/$(tenant_id)s |
  21. +----------------------------------+-----------+---------------------------------------------+---------------------------------------------+----------------------------------------+
  22.  
  23. keystone role-list
  24. +----------------------------------+----------------------+
  25. | id | name |
  26. +----------------------------------+----------------------+
  27. | 22e0bc1b00c447fea08ca7d616984147 | KeystoneServiceAdmin |
  28. | 2910e5f3018b475aad15eba2346a9faf | admin |
  29. | 3609c14d7b084e3483145e3d9f116333 | KeystoneAdmin |
  30. | 4a47949acb9341f49a57b4d5b86ee315 | Member |
  31. | 69a2bf9908ae4ef9824dd99080cf054c | ResellerAdmin |
  32. +----------------------------------+----------------------+
  33.  
  34. keystone user-list
  35. +----------------------------------+---------+---------+--------------------+
  36. | id | name | enabled | email |
  37. +----------------------------------+---------+---------+--------------------+
  38. | 6828028bddab4e5588b80b3f9c47f47d | quantum | True | [email protected] |
  39. | 963f48bc25b54183a401a030c4d46665 | demo | True | [email protected] |
  40. | a96abb06d72742fcafa317e97c0feeed | admin | True | [email protected] |
  41. | b2a494ebfe7a4509a1cabd989b23c395 | swift | True | [email protected] |
  42. | ba00e7f4b02d4f0788955cee6e069347 | glance | True | [email protected] |
  43. | d70d457cdd8b4f7ea4d0ea92be308d71 | nova | True | [email protected] |
  44. | dc03629ec79f413ca83ae14d4199c97d | cinder | True | [email protected] |
  45. +----------------------------------+---------+---------+--------------------+
  46.  
  47. Horizon local_settings.py
  48. OPENSTACK_HOST = "127.0.0.1"
  49. OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0" % OPENSTACK_HOST
  50. OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
  51.  
  52. Quick test
  53. curl http://127.0.0.1:5000/v2.0
  54. {"version": {"status": "beta", "updated": "2011-11-19T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}, {"base": "application/xml", "type": "application/vnd.openstack.identity-v2.0+xml"}], "id": "v2.0", "links": [{"href": "http://127.0.0.1:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/content/", "type": "text/html", "rel": "describedby"}, {"href": "http://docs.openstack.org/api/openstack-identity-service/2.0/identity-dev-guide-2.0.pdf", "type": "application/pdf", "rel": "describedby"}]}}ro
Advertisement
Add Comment
Please, Sign In to add comment