← Back to team overview

openstack team mailing list archive

Re: [folsom][quantum-server][horizon] error in horizon and quantum server

 

Hi,

I ran all the command again from the https://fedoraproject.org/wiki/Quantum
but still I am getting this error:

[(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:49:54 GMT', 'transfer-encoding': 'chunked', 'status': '200', 'content-type': 'application/json', 'vary': 'X-Auth-Token'} {"access": {"token": {"expires": "2013-04-16T06:49:53Z", "id": "b6ff3bb7b77248d2a910abee2c2dddc8", "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: b6ff3bb7b77248d2a910abee2c2dddc8" -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
[(keystone_admin)]$ 


Date: Sat, 13 Apr 2013 16:18:56 +0300
From: gkotton@xxxxxxxxxx
To: arindam@xxxxxxxx
CC: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] [folsom][quantum-server][horizon] error in horizon and quantum server


  
    
  
  
    Hi,

    A coupe of questions:

    1. If you are using fedora, then did you run the script -
    quantum-server-setup? This is a utility script that helps configure
    the quantum configuration files for the chosen plugin (you can look
    at https://fedoraproject.org/wiki/Quantum for more info)

    2. Can you please look in /etc/quantum/plugin.ini - this will have
    the database configuration for the service. Can you please check
    that this is configured correctly.

    3. Can you please look if there are any errors in the log file -
    /var/log/quantum/server.log

    Thanks

    Gay

    

    On 04/11/2013 07:04 PM, Arindam Choudhury wrote:
    
      
      Hi,

        

        I am a openstack newbie and trying to install folsom on fedora
        18.

        

        I have so far configured. 

        

        $ openstack-status 

        == Nova services ==

        openstack-nova-api:           active

        openstack-nova-cert:          active

        openstack-nova-compute:       active

        openstack-nova-network:       inactive (disabled on boot)

        openstack-nova-scheduler:     active

        openstack-nova-volume:        inactive (disabled on boot)

        openstack-nova-conductor:     inactive (disabled on boot)

        == Glance services ==

        openstack-glance-api:         active

        openstack-glance-registry:    active

        == Keystone service ==

        openstack-keystone:           active

        == Horizon service ==

        openstack-dashboard:          active

        == Quantum services ==

        quantum-server:               active

        == Support services ==

        httpd:                        active

        libvirtd:                     active

        qpidd:                        active

        memcached:                    active

        

        The instructions I followed is in https://gist.github.com/arindamchoudhury/b07f886b5203b5577d83

        

        In the dashboard when I click on networks, it does not
        respond.also "launch instance" takes a lot of time.

        

        [(keystone_user)]$ quantum ext-list

        [Errno 110] Connection timed out

        

        

        The /var/log/quantum/server.log:

        [arindam@aopcach ~]$ cat /var/log/quantum/server.log 

        2013-04-11 17:45:23     INFO [quantum.common.config] Logging
        enabled!

        2013-04-11 17:45:23     INFO [quantum.common.config] Config
        paste file: /etc/quantum/api-paste.ini

        2013-04-11 17:45:23     INFO [quantum.manager] Loading Plugin:
        quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2

        2013-04-11 17:45:23     INFO [quantum.db.api] Database
        registration exception: (OperationalError) (2002, "Can't connect
        to local MySQL server through socket '/var/lib/mysql/mysql.sock'
        (2)") None None

        2013-04-11 17:45:24     INFO [quantum.db.api] Unable to connect
        to database, infinite attempts left. Retrying in 2 seconds

        2013-04-11 17:45:26     INFO
        [quantum.plugins.openvswitch.ovs_quantum_plugin] Network VLAN
        ranges: {}

        2013-04-11 17:45:26     INFO
        [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP
        server on 158.109.65.21:5672

        2013-04-11 17:45:26     INFO [quantum.api.extensions]
        Initializing extension manager.

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: __init__.pyc

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: extensions.pyo

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: _quotav2_model.py

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: l3.py

        2013-04-11 17:45:26  WARNING [quantum.api.extensions] Loaded
        extension: router

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: _quotav2_model.pyc

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: _quotav2_driver.pyo

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: quotasv2.pyo

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: providernet.pyc

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: flavor.pyo

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: l3.pyo

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: quotasv2.pyc

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: l3.pyc

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: extensions.pyc

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: providernet.pyo

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: quotasv2.py

        2013-04-11 17:45:26  WARNING [quantum.api.extensions] Exception
        loading extension: Invalid extension environment: quota driver
        quantum.extensions._quotav2_driver.DbQuotaDriver is needed.

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: extensions.py

        2013-04-11 17:45:26  WARNING [quantum.api.extensions] Did not
        find expected name "Extensions" in
        /usr/lib/python2.7/site-packages/quantum/extensions/extensions.py

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: __init__.py

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: flavor.py

        2013-04-11 17:45:26  WARNING [quantum.api.extensions] extension
        flavor not supported by plugin
        <quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
        object at 0x2402450>

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: __init__.pyo

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: _quotav2_driver.pyc

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: flavor.pyc

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: providernet.py

        2013-04-11 17:45:26  WARNING [quantum.api.extensions] Loaded
        extension: provider

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: _quotav2_model.pyo

        2013-04-11 17:45:26     INFO [quantum.api.extensions] Loading
        extension file: _quotav2_driver.py

        2013-04-11 17:45:26     INFO [keystone.middleware.auth_token]
        Starting keystone auth_token middleware

        2013-04-11 17:45:26     INFO [keystone.middleware.auth_token]
        Using /var/lib/quantum/keystone-signing as cache directory for
        signing certificate

        2013-04-11 17:46:55     INFO
        [quantum.openstack.common.rpc.impl_qpid] Connected to AMQP
        server on 158.109.65.21:5672

        

        

      
      

      
      

      _______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

    
    
 		 	   		  

References