<div dir="ltr"><div><div><div><div>Hi all,<br><br></div>In nova-api.log, I can find the following log messages. It complains:<br><br><span style="color:rgb(255,0,0)">Identity response: {"error":
{"message": "Could not find token: feeac5dc7e19482bb554ae997059f537",
"code": 404, "title": "Not Found"}}</span><br><span style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)"><br>2014-12-04 16:06:33.544 INFO
keystoneclient.session [-] Failure: Unable to establish connection to
<a href="http://10.10.102.148:35357/v3/auth/tokens" target="_blank">http://10.10.102.148:35357/v3/auth/tokens</a>. Retrying in 0.5s.<br>2014-12-04
16:06:45.448 INFO keystoneclient.session [-] Failure: Unable to
establish connection to <a href="http://10.10.102.148:35357/v3/auth/tokens" target="_blank">http://10.10.102.148:35357/v3/auth/tokens</a>.
Retrying in 0.5s.</span><br></span></div><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)"></span></span></div></div><div><br>2014-12-04 15:55:42.339 INFO nova.osapi_compute.wsgi.server [-] <span style="color:rgb(255,0,0)">10.10.105.155</span> "GET /v2/c9b81c3593ac49fcb2d84344c76aea5c/servers/detail?all_tenants=True&host=dujun-OptiPlex-3020 HTTP/1.1" status: 401 len: 288 time: 0.0203280<br>2014-12-04 15:55:42.452 DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://<span style="color:rgb(255,0,0)">10.10.102.148</span>:35357/v3/auth/tokens -H "X-Subject-Token: {SHA1}8a3ed23d98f05cac74d937db576635fdd5276c45" -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}799f06e7d7c4c13f40145ecb0fda15d83e4b9a94" from (pid=4038) _http_log_request /opt/stack/python-keystoneclient/keystoneclient/session.py:162<br>2014-12-04 15:55:42.477 DEBUG keystoneclient.session [-] RESP: from (pid=4038) _http_log_response /opt/stack/python-keystoneclient/keystoneclient/session.py:190<br>2014-12-04
15:55:42.477 DEBUG keystoneclient.session [-] Request returned failure
status: 404 from (pid=4038) request /opt/stack/python-keystoneclient/keystoneclient/session.py:353<br>2014-12-04 15:55:42.477 WARNING keystonemiddleware.auth_token [-] Authorization failed for token<br>2014-12-04 15:55:42.477 WARNING keystonemiddleware.auth_token [-] <span style="color:rgb(255,0,0)">Identity response: {"error": {"message": "Could not find token: feeac5dc7e19482bb554ae997059f537", "code": 404, "title": "Not Found"}}</span><br>2014-12-04 15:55:42.477 WARNING keystonemiddleware.auth_token [-] Authorization failed for token<br><br><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">Interestingly,
my localhost ip is 10.10.105.155, and 10.10.102.148 is another machine.
I installed a devstack both in 10.10.102.148 and 10.10.105.155.<br><br></span></span><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">And in order to avoid downloading git</span></span><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)"><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)"> source </span></span>package from <a href="http://git.openstack.org" target="_blank">git.openstack.org</a>, I copy the packages which under directory /opt/stack(apart from data and logs) from</span> </span><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">10.10.102.148 to </span></span><br><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">10.10.105.155. Then, I execute ./stack.sh to install devstack and get the logs below.<br><br></span></span></div><div><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">My question is: </span></span><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">10.10.102.148 is independent from </span></span><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">10.10.105.155, why keystoneclient always try to fetch </span></span><span style="color:rgb(255,0,0)"><span style="color:rgb(255,0,0)"><a href="http://10.10.102.148:35357/v3/auth/tokens" target="_blank">http://10.10.102.148:35357/v3/auth/tokens</a><span style="color:rgb(0,0,0)">?</span><br><br><br><br></span></span></div><div><span style="color:rgb(0,0,0)">--<br></span></div><span style="color:rgb(255,0,0)"><span style="color:rgb(0,0,0)">Regards,<br>Frank</span></span></div>