← Back to team overview

openstack team mailing list archive

Re: error in quantum in folsom

 

Hi,
Thanks for your reply.
Here is my list of my endpoints:
[(keystone_admin)]$ keystone endpoint-list 
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
|                id                |   region  |                 publicurl                  |                internalurl                 |                  adminurl                  |            service_id            |
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+
| 16668a90ff0445068b8e9fc01d568b89 | RegionOne |         http://109.158.65.21:9696          |         http://109.158.65.21:9696          |         http://109.158.65.21:9696          | cdc15413851341e7a1a827672b81c8e8 |
| 22eb7e9f80054ad0b69da2bfded3c6ca | RegionOne | http://158.109.65.21:8774/v2/%(tenant_id)s | http://158.109.65.21:8776/v2/%(tenant_id)s | http://158.109.65.21:8774/v2/%(tenant_id)s | e86d226e0b25423f8ec10dc1f475f989 |
| a6cc9804d88e4a048dd2806ae1be8cb4 | RegionOne |       http://158.109.65.21:5000/v2.0       |       http://158.109.65.21:5000/v2.0       |      http://158.109.65.21:35357/v2.0       | 1655788250244ca09cf577ee5d4f0440 |
| bf2443547b8e46228ba59f4952a372e1 | RegionOne |         http://158.109.65.21:9292          |         http://158.109.65.21:9292          |         http://158.109.65.21:9292          | c5382c430b32430eb6b89f4fedcacc4b |
+----------------------------------+-----------+--------------------------------------------+--------------------------------------------+--------------------------------------------+----------------------------------+

and the error is:
[(keystone_admin)]$ quantum -v net-create --tenant-id 112a75ab04224fa3b44109a6c4859c28 net1
DEBUG: quantumclient.quantum.v2_0.network.CreateNetwork get_data(Namespace(admin_state_down=True, columns=[], formatter='table', name='net1', prefix='', request_format='json', tenant_id='112a75ab04224fa3b44109a6c4859c28', variables=[]))
DEBUG: quantumclient.client 
REQ: curl -i http://158.109.65.21:35357/v2.0/tokens -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-quantumclient" -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "admin"}}}'

