[rhos-list] problem with metadata service

Xin Zhao xzhao at bnl.gov
Thu Mar 6 20:48:48 UTC 2014


Hello,

I have a grizzly testbed, with one controller, one network host 
(quantum/ovs) and some compute nodes.

The metadata service doesn't work, I get "500 interval server error" 
when running "curl http://169.254.169.254" from VM.
The metadata-agent.log from the network node complains about "Could not 
find Service or Region in Service Catalog" (more
error messages attached after my signature).

Below is the service-list from keystone:

$ keystone service-list
+----------------------------------+----------+--------------+------------------------------+
|                id                |   name   |     type |         
description          |
+----------------------------------+----------+--------------+------------------------------+
| 6f074578087545d9a36b6c2a580d9eb4 |  cinder  |    volume    | Cinder 
Volume Service     |
| 0e72836ff484499eb58b03dd63f471e0 | compute  |   compute    | OpenStack 
Compute Service   |
| 8cf4314ae2864cbdaca6d7b3b91e77be |  glance  |    image     | Glance 
Image Service     |
| 4bd8bff1a9f646679a695f30e072fcd5 | keystone |   identity   | Keystone 
Identity Service   |
| 78f009e2bb8f4ec882773a54abbc5695 | quantum  |   network    | OpenStack 
Networking Service |
| a8e26658036849a49c5508099be81264 |  swift   | object-store | Swift 
Storage Service     |
+----------------------------------+----------+--------------+------------------------------+

So what service it's trying to find ?

Thanks,
Xin


2014-03-06 15:32:21    ERROR [quantum.agent.metadata.agent] Unexpected 
error.
Traceback (most recent call last):
   File 
"/usr/lib/python2.6/site-packages/quantum/agent/metadata/agent.py", line 
86, in __call__
     instance_id = self._get_instance_id(req)
   File 
"/usr/lib/python2.6/site-packages/quantum/agent/metadata/agent.py", line 
110, in _get_instance_id
     device_owner=DEVICE_OWNER_ROUTER_INTF)['ports']
   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", 
line 107, in with_params
     ret = self.function(instance, *args, **kwargs)
   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", 
line 255, in list_ports
     **_params)
   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", 
line 996, in list
     for r in self._pagination(collection, path, **params):
   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", 
line 1009, in _pagination
     res = self.get(path, params=params)
   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", 
line 982, in get
     headers=headers, params=params)
   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", 
line 967, in retry_request
     headers=headers, params=params)
   File "/usr/lib/python2.6/site-packages/quantumclient/v2_0/client.py", 
line 904, in do_request
     resp, replybody = self.httpclient.do_request(action, method, body=body)
   File "/usr/lib/python2.6/site-packages/quantumclient/client.py", line 
137, in do_request
     self.authenticate()
   File "/usr/lib/python2.6/site-packages/quantumclient/client.py", line 
201, in authenticate
     self._extract_service_catalog(body)
   File "/usr/lib/python2.6/site-packages/quantumclient/client.py", line 
170, in _extract_service_catalog
     endpoint_type='adminURL')
   File "/usr/lib/python2.6/site-packages/quantumclient/client.py", line 
80, in url_for
     raise exceptions.EndpointNotFound()
EndpointNotFound: Could not find Service or Region in Service Catalog.






More information about the rhos-list mailing list