[openstack-dev] [keystone] Can`t find Project ID

Steve Martinelli stevemar at ca.ibm.com
Fri Aug 21 05:48:25 UTC 2015


For the rest of the mailing list, how was it resolved? :)

Thanks,

Steve Martinelli
OpenStack Keystone Core



From:	"Xie, Xianshan" <xiexs at cn.fujitsu.com>
To:	"OpenStack Development Mailing List (not for usage questions)"
            <openstack-dev at lists.openstack.org>
Date:	2015/08/21 01:43 AM
Subject:	Re: [openstack-dev] [keystone] Can`t find Project ID



Hi all,
   This issue has already been resolved.
   Thanks.


Xiexs

From: Xie, Xianshan [mailto:xiexs at cn.fujitsu.com]
Sent: Friday, August 21, 2015 9:51 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [keystone] Can`t find Project ID

Hi, all,

I got following error message while running nodepoold:

--------
2015-08-21  20:18:00,336  ERROR  nodepool.NodePool:  Exception  cleaning up
leaked nodes
Traceback (most recent call last):
  File "/home/nodepool/nodepool/nodepool.py", line 2399, in periodicCleanup
    self.cleanupLeakedInstances()
  File     "/home/nodepool/nodepool/nodepool.py",     line     2410,     in
cleanupLeakedInstances
    servers = manager.listServers()
  File    "/home/nodepool/nodepool/provider_manager.py",   line   570,   in
listServers
    self._servers = self.submitTask(ListServersTask())
  File "/home/nodepool/nodepool/task_manager.py", line 119, in submitTask
    return task.wait()
  File "/home/nodepool/nodepool/task_manager.py", line 57, in run
    self.done(self.main(client))
  File "/home/nodepool/nodepool/provider_manager.py", line 136, in main
    servers = client.nova_client.servers.list()
  File   "/usr/local/lib/python2.7/dist-packages/shade/__init__.py",   line
318, in nova_client
    self.get_session_endpoint('compute')
  File   "/usr/local/lib/python2.7/dist-packages/shade/__init__.py",   line
811, in get_session_endpoint
    "Error getting %s endpoint: %s" % (service_key, str(e)))
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)
-------

And in my case, the output info with cli listed as follows:
$ openstack service list
| ID                               | Name     | Type       |
+----------------------------------+----------+------------+
| 213a7ba8f0564523a3d2769f77621fde | nova     | compute    |

$ openstack project list
+----------------------------------+--------------------+
| ID                               | Name               |
+----------------------------------+--------------------+
| 0a765fdfa79a438aae56202bdd5824e2 | admin              |

$ keystone endpoint-list
+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+
|                 id                 |   region  |                publicurl
|                  internalurl                 |                   adminurl
|            service_id            |
+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+
|        d89b009e81f04a17a26fd07ffbf83efb        |        regionOne       |
http://controller:8774/v2/%(tenant_id)s                                   |
http://controller:8774/v2/%(tenant_id)s                                   |
http://controller:8774/v2/%(tenant_id)s  | 213a7ba8f0564523a3d2769f77621fde
|
+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+


Have  you  ever  seen this error? And could you give me any advice to solve
it?
Thanks in advance.


Xiexs
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150821/04d9d9e8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150821/04d9d9e8/attachment.gif>


More information about the OpenStack-dev mailing list