Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.16 KB | None | 0 0
  1. dot@cloud:~$ keystone tenant-list
  2. +----------------------------------+-----------+---------+
  3. |                id                |    name   | enabled |
  4. +----------------------------------+-----------+---------+
  5. | 00412c5a25a84f0babf1d38dd9231645 | service   | True    |
  6. | 5f4cd7c8c08a4d88b4e62103c7f48bce | openstack | True    |
  7. +----------------------------------+-----------+---------+
  8. dot@cloud:~$ keystone user-list
  9. +----------------------------------+---------+-------+-------+
  10. |                id                | enabled | email |  name |
  11. +----------------------------------+---------+-------+-------+
  12. | 68f5842e2f8945bbb8b77c9431b6f299 | True    | None  | swift |
  13. | 70870f33f83048c7ac495b47c155fcb7 | True    | None  | admin |
  14. +----------------------------------+---------+-------+-------+
  15. dot@cloud:~$ keystone role-list
  16. +----------------------------------+--------+
  17. |                id                |  name  |
  18. +----------------------------------+--------+
  19. | 53c125e9d84140cb8ea8a4fe30ae0fac | admin  |
  20. | 80cb02529ad64f6d99237cb46d93345e | member |
  21. +----------------------------------+--------+
  22.  
  23. dot@cloud:~$ keystone service-list
  24. +----------------------------------+----------+--------------+---------------------------+
  25. |                id                |   name   |     type     |        description        |
  26. +----------------------------------+----------+--------------+---------------------------+
  27. | 7e3c8d628ea14275b364f7ea18e565ad | swift    | object-store | Object Storage Service    |
  28. | f53b065710c94d30bbf2338ee812050b | keystone | identity     | Keystone Identity Service |
  29. +----------------------------------+----------+--------------+---------------------------+
  30.  
  31. dot@cloud:~$ keystone endpoint-list
  32. +----------------------------------+-----------+---------------------------------------------+---------------------------------------------+-----------------------------+
  33. |                id                |   region  |                  publicurl                  |                 internalurl                 |           adminurl          |
  34. +----------------------------------+-----------+---------------------------------------------+---------------------------------------------+-----------------------------+
  35. | 824fa52ff67147f790a2558ecab0203f | 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 |
  36. | 93ff62fda0ae4174a23870e846142366 | 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/      |
  37. +----------------------------------+-----------+---------------------------------------------+---------------------------------------------+-----------------------------+
  38.  
  39.  
  40. PROXY-SERVER.CONF
  41.  
  42. [DEFAULT]
  43. bind_port = 8080
  44. user = dot
  45. log_facility = LOG_LOCAL1
  46.  
  47. [pipeline:main]
  48. #pipeline = healthcheck cache tempauth proxy-logging proxy-server
  49. pipeline = catch_errors cache keystone proxy-server
  50.  
  51. [app:proxy-server]
  52. use = egg:swift#proxy
  53. #allow_account_management = true
  54. account_autocreate = true
  55.  
  56. [filter:keystone]
  57. paste.filter_factory = keystone.middleware.swift_auth:filter_factory
  58. operator_roles = admin, swiftoperator
  59.  
  60. [filter:authtoken]
  61. paste.filter_factory = keystone.middleware.auth_token:filter_factory
  62. # Delaying the auth decision is required to support token-less
  63. # usage for anonymous referrers ('.r:*').
  64. delay_auth_decision = 1
  65. auth_port = 35357
  66. auth_host = 127.0.0.1
  67. auth_token = ADMIN
  68. admin_token = ADMIN
  69.  
  70. [filter:tempauth]
  71. use = egg:swift#tempauth
  72. user_admin_admin = admin .admin .reseller_admin
  73. user_test_tester = testing .admin
  74. user_test2_tester2 = testing2 .admin
  75. user_test_tester3 = testing3
  76.  
  77. [filter:healthcheck]
  78. use = egg:swift#healthcheck
  79.  
  80. [filter:cache]
  81. use = egg:swift#memcache
  82.  
  83. [filter:catch_errors]
  84. use = egg:swift#catch_errors
  85.  
  86. [filter:proxy-logging]
  87. use = egg:swift#proxy_logging
  88.  
  89.  
  90. ERROR:
  91.  
  92. swift -V 2.0 -A http://127.0.0.1:5000/v2.0 -U service:swift -K swift list
  93. Account GET failed: http://127.0.0.1:8080/v1/AUTH_00412c5a25a84f0babf1d38dd9231645?format=json 401 Unauthorized  [first 60 chars of response] 401 Unauthorized
  94.  
  95. This server could not verify that you are
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement