<div dir="ltr">Why have you got two database connection in your nova.conf?<br><div><br>connection = mysql://nova:123456789@controller/nova<br>
connection=mysql://nova:123456789@localhost/nova<br><br></div><div>Stef<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-27 10:34 GMT+01:00 grkim <span dir="ltr"><<a href="mailto:grkim@kisti.re.kr" target="_blank">grkim@kisti.re.kr</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>hi,<br>
<br>
I tried it. It's working. MySQL databases is running one same
(localhost) server.<br>
<br>
<br>
<b># mysql --host=localhost --user=nova --password=123456789 nova</b><br>
<br>
Reading table information for completion of table and column names<br>
You can turn off this feature to get a quicker startup with -A<br>
<br>
Welcome to the MySQL monitor. Commands end with ; or \g.<br>
Your MySQL connection id is 123<br>
Server version: 5.1.73 Source distribution<br>
<br>
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights
reserved.<br>
<br>
Oracle is a registered trademark of Oracle Corporation and/or its<br>
affiliates. Other names may be trademarks of their respective<br>
owners.<br>
<br>
Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.<br>
<br>
mysql> \q<br>
Bye<br>
<br>
<br>
<b># mysql --host=controller --user=nova --password=123456789 nova</b><br>
<br>
Reading table information for completion of table and column names<br>
You can turn off this feature to get a quicker startup with -A<br>
<br>
Welcome to the MySQL monitor. Commands end with ; or \g.<br>
Your MySQL connection id is 124<br>
Server version: 5.1.73 Source distribution<br>
<br>
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights
reserved.<br>
<br>
Oracle is a registered trademark of Oracle Corporation and/or its<br>
affiliates. Other names may be trademarks of their respective<br>
owners.<br>
<br>
Type 'help;' or '\h' for help. Type '\c' to clear the current
input statement.<br>
<br>
mysql> \q<br>
Bye<br>
[root@gcloud-front nova]# <br>
<br>
<br>
<br>
<br>
Thank<br>
Regards.<div><div class="h5"><br>
On 2014³â 02¿ù 27ÀÏ 18:22, VieuxGeek DuSystem wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>Hello can you try to connect to your mysql? <br>
<br>
</div>
Try it by using localhost and again with the hostname ... and
if the database are on a other server try a network
connection, please.<br>
<br>
</div>
Stef<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-02-27 7:30 GMT+01:00 grkim <span dir="ltr"><<a href="mailto:grkim@kisti.re.kr" target="_blank">grkim@kisti.re.kr</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
<br>
This is contents of my nova.conf <br>
<br>
<br>
<br>
$ cat nova.conf | grep -v ^# | grep -v ^$<br>
[DEFAULT]<br>
[DEFAULT]<br>
rpc_backend = nova.openstack.common.rpc.impl_qpid<br>
qpid_hostname = controller<br>
my_ip = <a href="tel:134.75.123.194" value="+13475123194" target="_blank">134.75.123.194</a><br>
vncserver_listen = <a href="tel:134.75.123.194" value="+13475123194" target="_blank">134.75.123.194</a><br>
vncserver_proxyclient_address = <a href="tel:134.75.123.194" value="+13475123194" target="_blank">134.75.123.194</a><br>
auth_strategy = keystone<br>
api_paste_config=/etc/nova/api-paste.ini<br>
[hyperv]<br>
[zookeeper]<br>
[osapi_v3]<br>
[conductor]<br>
[keymgr]<br>
[cells]<br>
[database]<br>
connection = mysql://nova:123456789@controller/nova<br>
connection=mysql://nova:123456789@localhost/nova<br>
[image_file_url]<br>
[baremetal]<br>
[rpc_notifier2]<br>
[matchmaker_redis]<br>
[ssl]<br>
[trusted_computing]<br>
[upgrade_levels]<br>
[matchmaker_ring]<br>
[vmware]<br>
[spice]<br>
[keystone_authtoken]<br>
auth_host = controller<br>
auth_protocol = http<br>
auth_port = 35357<br>
admin_user = nova<br>
admin_tenant_name = service<br>
admin_password = 123456789<br>
<br>
<br>
<br>
Regards.
<div>
<div><br>
<br>
<br>
On 2014³â 02¿ù 27ÀÏ 15:19, Jitendra Kumar Bhaskar
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">
<div>Hi,<br>
<br>
</div>
Can you post nova.conf file ?<br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">
<div>
<div>
<div>Regards<b><br>
Jitendra Bhaskar</b><br>
<br>
</div>
<br>
</div>
</div>
<br>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<br>
<br>
<div class="gmail_quote">On Thu, Feb 27, 2014 at
8:05 AM, grkim <span dir="ltr"><<a href="mailto:grkim@kisti.re.kr" target="_blank">grkim@kisti.re.kr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
<br>
I don't have neutron package that's why I
don't have neutron log.<br>
These ar my network.log and api.log when
I execute "nova network-create" command.<br>
<br>
<br>
<br>
/var/log/nova/network.log<br>
2014-02-27 11:33:10.689 2550 ERROR
nova.openstack.common.rpc.amqp
[req-ba23ad36-635f-45f5-a103-22e0022e5005
2a53626281d04a0db1228d6305b7bfbc
fbbde0e66ea3414a97dd26d3beaa3043]
Exception during message handling<br>
2014-02-27 11:33:10.689 2550 TRACE
nova.openstack.common.rpc.amqp Traceback
(most recent call last):<br>
2014-02-27 11:33:10.689 2550 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py",
line 461, in _process_data<br>
2014-02-27 11:33:10.689 2550 TRACE
nova.openstack.common.rpc.amqp **args)<br>
2014-02-27 11:33:10.689 2550 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py",
line 172, in dispatch<br>
2014-02-27 11:33:10.689 2550 TRACE
nova.openstack.common.rpc.amqp result
= getattr(proxyobj, method)(ctxt,
**kwargs)<br>
2014-02-27 11:33:10.689 2550 TRACE
nova.openstack.common.rpc.amqp File
"/usr/lib/python2.6/site-packages/nova/network/manager.py",
line 1042, in create_networks<br>
2014-02-27 11:33:10.689 2550 TRACE
nova.openstack.common.rpc.amqp raise
exception.NetworkNotCreated(req=fld)<br>
2014-02-27 11:33:10.689 2550 TRACE
nova.openstack.common.rpc.amqp
NetworkNotCreated: bridge is required to
create a network.<br>
2014-02-27 11:33:10.689 2550 TRACE
nova.openstack.common.rpc.amqp <br>
2014-02-27 11:33:10.690 2550 ERROR
nova.openstack.common.rpc.common
[req-ba23ad36-635f-45f5-a103-22e0022e5005
2a53626281d04a0db1228d6305b7bfbc
fbbde0e66ea3414a97dd26d3beaa3043]
Returning exception bridge is required to
create a network. to caller<br>
2014-02-27 11:33:10.691 2550 ERROR
nova.openstack.common.rpc.common
[req-ba23ad36-635f-45f5-a103-22e0022e5005
2a53626281d04a0db1228d6305b7bfbc
fbbde0e66ea3414a97dd26d3beaa3043]
['Traceback (most recent call last):\n',
' File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py",
line 461, in _process_data\n
**args)\n', ' File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py",
line 172, in dispatch\n result =
getattr(proxyobj, method)(ctxt,
**kwargs)\n', ' File
"/usr/lib/python2.6/site-packages/nova/network/manager.py",
line 1042, in create_networks\n raise
exception.NetworkNotCreated(req=fld)\n',
'NetworkNotCreated: bridge is required to
create a network.\n']<br>
<br>
<br>
<br>
/var/log/nova/api.log<br>
<br>
014-02-27 11:33:33.937 2642 ERROR
nova.api.openstack
[req-42562bdb-0000-4052-bd51-7099722fe8f6
2a53626281d04a0db1228d6305b7bfbc
fbbde0e66ea3414a97dd26d3beaa3043] Caught
error: bridge is required to create a
network.<br>
Traceback (most recent call last):<br>
<br>
File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py",
line 461, in _process_data<br>
**args)<br>
<br>
File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py",
line 172, in dispatch<br>
result = getattr(proxyobj,
method)(ctxt, **kwargs)<br>
<br>
File
"/usr/lib/python2.6/site-packages/nova/network/manager.py",
line 1042, in create_networks<br>
raise
exception.NetworkNotCreated(req=fld)<br>
<br>
NetworkNotCreated: bridge is required to
create a network.<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack Traceback (most recent
call last):<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/api/openstack/__init__.py",
line 119, in __call__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
req.get_response(self.application)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/webob/request.py",
line 1296, in send<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack application,
catch_exc_info=False)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/webob/request.py",
line 1260, in call_application<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack app_iter =
application(self.environ, start_response)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/webob/dec.py",
line 144, in __call__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
resp(environ, start_response)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/keystoneclient/middleware/auth_token.py",
line 571, in __call__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
self.app(env, start_response)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/webob/dec.py",
line 144, in __call__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
resp(environ, start_response)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/webob/dec.py",
line 144, in __call__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
resp(environ, start_response)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/Routes-1.12.3-py2.6.egg/routes/middleware.py",
line 131, in __call__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack response =
self.app(environ, start_response)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/webob/dec.py",
line 144, in __call__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
resp(environ, start_response)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/webob/dec.py",
line 130, in __call__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack resp =
self.call_func(req, *args, **self.kwargs)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/webob/dec.py",
line 195, in call_func<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
self.func(req, *args, **kwargs)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py",
line 938, in __call__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack content_type, body,
accept)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py",
line 997, in _process_stack<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack action_result =
self.dispatch(meth, request, action_args)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/api/openstack/wsgi.py",
line 1078, in dispatch<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
method(req=request, **action_args)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/api/openstack/compute/contrib/os_networks.py",
line 126, in create<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack network =
self.network_api.create(context,
**params)[0]<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/network/api.py",
line 94, in wrapped<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return func(self,
context, *args, **kwargs)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/network/api.py",
line 143, in create<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
self.network_rpcapi.create_networks(context,
**kwargs)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/network/rpcapi.py",
line 102, in create_networks<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
self.client.call(ctxt, 'create_networks',
**kwargs)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/rpcclient.py",
line 85, in call<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
self._invoke(self.proxy.call, ctxt,
method, **kwargs)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/rpcclient.py",
line 63, in _invoke<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
cast_or_call(ctxt, msg, **self.kwargs)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/proxy.py",
line 126, in call<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack result =
rpc.call(context, real_topic, msg,
timeout)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/__init__.py",
line 139, in call<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack return
_get_impl().call(CONF, context, topic,
msg, timeout)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/impl_qpid.py",
line 783, in call<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack
rpc_amqp.get_connection_pool(conf,
Connection))<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py",
line 574, in call<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack rv = list(rv)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py",
line 539, in __iter__<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack raise result<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack
NetworkNotCreated_Remote: bridge is
required to create a network.<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack Traceback (most recent
call last):<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack <br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py",
line 461, in _process_data<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack **args)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack <br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py",
line 172, in dispatch<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack result =
getattr(proxyobj, method)(ctxt, **kwargs)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack <br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack File
"/usr/lib/python2.6/site-packages/nova/network/manager.py",
line 1042, in create_networks<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack raise
exception.NetworkNotCreated(req=fld)<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack <br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack NetworkNotCreated:
bridge is required to create a network.<br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack <br>
2014-02-27 11:33:33.937 2642 TRACE
nova.api.openstack <br>
<br>
<br>
<br>
Regards.
<div>
<div><br>
<br>
On 2014³â 02¿ù 26ÀÏ 20:48, dheeru wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">
<div>Run the command with --debug
option or look at the
/var/log/neutron/server.log. It
give more info about why this
failing.</div>
<div> </div>
<div>-Dheeru</div>
<div>@Community Service</div>
</div>
<div class="gmail_extra"> <br>
<br>
<div class="gmail_quote">On Wed, Feb
26, 2014 at 6:17 AM, grkim <span dir="ltr"><<a href="mailto:grkim@kisti.re.kr" target="_blank">grkim@kisti.re.kr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF"> hi all,<br>
<br>
I'm install openstack using <a href="http://docs.openstack.org/havana/install-guide/install/yum/content/nova-network.html" target="_blank">http://docs.openstack.org/havana/install-guide/install/yum/content/nova-network.html</a>
guide.<br>
When I execute "<b>nova
network-create vmnet
--fixed-range-v4=<a href="http://192.168.56.0/24" target="_blank">192.168.56.0/24</a>
--bridge-interface=br1
--multi-host=T</b>" comamnd
in controller node, I had this
error "<b>ERROR: The server
has either erred or is
incapable of performing the
requested operation. (HTTP
500) (Request-ID:
req-e7fa7707-9e77-4a69-b315-7e9035425350)</b>"<br>
I created br1 on controller
node with 192.169.56.1 ip
address.<br>
I cannot find the reason,
Please help me.<br>
<br>
Thanks.<br>
</div>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div>-dheeru<br>
</div>
@Community Service<br>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>