<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=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:宋体;
        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:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {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: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">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">Hi Steve,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">   Thanks for your reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">It`s a stupid mistake.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">I have made an invalid configuration for the provider`s project-id in the nodepool.yaml as follows:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:10.5pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">{ project-id: 'admin' }<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">But the correct setting should be:<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:10.5pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">{ Project-name: 'admin'}  or { project-id: '<%= id of project admin %>' }<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">To be honest, I was misled by the  sample file os-ext-testing-data/etc/nodepool/nodepool.yaml.erb,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">in which the project-id is also configured with admin.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:9.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA">Xiexs<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:JA"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Steve Martinelli [mailto:stevemar@ca.ibm.com]
<br>
<b>Sent:</b> Friday, August 21, 2015 1:48 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [keystone] Can`t find Project ID<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US">For the rest of the mailing list, how was it resolved? :)<br>
<br>
Thanks,<br>
<br>
Steve Martinelli<br>
OpenStack Keystone Core<br>
<br>
<img width="16" height="16" id="_x0000_i1025" src="cid:image001.gif@01D0DC19.2E982380" alt="Inactive hide details for "Xie, Xianshan" ---2015/08/21 01:43:35 AM---Hi all,    This issue has already been resolved."><span style="color:#424282">"Xie, Xianshan" ---2015/08/21
 01:43:35 AM---Hi all, This issue has already been resolved.</span><br>
<br>
</span><span lang="EN-US" style="font-size:10.0pt;color:#5F5F5F">From: </span><span lang="EN-US" style="font-size:10.0pt">"Xie, Xianshan" <<a href="mailto:xiexs@cn.fujitsu.com">xiexs@cn.fujitsu.com</a>></span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;color:#5F5F5F">To: </span><span lang="EN-US" style="font-size:10.0pt">"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>></span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;color:#5F5F5F">Date: </span><span lang="EN-US" style="font-size:10.0pt">2015/08/21 01:43 AM</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-size:10.0pt;color:#5F5F5F">Subject: </span>
<span lang="EN-US" style="font-size:10.0pt">Re: [openstack-dev] [keystone] Can`t find Project ID</span><span lang="EN-US"><o:p></o:p></span></p>
<div class="MsoNormal"><span lang="EN-US">
<hr size="2" width="100%" noshade="" style="color:#8091A5" align="left">
</span></div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><br>
<br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Hi all,</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">This issue has already been resolved.</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Thanks.</span><span lang="EN-US"><br>
<br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif";color:#1F497D">Xiexs</span><span lang="EN-US"><br>
<br>
</span><b><span lang="EN-US" style="font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-family:"Tahoma","sans-serif""> Xie, Xianshan [<a href="mailto:xiexs@cn.fujitsu.com">mailto:xiexs@cn.fujitsu.com</a>]
<b><br>
Sent:</b> Friday, August 21, 2015 9:51 AM<b><br>
To:</b> OpenStack Development Mailing List (not for usage questions)<b><br>
Subject:</b> [openstack-dev] [keystone] Can`t find Project ID</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">Hi, all,</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">I got following error message while running nodepoold:</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">--------</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">2015-08-21 20:18:00,336 ERROR nodepool.NodePool: Exception cleaning up leaked nodes</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">Traceback (most recent call last):</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">File "/home/nodepool/nodepool/nodepool.py", line 2399, in periodicCleanup</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">self.cleanupLeakedInstances()</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">File "/home/nodepool/nodepool/nodepool.py", line 2410, in cleanupLeakedInstances</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">servers = manager.listServers()</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">File "/home/nodepool/nodepool/provider_manager.py", line 570, in listServers</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">self._servers = self.submitTask(ListServersTask())</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">File "/home/nodepool/nodepool/task_manager.py", line 119, in submitTask</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">return task.wait()</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">File "/home/nodepool/nodepool/task_manager.py", line 57, in run</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">self.done(self.main(client))</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">File "/home/nodepool/nodepool/provider_manager.py", line 136, in main</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">servers = client.nova_client.servers.list()</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">File "/usr/local/lib/python2.7/dist-packages/shade/__init__.py", line 318, in nova_client</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">self.get_session_endpoint('compute')</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">File "/usr/local/lib/python2.7/dist-packages/shade/__init__.py", line 811, in get_session_endpoint</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">"Error getting %s endpoint: %s" % (service_key, str(e)))</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">OpenStackCloudException: Error getting compute endpoint: Project ID not found: admin (Disable debug mode to suppress these details.) (HTTP 401) (Request-ID: req-fb986bff-3cad-48e1-9da9-915ac9ef5927)</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">-------</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">And in my case, the output info with cli listed as follows:</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">$ openstack service list</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">| ID | Name | Type |</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">+----------------------------------+----------+------------+</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">| 213a7ba8f0564523a3d2769f77621fde | nova | compute |</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">$ openstack project list</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">+----------------------------------+--------------------+</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">| ID | Name |</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">+----------------------------------+--------------------+</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">| 0a765fdfa79a438aae56202bdd5824e2 | admin |</span><span lang="EN-US"><br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">$ keystone endpoint-list</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">| id | region | publicurl | internalurl | adminurl | service_id |</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">| d89b009e81f04a17a26fd07ffbf83efb | regionOne |
</span><span lang="EN-US"><a href="http://controller:8774/v2/%25(tenant_id)s"><span style="font-family:"Calibri","sans-serif"">http://controller:8774/v2/%(tenant_id)s</span></a></span><span lang="EN-US" style="font-family:"Calibri","sans-serif""> |
</span><span lang="EN-US"><a href="http://controller:8774/v2/%25(tenant_id)s"><span style="font-family:"Calibri","sans-serif"">http://controller:8774/v2/%(tenant_id)s</span></a></span><span lang="EN-US" style="font-family:"Calibri","sans-serif""> |
</span><span lang="EN-US"><a href="http://controller:8774/v2/%25(tenant_id)s"><span style="font-family:"Calibri","sans-serif"">http://controller:8774/v2/%(tenant_id)s</span></a></span><span lang="EN-US" style="font-family:"Calibri","sans-serif""> | 213a7ba8f0564523a3d2769f77621fde
 |</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+</span><span lang="EN-US"><br>
<br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">Have you ever seen this error? And could you give me any advice to solve it?</span><span lang="EN-US"><br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">Thanks in advance.</span><span lang="EN-US"><br>
<br>
<br>
</span><span lang="EN-US" style="font-family:"Calibri","sans-serif"">Xiexs</span><tt><span lang="EN-US" style="font-size:10.0pt">__________________________________________________________________________</span></tt><span lang="EN-US" style="font-size:10.0pt;font-family:"Courier New""><br>
<tt>OpenStack Development Mailing List (not for usage questions)</tt><br>
<tt>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a></tt><br>
<tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt><br>
</span><span lang="EN-US"><br>
<br>
<o:p></o:p></span></p>
</div>
</body>
</html>