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: MIIKaQYJKoZIhvcNAQcCoIIKWjCCClYCAQExCTAHBgUrDgMCGjCCCUIGCSqGSIb3DQEHAaCCCTMEggkveyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxMy0wMy0wN1QxMjoxNzo1OS40ODg0OTgiLCAiZXhwaXJlcyI6ICIyMDEzLTAzLTA4VDEyOjE3OjU5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImVuYWJsZWQiOiB0cnVlLCAiZGVzY3JpcHRpb24iOiBudWxsLCAibmFtZSI6ICJhZG1pbiIsICJpZCI6ICI0MWM1ZDE4YjA3OGQ0NmE4YmMyOWRlMWIwOWJiM2U0MiJ9fSwgInNlcnZpY2VDYXRhbG9nIjogW3siZW5kcG9pbnRzIjogW3siYWRtaW5VUkwiOiAiaHR0cDovLzEwLjIzMy41Mi4yMzA6ODc3NC92Mi80MWM1ZDE4YjA3OGQ0NmE4YmMyOWRlMWIwOWJiM2U0MiIsICJyZWdpb24iOiAiUmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly8xMC4yMzMuNTIuMjMwOjg3NzQvdjIvNDFjNWQxOGIwNzhkNDZhOGJjMjlkZTFiMDliYjNlNDIiLCAiaWQiOiAiMWU2Y2Q3OTc5ZDE2NGUxZjlmZjc3YTNmOGFjOGJjNjEiLCAicHVibGljVVJMIjogImh0dHA6Ly8xMC4yMzMuNTIuMjMwOjg3NzQvdjIvNDFjNWQxOGIwNzhkNDZhOGJjMjlkZTFiMDliYjNlNDIifV0sICJlbmRwb2ludHNfbGlua3MiOiBbXSwgInR5cGUiOiAiY29tcHV0ZSIsICJuYW1lIjogIm5vdmEifSwgeyJlbmRwb2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yI6IFt7Im5hbWUiOiAiYWRtaW4ifV0sICJuYW1lIjogImFkbWluIn0sICJtZXRhZGF0YSI6IHsiaXNfYWRtaW4iOiAwLCAicm9sZXMiOiBbIjc0N2YxN2YwNDQ4NzQ3N2ZiNWVmMmRjYWYwNjNjYTM4Il19fX0xgf8wgfwCAQEwXDBXMQswCQYDVQQGEwJVUzEOMAwGA1UECBMFVW5zZXQxDjAMBgNVBAcTBVVuc2V0MQ4wDAYDVQQKEwVVbnNldDEYMBYGA1UEAxMPd3d3LmV4YW1wbGUuY29tAgEBMAcGBSsOAwIaMA0GCSqGSIb3DQEBAQUABIGAWJ9hQpY92wm0OzROV6yhX7peQ5pnfZFOBGsp0dKoWKUzD1rVzYfhxtlOnnxA7rQnIRc-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:~$
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: MIIKaQYJKoZIhvc NAQcCoIIKWjCCCl YCAQExCTAHBgUrD gMCGjCCCUIGCSqG SIb3DQEHAaCCCTM EggkveyJhY2Nlc3 MiOiB7InRva2VuI jogeyJpc3N1ZWRf YXQiOiAiMjAxMy0 wMy0wN1QxMjoxNz o1OS40ODg0OTgiL CAiZXhwaXJlcyI6 ICIyMDEzLTAzLTA 4VDEyOjE3OjU5Wi IsICJpZCI6ICJwb GFjZWhvbGRlciIs ICJ0ZW5hbnQiOiB 7ImVuYWJsZWQiOi B0cnVlLCAiZGVzY 3JpcHRpb24iOiBu dWxsLCAibmFtZSI 6ICJhZG1pbiIsIC JpZCI6ICI0MWM1Z DE4YjA3OGQ0NmE4 YmMyOWRlMWIwOWJ iM2U0MiJ9fSwgIn NlcnZpY2VDYXRhb G9nIjogW3siZW5k cG9pbnRzIjogW3s iYWRtaW5VUkwiOi Ai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2 lQk9MMTs= "
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"?> docs.openstack. org/identity/ api/v2. 0"> 10.233. 52.230: 8774/v2/ $(tenant_ id)s" region="RegionOne" id="1db2a3b6889 d4e5a920af08013 f72309" service_ id="90692d2a47e c439f9eaf81cad2 2035f9" internalurl="http:// 10.233. 52.230: 8774/v2/ $(tenant_ id)s" publicurl="http:// 10.233. 52.230: 8774/v2/ $(tenant_ id)s"/> 10.233. 52.230: 3333" region="RegionOne" id="309fc718494 5434b86bfd465f3 0b0255" service_ id="cf789196834 3438cb32f934f8b 6397ee" internalurl="http:// 10.233. 52.230: 3333" publicurl="http:// 10.233. 52.230: 3333"/> 10.233. 52.230: 8776/v1/ $(tenant_ id)s" region="RegionOne" id="70ff4c1cff2 446c3afe37782fb 6aef5a" service_ id="5b4526baf4c c425d853c2eacaf d27196" internalurl="http:// 10.233. 52.230: 8776/v1/ $(tenant_ id)s" publicurl="http:// 10.233. 52.230: 8776/v1/ $(tenant_ id)s"/> 10.233. 52.230: 9292" region="RegionOne" id="d670941a1ef f42c396c3b21732 766192" service_ id="b5526fc722b 34b8aace8f54922 2196d8" internalurl="http:// 10.233. 52.230: 9292" publicurl="http:// 10.233. 52.230: 9292"/> 10.233. 52.230: 8773/services/ Admin" region="RegionOne" id="5c5bd28d490 e43399c4aaf4a94 ba279e" service_ id="001f1b23d75 64e57b379dd287e 893e97" internalurl="http:// 10.233. 52.230: 8773/services/ Cloud" publicurl="http:// 10.233. 52.230: 8773/services/ Cloud"/> 10.233. 52.230: 35357/v2. 0" region="RegionOne" id="f98ee2aae1d 84a8b98b2a51773 3fcd06" service_ id="301ce68c286 445d39d141f832c 817f8c" internalurl="http:// 10.233. 52.230: 5000/v2. 0" publicurl="http:// 10.233. 52.230: 5000/v2. 0"/> Devstack- V3-230: ~$
<endpoints xmlns="http://
<endpoint adminurl="http://
<endpoint adminurl="http://
<endpoint adminurl="http://
<endpoint adminurl="http://
<endpoint adminurl="http://
<endpoint adminurl="http://
</endpoints>
v3-user@