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

Jordan Pittier jordan.pittier at scality.com
Fri Aug 21 09:23:11 UTC 2015


Hi,
Please have a look at
http://lists.openstack.org/pipermail/openstack-dev/2015-August/072556.html

Jordan

On Fri, Aug 21, 2015 at 4:12 AM, Tang Chen <tangchen at cn.fujitsu.com> wrote:

> 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/%(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.
>
> __________________________________________________________________________
> 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/dd162719/attachment.html>


More information about the OpenStack-dev mailing list