[openstack-dev] [CI] Cannot get compute endpoint when running nodepool.

Tang Chen tangchen at cn.fujitsu.com
Fri Aug 21 02:12:53 UTC 2015


Hi, all,

I got following error message while running nodepoold with "nodepoold 
-d  $DAEMON_ARGS"

--------

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/%25%28tenant_id%29s> | 
http://controller:8774/v2/%(tenant_id)s 
<http://controller:8774/v2/%25%28tenant_id%29s> | 
http://controller:8774/v2/%(tenant_id)s 
<http://controller:8774/v2/%25%28tenant_id%29s> | 
213a7ba8f0564523a3d2769f77621fde |

+----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+

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

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150821/6df73ff2/attachment.html>


More information about the OpenStack-dev mailing list