<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=gb2312"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri","sans-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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML 预设格式 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:宋体;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTMLChar
{mso-style-name:"HTML 预设格式 Char";
mso-style-priority:99;
mso-style-link:"HTML 预设格式";
font-family:宋体;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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]--></head><body lang=ZH-CN link=blue vlink=purple style='text-justify-trim:punctuation'><div class=WordSection1><pre>安装<span lang=EN-US style='font-family:"Courier New";color:#23302D'>kilo </span><span style='color:#23302D'>版本,在添加</span><span style='font-family:"Courier New";color:#23302D'> </span><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>Identity service components</span></strong><strong><span style='font-size:10.0pt;font-family:宋体;color:black'>时,按照</span></strong><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><a href="http://docs.openstack.org/kilo/install-guide/install/yum/content/keystone-install.html"><span style='font-weight:normal'>http://docs.openstack.org/kilo/install-guide/install/yum/content/keystone-install.html</span></a><o:p></o:p></span></strong></pre><pre><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></strong></pre><pre><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></strong></pre><pre><strong><span style='font-size:10.0pt;font-family:宋体;color:black'>在创建服务时(</span></strong><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>openstack service create --name keystone --description "OpenStack Identity" identity</span></strong><strong><span style='font-size:10.0pt;font-family:宋体;color:black'>),出错:</span></strong><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p></o:p></span></strong></pre><pre><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>ERROR: openstack The request you have made requires authentication.<o:p></o:p></span></strong></pre><pre><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p> </o:p></span></strong></pre><pre><strong><span style='font-size:10.0pt;font-family:宋体;color:black'>在</span></strong><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'>keystone.log</span></strong><strong><span style='font-size:10.0pt;font-family:宋体;color:black'>中,出现以下日志:</span></strong><strong><span lang=EN-US style='font-size:10.0pt;font-family:"Verdana","sans-serif";color:black'><o:p></o:p></span></strong></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>2015-05-25 16:09:55.603 5092 WARNING keystone.middleware.core [-] RBAC: Invalid token<o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>2015-05-25 16:09:55.603 5092 WARNING keystone.common.wsgi [-] The request you have made requires authentication.<o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'><o:p> </o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'><o:p> </o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>.bash_profile</span><span style='color:#23302D'>中的定义如下:</span><span lang=EN-US style='font-family:"Courier New";color:#23302D'><o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>export OS_TOKEN=88cd411a1d7ec2cecb6a<o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>export OS_URL=http://10.10.2.3:35357/v2.0<o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>export OS_AUTH_URL=http://10.10.2.3:35357/v2.0<o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>export OS_USERNAME=admin<o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>export OS_PASSWORD=admin<o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>export PATH<o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'><o:p> </o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'><o:p> </o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>/etc/keystone/keystone.conf:<o:p></o:p></span></pre><pre><span lang=EN-US style='font-family:"Courier New";color:#23302D'>admin_token=88cd411a1d7ec2cecb6a<o:p></o:p></span></pre><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US>Best Regards<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US> <o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left'><span style='font-family:宋体'>欧大鹏</span><span lang=EN-US> Martin.Ou<o:p></o:p></span></p><p class=MsoNormal align=left style='text-align:left'><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal style='layout-grid-mode:char'><span style='font-size:9.0pt;font-family:宋体;color:black'>软件开发部</span><span lang=IT style='font-size:9.0pt;font-family:宋体;color:black'> </span><span lang=IT style='font-size:9.0pt;color:black'>Development Dept.<o:p></o:p></span></p><p class=MsoNormal style='layout-grid-mode:char'><span lang=EN-US style='color:black'><o:p> </o:p></span></p><p class=MsoNormal style='layout-grid-mode:char'><span style='font-size:9.0pt;font-family:宋体;color:black'>=================================</span><span lang=EN-US style='color:black'><o:p></o:p></span></p><p class=MsoNormal style='layout-grid-mode:char'><span lang=IT style='font-size:9.0pt;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:宋体;color:#984806'>江苏省太仓市经济开发区北京西路<span lang=EN-US>6</span>号留学生创业园主楼七层。</span><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#984806'><o:p></o:p></span></p><p class=MsoNormal style='layout-grid-mode:char'><span lang=IT style='font-size:9.0pt;color:black'><o:p> </o:p></span></p><p class=MsoNormal style='layout-grid-mode:char'><span lang=EN-US style='font-size:9.0pt;color:black'>HQ: Software Park, No. 8, West Renmin Rd., Taicang, P.R.China<o:p></o:p></span></p><p class=MsoNormal style='layout-grid-mode:char'><b><span lang=EN-US style='font-size:9.0pt;color:black'><a href="http://www.safesoftinc.cn/"><span style='color:blue'>www.safesoftinc.cn</span></a><o:p></o:p></span></b></p><p class=MsoNormal style='layout-grid-mode:char'><b><span lang=EN-US style='font-size:9.0pt;color:black'><o:p> </o:p></span></b></p><p class=MsoNormal><span lang=EN-US style='color:black'>+86 18962621057 (Mobile)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'>0512-53866019(Office)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='color:black'><br>This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private<br>information. If you have received it in error, please notify the sender immediately and delete the original. Any<br>other use of the email by you is prohibited.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>