no db table create for neutron [closed]

asked 2014-07-20 05:38:22 -0500

hi all,

After i installation the icehouse folow the installation guildline(), but go to the neutron part is failed.

os:centos6.5 rod:icehouse neutron:ml2+openvswich+gre

When i perform below command:

root@controller0 ~]# neutron net-create ext-net --shared --router:external=True
Request Failed: internal server error while processing your request.

See the /var/log/neutron/server.log

2014-07-20 17:54:46.683 13021 INFO neutron.api.extensions [-] Loading extension file: vpnaas.pyc
2014-07-20 17:54:46.685 13021 INFO neutron.api.extensions [-] Loading extension file: vpnaas.pyo
2014-07-20 17:54:46.687 13021 INFO neutron.api.extensions [-] Extension 'agent' provides no backward compatibility map for extended attributes
2014-07-20 17:54:46.688 13021 INFO neutron.api.extensions [-] Extension 'Allowed Address Pairs' provides no backward compatibility map for extended attributes
2014-07-20 17:54:46.691 13021 INFO neutron.api.extensions [-] Extension 'Neutron Extra Route' provides no backward compatibility map for extended attributes
2014-07-20 17:54:46.748 13021 INFO keystoneclient.middleware.auth_token [-] Starting keystone auth_token middleware
2014-07-20 17:54:46.748 13021 WARNING keystoneclient.middleware.auth_token [-] Configuring admin URI using auth fragments. This is deprecated, use 'identity_uri' instead.
2014-07-20 17:54:46.758 13021 INFO keystoneclient.middleware.auth_token [-] Using /tmp/keystone-signing-5vpf7S as cache directory for signing certificate
2014-07-20 17:54:46.788 13021 INFO neutron.service [-] Neutron service started, listening on 0.0.0.0:9696
2014-07-20 17:54:46.794 13021 INFO neutron.wsgi [-] (13021) wsgi starting up on http://0.0.0.0:9696/

2014-07-20 17:54:46.813 13021 INFO neutron.openstack.common.rpc.impl_qpid [-] Connected to AMQP server on controller0:5672
2014-07-20 17:55:52.339 13021 INFO neutron.wsgi [-] (13021) accepted ('172.16.0.10', 45226)

2014-07-20 17:55:52.361 13021 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller0
2014-07-20 17:55:52.563 13021 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller0
2014-07-20 17:55:52.655 13021 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller0
2014-07-20 17:55:52.665 13021 INFO keystoneclient.middleware.auth_token [-] Auth Token confirmed use of v2.0 apis
2014-07-20 17:55:52.666 13021 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller0
2014-07-20 17:55:52.679 13021 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): controller0
2014-07-20 17:55:52.965 13021 INFO neutron.openstack.common.rpc.impl_qpid [req-07bec7d5-1920-4edc-b706-46d5c3cc2b66 None] Connected to AMQP server on controller0:5672
2014-07-20 17:55:52.990 13021 ERROR neutron.api.v2.resource [req-07bec7d5-1920-4edc-b706-46d5c3cc2b66 None] create failed
2014-07-20 17:55:52.990 13021 TRACE neutron.api.v2.resource Traceback (most recent call last):
2014-07-20 17:55:52.990 13021 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/api/v2/resource.py", line 87, in resource
2014-07-20 17:55:52.990 13021 TRACE neutron.api.v2.resource     result = method(request=request, **args)
2014-07-20 17:55:52.990 13021 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 376, in create
2014-07-20 17:55:52.990 13021 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2015-06-04 09:25:51.033824

Comments

dbaxps gravatar imagedbaxps ( 2014-07-20 06:26:15 -0500 )edit

Hi dbaxps, Thanks for your post!!

I follow you configuration which from the post. Unfortunately, i still got same error.Attached my configuration about Neutron. Can you help me have a look what i missed?

My deployment:

Three nodes (controller0,network0,compute0) and neutron-server install to controller0 node but neutron-dhcp-agent,neutron-openvswhich-agent,neutron-l3-agent,neutron-metadata-agent install to network0 node.

Neutron configuration files:

vi /etc/neutron/neutron.conf 

[DEFAULT]
verbose = True
debug = True 
auth_strategy = keystone
rpc_backend = neutron.openstack.common.rpc.impl_qpid
qpid_hostname = controller0
notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
nova_url = http://controller0:8774/v2
nova_admin_username = nova
nova_admin_tenant_id = 756f65748ca34f0689dfea1d03d79da0
nova_admin_password = nova
nova_admin_auth_url = http://controller0:35357/v2.0
core_plugin = ml2 
service_plugins = router
[quotas]
[agent]
[keystone_authtoken]
auth_uri = http://controller0:5000
auth_host = controller0
auth_protocol = http
auth_port = 35357
admin_tenant_name = service
admin_user = neutron
admin_password = neutron
[database]
connection = mysql://neutron:openstack@controller0/neutron
[service_providers]
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

vi /etc/neutron/plugin.ini

[ml2]
type_drivers = gre ...
(more)
Yong gravatar imageYong ( 2014-08-05 20:52:31 -0500 )edit

Please post ls -l /etc/neutron on Neutron Server and Compute

dbaxps gravatar imagedbaxps ( 2014-08-05 23:58:56 -0500 )edit

Closing as abandoned. Please reopen and answer dbaxps' query if this is still an ongoing problem.

rbowen gravatar imagerbowen ( 2015-06-04 09:25:42 -0500 )edit