<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">Hi everyone,</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">i am getting below error while running below command </div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><div class="gmail_default">[root@localhost ~]# keystone tenant-create --name admin --description "Admin Tenant"</div><div class="gmail_default">An unexpected error prevented the server from fulfilling your request. (HTTP 500)</div><div class="gmail_default">[root@localhost ~]# </div><div class="gmail_default"><br></div><div class="gmail_default">Prior to run this command i have done following :</div><div class="gmail_default"><br></div><div class="gmail_default">







<p class=""><span class=""><b>o -  Juno -  Juno -  Juno -  Juno -  Juno -  Juno -  Juno - </b></span></p>
<p class=""><span class=""><b> Create tenants, users, and roles</b></span></p>
<p class=""><span class="">After you install the Identity service, create </span><span class="">tenants</span><span class=""> (projects), </span><span class="">users</span><span class="">, and </span><span class="">roles</span><span class=""> for your environment. You must use the temporary administration token that you created in <a href="http://docs.openstack.org/juno/install-guide/install/yum/content/keystone-install.html"><span class="">the section called “Install and configure”</span></a> and manually configure the location (endpoint) of the Identity service before you run <b>keystone</b> commands.</span></p>
<p class=""><span class="">You can pass the value of the administration token to the <b>keystone</b> command with the </span><span class="">--os-token</span><span class=""> option or set the temporary </span><span class="">OS_SERVICE_TOKEN</span><span class=""> environment variable. Similarly, you can pass the location of the Identity service to the <b>keystone</b> command with the </span><span class="">--os-endpoint</span><span class=""> option or set the temporary </span><span class="">OS_SERVICE_ENDPOINT</span><span class=""> environment variable. This guide uses environment variables to reduce command length.</span></p>
<p class=""><span class="">For more information, see the <a href="http://docs.openstack.org/openstack-ops/content/projects_users.html"><span class="">Operations Guide - Managing Project and Users</span></a>.</span></p>
<p class=""><span class=""> </span></p>
<p class=""><span class=""><b>To configure prerequisites</b></span></p>
<ol class="">
<li class=""><span class="">Configure the administration token:<br>
</span><span class="">$ export OS_SERVICE_TOKEN=1dd717043ad277e29edb</span><span class=""><br>
</span><span class="">$ export OS_SERVICE_TOKEN=294a4c8a8a475f9b9836</span></li>
<li class=""><span class=""></span><span class="">Configure the endpoint:<br>
</span><span class="">$ export OS_SERVICE_ENDPOINT=http://</span><span class=""><i>controller</i></span><span class="">:35357/v2.0</span></li>
</ol></div></div><div><br></div><div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">​Please advise, how to fix this issue ?</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;color:rgb(102,102,102)">Thanks​</div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Thanks & regards,<br>Anwar M. Durrani<div>+91-8605010721<br><a href="http://in.linkedin.com/pub/anwar-durrani/20/b55/60b" title="View public profile" name="SafeHtmlFilter_SafeHtmlFilter_webProfileURL" target="_blank"></a><dl><dd><p>
          
        
      </p>
      </dd></dl><br></div></div></div>
</div>