During FAB Setup the keystone send resource not found when contrail get tenant 
list, after some research I found the contrail is sending a wrong URL.


Below the correct URL and after that the URL contrail is sending

GET /v2.0/tenants/ HTTP/1.1

User-Agent: curl/7.29.0

Host: 10.12.1.204:5000

Accept: */*

X-Auth-Token: gAAAAABaOsc0AVxBO8niQNQjQA3ErKUTO7J0quHUvQj4U- 
v_lLqstV60UPgghiaO7WkHvD3YzRVEo0UxAgeVpqwmbBiys1FxrL8cDveWPjXesIfo8loIdfuPfQw5OiLdVCEVbyMEnaiCmjN45z-
 vs0GLfGEX9wmUapwFVtues2A1IT2WWbxemQc


HTTP/1.1 200 OK

Date: Wed, 20 Dec 2017 20:30:24 GMT

Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5

Vary: X-Auth-Token

x-openstack-request-id: req-689b0442-f0b9-4ad6-8d4b-1f1aa82bb2a4

Content-Length: 144

Content-Type: application/json


{"tenants_links": [], "tenants": [{"description": "Admin Project", "enabled": 
true, "id": "807323734fa043e883046e40af5dfeb1", "name": "admin"}]}



URL FROM CONTRAIL

GET /v2/tenants HTTP/1.1

Host: controller:5000

Connection: keep-alive

Accept-Encoding: gzip, deflate

Accept: application/json

User-Agent: python-keystoneclient

X-Auth-Token: 
gAAAAABaOrlGZofdfWV8Ao47pA7LUskfzGvEg7iRZArOXXbJqpnYUFSg9ITYgWqpcNp8Cn15C08S71gbZ6xTEBmiAxMcANg18R5eMOW5_rdXxz9XF0k8UdwOripl8mEhG5O4Sa3HruURYGvTnyjnL7hgYpu0sz44YDAKUeuHSg-5u30haBxp8rg


HTTP/1.1 404 Not Found

Date: Wed, 20 Dec 2017 19:25:58 GMT

Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5

Vary: X-Auth-Token

Content-Length: 93

Keep-Alive: timeout=5, max=100

Connection: Keep-Alive

Content-Type: application/json


{"error": {"message": "The resource could not be found.", "code": 404, "title": 
"Not Found"}}




_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to