Comment 1 for bug 1151747

Revision history for this message
Rajalakshmi Ganesan (rajalakshmi-ganesan) wrote :

THE SAME CURL REQUEST WORKS WHEN KEYSTONE VERSION IS V2.0:

v3-user@Devstack-V3-230:~$ curl -i http://10.233.52.230:35357/v2.0/endpoints -X GET -H "User-Agent: python-keystoneclient" -H "Accept: application/xml" -H "X-Auth-Token: MIIKaQYJKoZIhvcNAQcCoIIKWjCCClYCAQExCTAHBgUrDgMCGjCCCUIGCSqGSIb3DQEHAaCCCTMEggkveyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wMy0wN1QxMjoxNzo1OS40ODg0OTgiLCAiZXhwaXJlcyI6ICIyMDEzLTAzLTA4VDEyOjE3OjU5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiZGVzY3JpcHRpb24iOiBudWxsLCAibmFtZSI6ICJhZG1pbiIsICJpZCI6ICI0MWM1ZDE4YjA3OGQ0NmE4YmMyOWRlMWIwOWJiM2U0MiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjIzMy41Mi4yMzA6ODc3NC92Mi80MWM1ZDE4YjA3OGQ0NmE4YmMyOWRlMWIwOWJiM2U0MiIsICJyZWdpb24iOiAiUmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly8xMC4yMzMuNTIuMjMwOjg3NzQvdjIvNDFjNWQxOGIwNzhkNDZhOGJjMjlkZTFiMDliYjNlNDIiLCAiaWQiOiAiMWU2Y2Q3OTc5ZDE2NGUxZjlmZjc3YTNmOGFjOGJjNjEiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMC4yMzMuNTIuMjMwOjg3NzQvdjIvNDFjNWQxOGIwNzhkNDZhOGJjMjlkZTFiMDliYjNlNDIifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwg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zNWJhNjk0MGZmNmM0YWEwOGMzMzc4ZDQxNDgzZmVlOSIsICJyb2xlcyI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbIjc0N2YxN2YwNDQ4NzQ3N2ZiNWVmMmRjYWYwNjNjYTM4Il19fX0xgf8wgfwCAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECBMFVW5zZXQxDjAMBgNVBAcTBVVuc2V0MQ4wDAYDVQQKEwVVbnNldDEYMBYGA1UEAxMPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIGAWJ9hQpY92wm0OzROV6yhX7peQ5pnfZFOBGsp0dKoWKUzD1rVzYfhxtlOnnxA7rQnIRc-oX39MWG5YBtu4kvHLDBFg44Z7Jqe785jGy+jviCWSIfs0WTo2xi4hiLznAgIgUjYM4DAqXNAxmj9QHafyt9Xpj7SvGSwQN2lQk9MMTs="
HTTP/1.1 200 OK
Vary: X-Auth-Token
Content-Type: application/xml
Content-Length: 1671
Date: Thu, 07 Mar 2013 14:11:38 GMT

<?xml version="1.0" encoding="UTF-8"?>
<endpoints xmlns="http://docs.openstack.org/identity/api/v2.0">
  <endpoint adminurl="http://10.233.52.230:8774/v2/$(tenant_id)s" region="RegionOne" id="1db2a3b6889d4e5a920af08013f72309" service_id="90692d2a47ec439f9eaf81cad22035f9" internalurl="http://10.233.52.230:8774/v2/$(tenant_id)s" publicurl="http://10.233.52.230:8774/v2/$(tenant_id)s"/>
  <endpoint adminurl="http://10.233.52.230:3333" region="RegionOne" id="309fc7184945434b86bfd465f30b0255" service_id="cf7891968343438cb32f934f8b6397ee" internalurl="http://10.233.52.230:3333" publicurl="http://10.233.52.230:3333"/>
  <endpoint adminurl="http://10.233.52.230:8776/v1/$(tenant_id)s" region="RegionOne" id="70ff4c1cff2446c3afe37782fb6aef5a" service_id="5b4526baf4cc425d853c2eacafd27196" internalurl="http://10.233.52.230:8776/v1/$(tenant_id)s" publicurl="http://10.233.52.230:8776/v1/$(tenant_id)s"/>
  <endpoint adminurl="http://10.233.52.230:9292" region="RegionOne" id="d670941a1eff42c396c3b21732766192" service_id="b5526fc722b34b8aace8f549222196d8" internalurl="http://10.233.52.230:9292" publicurl="http://10.233.52.230:9292"/>
  <endpoint adminurl="http://10.233.52.230:8773/services/Admin" region="RegionOne" id="5c5bd28d490e43399c4aaf4a94ba279e" service_id="001f1b23d7564e57b379dd287e893e97" internalurl="http://10.233.52.230:8773/services/Cloud" publicurl="http://10.233.52.230:8773/services/Cloud"/>
  <endpoint adminurl="http://10.233.52.230:35357/v2.0" region="RegionOne" id="f98ee2aae1d84a8b98b2a517733fcd06" service_id="301ce68c286445d39d141f832c817f8c" internalurl="http://10.233.52.230:5000/v2.0" publicurl="http://10.233.52.230:5000/v2.0"/>
</endpoints>
v3-user@Devstack-V3-230:~$