<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Microsoft YaHei UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style>
</head>
<body>
<div><span></span>Hi guys, </div>
<div><br>
</div>
<div>I recently met an error when creating a trove instance. Here are log details [1]. I checked<span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"> trove-taskmanager.conf again and again to make sure the trove_auth_url and many other
 options were currect. But this error was still raised.  So I went to the codes to confirm that novaclient was ok, added some codes to log variables but found a strange logic--</span></div>
<div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;"><br>
</span></div>
<div><span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">In function </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">trove.common.remote.nova_client, Line 104, auth_token is assigned
 with context.auth_token, but context.auth_token is assigned with CONF.nova_proxy_admin_pass in </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">trove.taskmanager.manager.Manager#__init__ , Line 48.  And log
 infos [2] show that auth_token is my nova_proxy_admin_pass.  I go to the /novaclient/client.py , Line 136 shows that if auth_token has value, then token is assigned with auth_token, but auth_token is actually a admin pass.</span></div>
<div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br>
</span></div>
<div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">That's really weird. </span></div>
<div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br>
</span></div>
<div>After changing <span style="font-size: 10.5pt; line-height: 1.5; background-color: window;">trove.common.remote.nova_client, Line 104, "auth_token = context.auth_token" into "password = context.auth_token", it seems right with auth_token "</span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">2017-07-31 18:28:25.818 5504 INFO trove.common.remote [-] ZHF - auth_token-->gAAAAABZfvn8K8E9q5vNkgyvByLmNwytd0MmubrGckaZk6HVnYpgzQzfg_FUjLLpDyR9MF9OPACDuQAPS9vu4VILNBZdXbz3ViTSD2DL6m_4ujWLcwMm6TlrS_1Es1jtKxp4ynuhFx9ENacobj2NdGOHVZGQvXMyXgk0LIOOdoP7vIwOyQGOm0AD3-vGfWTuODiCE6On_bMm</span><span style="background-color: window; font-size: 10.5pt; line-height: 1.5;">".</span></div>
<div><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"><br>
</span></div>
<div>So I am wondering that would you guys please help me with the unauthorized error and the nova_client weird logic? I am not sure it is an issue, but it seems odd. </div>
<div><br>
</div>
<div>Fan Zhang.</div>
<div><br>
</div>
<div>[1]. <span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"></span><a href="http://paste.ubuntu.com/25210882/" microsoftyaheiui??;font-size:14px;font-weight:normal;font-style:normal;?="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">http://paste.ubuntu.com/25210882/</a><span microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:normal;font-style:normal;text-decoration:none;?="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span></div>
<div><span microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:normal;font-style:normal;text-decoration:none;?="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">[2]. </span><span style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"></span><a href="http://paste.ubuntu.com/25211836/" microsoftyaheiui??;font-size:14px;font-weight:normal;font-style:normal;?="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;">http://paste.ubuntu.com/25211836/</a><span microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:normal;font-style:normal;text-decoration:none;?="" style="font-family: ''; font-size: 10.5pt; line-height: 1.5; background-color: window;"> </span></div>
<div><br>
</div>
<span style="font-family: "" microsoftyaheiui??;font-size:14px;color:rgb(0,0,0);background-color:rgb(255,255,255);font-weight:normal;font-style:normal;text-decoration:none;?=""></span>
<hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span>
<div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<div>Best wishes.</div>
<div><br>
</div>
<div><br>
</div>
</div>
</span></div>
</body>
</html>