<font><font face="arial,helvetica,sans-serif">I used devstack to install stable/folsom, but I can't switch projects after successfully installation.</font></font><div><font><font face="arial,helvetica,sans-serif"><br></font></font></div>

<div><font><font face="arial,helvetica,sans-serif">I try to find the reason, and I found the code in </font></font><font face="arial, helvetica, sans-serif">python-keystoneclient/keystoneclient/v2_0/tokens.py:</font></div>

<div><font face="arial, helvetica, sans-serif"><div> 37         reset = 0</div><div> 38         if self.api.management_url is None:</div><div> 39             reset = 1</div><div> 40             self.api.management_url = self.api.auth_url</div>

<div> 41         token_ref = self._create('/tokens', params, "access",</div><div> 42                                  return_raw=return_raw)</div><div> 43         if reset:</div><div> 44             self.api.management_url = None</div>

<div> 45         return token_ref</div><div><br></div><div>I don't know what does the code mean, but I guess it affects the project switcher.</div><div><br></div><div>The reason is when the page is generating, the horizon try to retrieve all accessible tenants, but in the request.user the endpoint is None, and this variable is set by management_url. And the code above will always make the management url is None. So can anyone explain the code for me? Thanks a lot.</div>

</font><div><div><br></div><div><span style="font-family:'courier new',monospace"><br></span></div><div><span style="font-family:'courier new',monospace">- Ray</span></div><font face="'courier new', monospace">Yours faithfully, Kind regards.<br>

<br>CIeNET Technologies (Beijing) Co., Ltd<br>Email: <a href="mailto:qsun01185@cienet.com.cn" target="_blank">qsun01185@cienet.com.cn</a></font><div><font face="'courier new', monospace">Office Phone: +86-01081470088-7079<br>

Mobile Phone: +86-13581988291</font></div><br>
</div></div>