DEBUG: quantumclient.client RESP:{'date': 'Mon, 15 Apr 2013 06:58:58 GMT', 'transfer-encoding': 'chunked', 'status': '200', 'content-type': 'application/json', 'vary': 'X-Auth-Token'} {"access": {"token": {"expires": "2013-04-16T06:58:58Z", "id": "33d2a78d96784eecb715e80908da1cae", "tenant": {"enabled": true, "description": null, "name": "admin", "id": "7f177659897d46179fde0879cd8ec8d5"}}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://158.109.65.21:9292";, "region": "RegionOne", "internalURL": "http://158.109.65.21:9292";, "id": "bf2443547b8e46228ba59f4952a372e1", "publicURL": "http://158.109.65.21:9292"}], "endpoints_links": [], "type": "image", "name": "glance"}, {"endpoints": [{"adminURL": "http://158.109.65.21:8774/v2/7f177659897d46179fde0879cd8ec8d5";, "region": "RegionOne", "internalURL": "http://158.109.65.21:8776/v2/7f177659897d46179fde0879cd8ec8d5";, "id": "22eb7e9f80054ad0b69da2bfded3c6ca", "publicURL": "http://158.109.65.21:8774/v2/7f177659897d46179fde0879cd8ec8d5"}], "endpoints_links": [], "type": "compute", "name": "nova"}, {"endpoints": [{"adminURL": "http://109.158.65.21:9696";, "region": "RegionOne", "internalURL": "http://109.158.65.21:9696";, "id": "16668a90ff0445068b8e9fc01d568b89", "publicURL": "http://109.158.65.21:9696"}], "endpoints_links": [], "type": "network", "name": "openstack_network"}, {"endpoints": [{"adminURL": "http://158.109.65.21:35357/v2.0";, "region": "RegionOne", "internalURL": "http://158.109.65.21:5000/v2.0";, "id": "a6cc9804d88e4a048dd2806ae1be8cb4", "publicURL": "http://158.109.65.21:5000/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "701edcac7b8c441b9c9ce479367b05de", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["8d1805ce160b4f2eab68762083efd50a"]}}}

DEBUG: quantumclient.client 
REQ: curl -i http://109.158.65.21:9696/v2.0/networks.json -X POST -H "User-Agent: python-quantumclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 33d2a78d96784eecb715e80908da1cae" -d '{"network": {"tenant_id": "112a75ab04224fa3b44109a6c4859c28", "name": "net1", "admin_state_up": true}}'

DEBUG: quantumclient.client RESP:{'status': '400', 'content-length': 32, 'content-type': 'text/plain'} [Errno 110] Connection timed out

DEBUG: quantumclient.v2_0.client Error message: [Errno 110] Connection timed out
ERROR: quantumclient.shell [Errno 110] Connection timed out
DEBUG: quantumclient.shell clean_up CreateNetwork
DEBUG: quantumclient.shell got an error: [Errno 110] Connection timed out

the log files are:

[(keystone_admin)]$ cat /var/log/quantum/server.log 
2013-04-15 08:46:25     INFO [quantum.common.config] Logging enabled!
2013-04-15 08:46:25     INFO [quantum.common.config] Config paste file: /etc/quantum/api-paste.ini
2013-04-15 08:46:25     INFO [quantum.manager] Loading Plugin: quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
2013-04-15 08:46:25     INFO [quantum.plugins.openvswitch.ovs_quantum_plugin] Network VLAN ranges: {}
2013-04-15 08:46:25     INFO [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP server on aopcach.uab.es:5672
2013-04-15 08:46:25     INFO [quantum.api.extensions] Initializing extension manager.
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: __init__.pyc
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: extensions.pyo
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: _quotav2_model.py
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: l3.py
2013-04-15 08:46:25  WARNING [quantum.api.extensions] Loaded extension: router
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: _quotav2_model.pyc
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: _quotav2_driver.pyo
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: quotasv2.pyo
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: providernet.pyc
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: flavor.pyo
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: l3.pyo
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: quotasv2.pyc
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: l3.pyc
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: extensions.pyc
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: providernet.pyo
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: quotasv2.py
2013-04-15 08:46:25  WARNING [quantum.api.extensions] Exception loading extension: Invalid extension environment: quota driver quantum.extensions._quotav2_driver.DbQuotaDriver is needed.
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: extensions.py
2013-04-15 08:46:25  WARNING [quantum.api.extensions] Did not find expected name "Extensions" in /usr/lib/python2.7/site-packages/quantum/extensions/extensions.py
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: __init__.py
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: flavor.py
2013-04-15 08:46:25  WARNING [quantum.api.extensions] extension flavor not supported by plugin <quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2 object at 0x2c817d0>
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: __init__.pyo
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: _quotav2_driver.pyc
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: flavor.pyc
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: providernet.py
2013-04-15 08:46:25  WARNING [quantum.api.extensions] Loaded extension: provider
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: _quotav2_model.pyo
2013-04-15 08:46:25     INFO [quantum.api.extensions] Loading extension file: _quotav2_driver.py
2013-04-15 08:46:25     INFO [keystone.middleware.auth_token] Starting keystone auth_token middleware
2013-04-15 08:46:25     INFO [keystone.middleware.auth_token] Using /var/lib/quantum/keystone-signing as cache directory for signing certificate
2013-04-15 08:46:42     INFO [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP server on aopcach.uab.es:5672
[(keystone_admin)]$ cat /var/log/quantum/openvswitch-agent.log 
2013-04-15 08:46:36     INFO [quantum.common.config] Logging enabled!
2013-04-15 08:46:36     INFO [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Bridge mappings: {}
2013-04-15 08:46:36     INFO [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP server on aopcach.uab.es:5672
2013-04-15 08:46:36     INFO [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Agent initialized successfully, now running... 
2013-04-15 08:46:36     INFO [quantum.plugins.openvswitch.agent.ovs_quantum_agent] Agent out of sync with plugin!
[(keystone_admin)]$ cat /var/log/quantum/dhcp-agent.log 
2013-04-15 08:46:42     INFO [quantum.common.config] Logging enabled!
2013-04-15 08:46:42     INFO [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP server on aopcach.uab.es:5672
2013-04-15 08:46:42     INFO [quantum.agent.dhcp_agent] Synchronizing state
2013-04-15 08:46:42     INFO [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP server on aopcach.uab.es:5672
[(keystone_admin)]$ cat /var/log/quantum/l3-agent.log 
2013-04-15 08:58:37     INFO [quantum.common.config] Logging enabled!
2013-04-15 09:02:51    ERROR [quantum.agent.l3_agent] Error running l3_nat daemon_loop
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/quantum/agent/l3_agent.py", line 171, in daemon_loop
    self.do_single_loop()
  File "/usr/lib/python2.7/site-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/site-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/site-packages/quantumclient/v2_0/client.py", line 106, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py", line 263, in list_networks
    return self.get(self.networks_path, params=_params)
  File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py", line 542, in get
    headers=headers, params=params)
  File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py", line 527, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py", line 472, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py", line 453, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/usr/lib/python2.7/site-packages/quantumclient/v2_0/client.py", line 86, in exception_handler_v20
    message=message)
QuantumClientException: [Errno 110] ETIMEDOUT

Date: Fri, 12 Apr 2013 08:53:30 -0700
Subject: Re: [Openstack] error in quantum in folsom
From: sorlando@xxxxxxxxxx
To: arindam@xxxxxxxx

Looks like the request is not making it to the quantum server at all.Can you verify the keystone endpoints are properly configured (keystone endpoint-list, to be executed with admin credentials)?

Regards,Salvatore

On 12 April 2013 04:13, Arindam Choudhury <arindam@xxxxxxxx> wrote:




Hi,

I am new to openstack and I am trying to install openstack folsom on fedora 18. any help will be highly appreciated.

while installing quantum I got this error:

[(keystone_admin)]$ quantum net-create --tenant-id 112a75ab04224fa3b44109a6c4859c28 net1

[Errno 110] Connection timed out

 /var/log/quantum/server.log 
2013-04-12 12:43:53     INFO [quantum.common.config] Logging enabled!
2013-04-12 12:43:53     INFO [quantum.common.config] Config paste file: /etc/quantum/api-paste.ini

2013-04-12 12:43:53     INFO [quantum.manager] Loading Plugin: quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
2013-04-12 12:43:53     INFO [quantum.plugins.openvswitch.ovs_quantum_plugin] Network VLAN ranges: {}

2013-04-12 12:43:53     INFO [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP server on 158.109.65.21:5672
2013-04-12 12:43:53     INFO [quantum.api.extensions] Initializing extension manager.

2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: __init__.pyc
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: extensions.pyo
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: _quotav2_model.py

2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: l3.py
2013-04-12 12:43:53  WARNING [quantum.api.extensions] Loaded extension: router
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: _quotav2_model.pyc

2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: _quotav2_driver.pyo
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: quotasv2.pyo
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: providernet.pyc

2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: flavor.pyo
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: l3.pyo
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: quotasv2.pyc

2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: l3.pyc
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: extensions.pyc
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: providernet.pyo

2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: quotasv2.py
2013-04-12
 12:43:53  WARNING [quantum.api.extensions] Exception loading extension:
 Invalid extension environment: quota driver 
quantum.extensions._quotav2_driver.DbQuotaDriver is needed.
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: extensions.py
2013-04-12
 12:43:53  WARNING [quantum.api.extensions] Did not find expected name 
"Extensions" in 
/usr/lib/python2.7/site-packages/quantum/extensions/extensions.py
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: __init__.py
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: flavor.py

2013-04-12
 12:43:53  WARNING [quantum.api.extensions] extension flavor not 
supported by plugin 
<quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2 
object at 0x39a4450>
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: __init__.pyo
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: _quotav2_driver.pyc

2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: flavor.pyc
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: providernet.py
2013-04-12 12:43:53  WARNING [quantum.api.extensions] Loaded extension: provider

2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: _quotav2_model.pyo
2013-04-12 12:43:53     INFO [quantum.api.extensions] Loading extension file: _quotav2_driver.py
2013-04-12 12:43:53     INFO [keystone.middleware.auth_token] Starting keystone auth_token middleware

2013-04-12
 12:43:53     INFO [keystone.middleware.auth_token] Using 
/var/lib/quantum/keystone-signing as cache directory for signing 
certificate
2013-04-12 13:08:07     INFO [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP server on 158.109.65.21:5672
2013-04-12 13:09:05     INFO [quantum.common.config] Logging enabled!

2013-04-12 13:09:05     INFO [quantum.common.config] Config paste file: /etc/quantum/api-paste.ini
2013-04-12 13:09:05     INFO [quantum.manager] Loading Plugin: quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2

2013-04-12 13:09:05     INFO [quantum.plugins.openvswitch.ovs_quantum_plugin] Network VLAN ranges: {}
2013-04-12 13:09:05     INFO [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP server on 158.109.65.21:5672

2013-04-12 13:09:05     INFO [quantum.api.extensions] Initializing extension manager.
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: __init__.pyc
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: extensions.pyo

2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: _quotav2_model.py
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: l3.py
2013-04-12 13:09:05  WARNING [quantum.api.extensions] Loaded extension: router

2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: _quotav2_model.pyc
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: _quotav2_driver.pyo
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: quotasv2.pyo

2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: providernet.pyc
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: flavor.pyo
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: l3.pyo

2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: quotasv2.pyc
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: l3.pyc
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: extensions.pyc

2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: providernet.pyo
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: quotasv2.py
2013-04-12
 13:09:05  WARNING [quantum.api.extensions] Exception loading extension:
 Invalid extension environment: quota driver 
quantum.extensions._quotav2_driver.DbQuotaDriver is needed.
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: extensions.py
2013-04-12
 13:09:05  WARNING [quantum.api.extensions] Did not find expected name 
"Extensions" in 
/usr/lib/python2.7/site-packages/quantum/extensions/extensions.py
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: __init__.py
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: flavor.py

2013-04-12
 13:09:05  WARNING [quantum.api.extensions] extension flavor not 
supported by plugin 
<quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2 
object at 0x384c450>
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: __init__.pyo
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: _quotav2_driver.pyc

2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: flavor.pyc
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: providernet.py
2013-04-12 13:09:05  WARNING [quantum.api.extensions] Loaded extension: provider

2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: _quotav2_model.pyo
2013-04-12 13:09:05     INFO [quantum.api.extensions] Loading extension file: _quotav2_driver.py
2013-04-12 13:09:05     INFO [keystone.middleware.auth_token] Starting keystone auth_token middleware

2013-04-12
 13:09:05     INFO [keystone.middleware.auth_token] Using 
/var/lib/quantum/keystone-signing as cache directory for signing 
certificate

 		 	   		  

_______________________________________________

Mailing list: https://launchpad.net/~openstack

Post to     : openstack@xxxxxxxxxxxxxxxxxxx

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp



 		 	   		  

References