← Back to team overview

openstack team mailing list archive

l3-agent : EndpointNotFound

 

Hi, all

I have 2 questions.

  1. l3-agent error log : EndpointNotFound
  2. How can I use 2012.2 packages now ?

A mount ago, I could build OpenStack Folsom on Ubuntu 12.04 or 12.10
with Quantum by using this bash script.

  https://github.com/jedipunkz/openstack_folsom_deploy

Now Ubuntu package version grew up to 2012.2.1 from 2012.2. and I
can not build OpenStack Folsom with Ubuntu Packages.

  * Ubuntu 12.10 packages : 2012.2.1
  * Ubuntu Cloud Archives packages : 2012.2.1

at first...

1. l3-agent error log : EndpointNotFound

I can see error log in /var/log/quantum/l3-agent.log like these.

---
2013-02-19 10:48:47    ERROR [quantum.agent.l3_agent] Error running l3_nat daemon_loop
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 171, in daemon_loop
    self.do_single_loop()
  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 202, in do_single_loop
    target_ex_net_id = self._fetch_external_net_id()
  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 183, in _fetch_external_net_id
    ex_nets = self.qclient.list_networks(**params)['networks']
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 102, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 244, in list_networks
    return self.get(self.networks_path, params=_params)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 525, in get
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 510, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/quantumclient/v2_0/client.py", line 447, in do_request
    resp, replybody = self.httpclient.do_request(action, method, body=body)
  File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 139, in do_request
    self.authenticate()
  File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 207, in authenticate
    self._extract_service_catalog(body)
  File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 176, in _extract_service_catalog
    endpoint_type='adminURL')
  File "/usr/lib/python2.7/dist-packages/quantumclient/client.py", line 80, in url_for
    raise exceptions.EndpointNotFound()
EndpointNotFound: An unknown exception occurred.
---

this message said 'EndpoiintNotFound". but all of endpoints are available.

% keystone endpoint-list
+----------------------------------+----------+------------------------------------------+------------------------------------------+------------------------------------------+
|                id                |  region  |                publicurl                 |               internalurl                |                 adminurl                 |
+----------------------------------+----------+------------------------------------------+------------------------------------------+------------------------------------------+
| 111d3b792d6c474da25923b1d47dc975 | myregion |       http://172.16.1.11:5000/v2.0       |       http://172.16.1.11:5000/v2.0       |      http://172.16.1.11:35357/v2.0       |
| 451b61bcf24c40ab9bf75201b9512cca | myregion |        http://172.16.1.11:9292/v2        |        http://172.16.1.11:9292/v2        |        http://172.16.1.11:9292/v2        |
| 9c758eadd7de41e98b64959d2e46a58c | myregion |         http://172.16.1.11:9696/         |         http://172.16.1.11:9696/         |         http://172.16.1.11:9696/         |
| a53d2e089371455083bb84ac853e4d92 | myregion | http://172.16.1.11:8774/v2/$(tenant_id)s | http://172.16.1.11:8774/v2/$(tenant_id)s | http://172.16.1.11:8774/v2/$(tenant_id)s |
| f540d7db1eec426aaba4ad33a4e69c30 | myregion |  http://172.16.1.11:8773/services/Cloud  |  http://172.16.1.11:8773/services/Cloud  |  http://172.16.1.11:8773/services/Admin  |
| f5fbe3320f70463ebef547a623bf6622 | myregion | http://172.16.1.11:8776/v1/$(tenant_id)s | http://172.16.1.11:8776/v1/$(tenant_id)s | http://172.16.1.11:8776/v1/$(tenant_id)s |
+----------------------------------+----------+------------------------------------------+------------------------------------------+------------------------------------------+

and all of users, roles, services are available.

% keystone user-list
+----------------------------------+---------+---------+-------------------+
|                id                |   name  | enabled |       email       |
+----------------------------------+---------+---------+-------------------+
| 2792df13a34b4b1a99f25ad7c2775457 |   demo  |   True  |  demo@xxxxxxxxxxx |
| 335e4af6eb654ad0be61e7e80b83c920 |   nova  |   True  | admin@xxxxxxxxxxx |
| 4bc9fba3b6b945e4945df134db83abd9 | quantum |   True  | admin@xxxxxxxxxxx |
| d8fb9b2192214728b93d774d252ae776 |  cinder |   True  | admin@xxxxxxxxxxx |
| d9e7d1430df94a93aa909a5d473424ae |  glance |   True  | admin@xxxxxxxxxxx |
| ef614c8dc89148858973036fb971a87d |  admin  |   True  | admin@xxxxxxxxxxx |
+----------------------------------+---------+---------+-------------------+
% keystone role-list
+----------------------------------+--------+
|                id                |  name  |
+----------------------------------+--------+
| 2a79fcf0a1f04a87a0e310e012f50ef5 | Member |
| 84de30abc9154824b869931571ce52e9 | admin  |
+----------------------------------+--------+
% keystone service-list
+----------------------------------+----------+----------+------------------------------+
|                id                |   name   |   type   |         description          |
+----------------------------------+----------+----------+------------------------------+
| 4819ea4ffe084c95930f4fad9b75ccbd |  glance  |  image   |   OpenStack Image Service    |
| 67ffd5c0e88c44a6bf246b39a10a1af0 |  cinder  |  volume  |   OpenStack Volume Service   |
| 774584cf4a7042ad970a42438679f67f |   ec2    |   ec2    |         EC2 Service          |
| a112b24dfd464a07a595ce3dced0f716 | keystone | identity |  OpenStack Identity Service  |
| c3dc097b274c4c1e865718c5c2705cc8 |   nova   | compute  |  OpenStack Compute Service   |
| d2e3eb16996347ec9491898c96b2122c | quantum  | network  | OpenStack Networking Service |
+----------------------------------+----------+----------+------------------------------+

Do you have any idea ?


2. How can I use 2012.2 packages now ?

How can I use 2012.2 packages on ubuntu repository or ubuntu cloud
archive repository ? I think that I can build openstack with 2012.2
packages.

Unfortunately, I lost 2012.2 packages in my /var/cache/apt/archives.

Best Regards from Snowy Tokyo. ;)

-- Tomokazu Hirai


Follow ups