<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 04/16/2014 12:15 PM, Wang, Min
wrote:<br>
</div>
<blockquote
cite="mid:5FF778AAAC20E7409CBBE0A89E3B36D3C18D88@G1W3655.americas.hpqcorp.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hello there,<span
style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My name is Min Wang, and I am working in
HP cloud compute team. I got a question regarding keystone
configuration and need guidance.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So I am following the instruction in this
pdf file: <a moz-do-not-send="true"
href="http://docs.openstack.org/havana/install-guide/install/apt/openstack-install-guide-apt-havana.pdf">http://docs.openstack.org/havana/install-guide/install/apt/openstack-install-guide-apt-havana.pdf</a><o:p></o:p></p>
<p class="MsoNormal">When I type these command line in the vm,
I got errors, which I don’t know how to solve<o:p></o:p></p>
<p class="MsoNormal">First, create a tenant for an
administrative user and a tenant for other OpenStack
services<o:p></o:p></p>
<p class="MsoNormal">to use.<o:p></o:p></p>
<p class="MsoNormal"><span
style="background:yellow;mso-highlight:yellow"># keystone
tenant-create --name=admin --description="Admin Tenant"<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="background:yellow;mso-highlight:yellow"># keystone
tenant-create --name=service --description="Service
Tenant"</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The following is what I got:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">openstack@ubuntu:~$ keystone
tenant-create --name=admin --description="Admin Tenant"<o:p></o:p></p>
<p class="MsoNormal">An unexpected error prevented the server
from fulfilling your request. (ProgrammingError) (1146,
"Table 'keystone.token' doesn't exist") 'SELECT token.id AS
token_id, token.expires AS token_expires, token.extra AS
token_extra, token.valid AS token_valid, token.user_id AS
token_user_id, token.trust_id AS token_trust_id \nFROM token
\nWHERE token.id = %s' ('75c91af688178897bcdb',) (HTTP 500)</p>
</div>
</div>
</blockquote>
<br>
Did you run keystone_manage db_sync? You can confirm with
keystone_manage db_version<br>
<blockquote
cite="mid:5FF778AAAC20E7409CBBE0A89E3B36D3C18D88@G1W3655.americas.hpqcorp.net"
type="cite">
<div class="WordSection1">
<div>
<p class="MsoNormal"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">openstack@ubuntu:~$ sudo keystone
tenant-create --name=admin --description="Admin Tenant"<o:p></o:p></p>
<p class="MsoNormal">Expecting an auth URL via either
--os-auth-url or env[OS_AUTH_URL]<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">All of the steps above these command
lines got good result,I am not sure where is the error
source.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best Regards and Many thanks!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>