openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #12398
Re: [openstack] Quantum + OVS error: NoNetworksFound: No networks defined.
I know the reason, because the configure "sql_connection" is not
correct in /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini.
I changed the "ovs-quantum" to "ovs_quantum" in sql_connection.
Thanks,
Kris
On Mon, May 28, 2012 at 11:27 AM, Kris zhang <zhang.kris@xxxxxxxxx> wrote:
> Hi guys,
>
> After installing the Quantum and open vswitch, I encountered the
> following error:
>
>
> root@ubuntuovs2:/var/run/quantum# nova-manage network list
> id IPv4 IPv6 start address DNS1
> DNS2 VlanID project uuid
> 2012-05-28 11:04:40 DEBUG nova.utils
> [req-048b22da-2841-4968-b971-76e218a1bddb None None] backend <module
> 'nova.db.sqlalchemy.api' from
> '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from
> (pid=25370) __get_backend
> /usr/lib/python2.7/dist-packages/nova/utils.py:658
> Command failed, please check log for more info
> 2012-05-28 11:04:41 CRITICAL nova
> [req-048b22da-2841-4968-b971-76e218a1bddb None None] No networks
> defined.
> 2012-05-28 11:04:41 TRACE nova Traceback (most recent call last):
> 2012-05-28 11:04:41 TRACE nova File "/usr/bin/nova-manage", line
> 1744, in <module>
> 2012-05-28 11:04:41 TRACE nova main()
> 2012-05-28 11:04:41 TRACE nova File "/usr/bin/nova-manage", line 1731, in main
> 2012-05-28 11:04:41 TRACE nova fn(*fn_args, **fn_kwargs)
> 2012-05-28 11:04:41 TRACE nova File "/usr/bin/nova-manage", line 826, in list
> 2012-05-28 11:04:41 TRACE nova for network in
> db.network_get_all(context.get_admin_context()):
> 2012-05-28 11:04:41 TRACE nova File
> "/usr/lib/python2.7/dist-packages/nova/db/api.py", line 760, in
> network_get_all
> 2012-05-28 11:04:41 TRACE nova return IMPL.network_get_all(context)
> 2012-05-28 11:04:41 TRACE nova File
> "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line
> 102, in wrapper
> 2012-05-28 11:04:41 TRACE nova return f(*args, **kwargs)
> 2012-05-28 11:04:41 TRACE nova File
> "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line
> 1930, in network_get_all
> 2012-05-28 11:04:41 TRACE nova raise exception.NoNetworksFound()
> 2012-05-28 11:04:41 TRACE nova NoNetworksFound: No networks defined.
> 2012-05-28 11:04:41 TRACE nova
>
>
> I found there are no any tables in the database nova_quantum (mysql),
> and how can i create the tables, and do i miss any packages which need
> to be installed?
>
> Thanks in advanced,
> Kris
References