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

Asselin, Ramy ramy.asselin at hp.com
Sat Aug 22 00:21:52 UTC 2015


Hi Tang,

Sorry I did not see this post. I started a thread here to explain the issue: [1]

Ramy

[1] http://lists.openstack.org/pipermail/openstack-dev/2015-August/072556.html

From: Tang Chen [mailto:tangchen at cn.fujitsu.com]
Sent: Thursday, August 20, 2015 7:13 PM
To: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org>; Asselin, Ramy <ramy.asselin at hp.com>; Abhishek Shrivastava <abhishek at cloudbyte.com>; "Xie, Xianshan/谢 贤山" <xiexs at cn.fujitsu.com>
Subject: [CI] Cannot get compute endpoint when running nodepool.

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/20150822/569e0cb1/attachment.html>


More information about the OpenStack-dev mailing list