Why have you got two database connection in your nova.conf? connection = mysql://nova:123456789@controller/nova connection=mysql://nova:123456789@localhost/nova
Stef 2014-02-27 10:34 GMT+01:00 grkim <gr...@kisti.re.kr>: > hi, > > I tried it. It's working. MySQL databases is running one same (localhost) > server. > > > *# mysql --host=localhost --user=nova --password=123456789 nova* > > Reading table information for completion of table and column names > You can turn off this feature to get a quicker startup with -A > > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 123 > Server version: 5.1.73 Source distribution > > Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights > reserved. > > Oracle is a registered trademark of Oracle Corporation and/or its > affiliates. Other names may be trademarks of their respective > owners. > > Type 'help;' or '\h' for help. Type '\c' to clear the current input > statement. > > mysql> \q > Bye > > > *# mysql --host=controller --user=nova --password=123456789 nova* > > Reading table information for completion of table and column names > You can turn off this feature to get a quicker startup with -A > > Welcome to the MySQL monitor. Commands end with ; or \g. > Your MySQL connection id is 124 > Server version: 5.1.73 Source distribution > > Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights > reserved. > > Oracle is a registered trademark of Oracle Corporation and/or its > affiliates. Other names may be trademarks of their respective > owners. > > Type 'help;' or '\h' for help. Type '\c' to clear the current input > statement. > > mysql> \q > Bye > [root@gcloud-front nova]# > > > > > Thank > Regards. > > On 2014년 02월 27일 18:22, VieuxGeek DuSystem wrote: > > Hello can you try to connect to your mysql? > > Try it by using localhost and again with the hostname ... and if the > database are on a other server try a network connection, please. > > Stef > > > 2014-02-27 7:30 GMT+01:00 grkim <gr...@kisti.re.kr>: > >> Hi, >> >> This is contents of my nova.conf >> >> >> >> $ cat nova.conf | grep -v ^# | grep -v ^$ >> [DEFAULT] >> [DEFAULT] >> rpc_backend = nova.openstack.common.rpc.impl_qpid >> qpid_hostname = controller >> my_ip = 134.75.123.194 >> vncserver_listen = 134.75.123.194 >> vncserver_proxyclient_address = 134.75.123.194 >> auth_strategy = keystone >> api_paste_config=/etc/nova/api-paste.ini >> [hyperv] >> [zookeeper] >> [osapi_v3] >> [conductor] >> [keymgr] >> [cells] >> [database] >> connection = mysql://nova:123456789@controller/nova >> connection=mysql://nova:123456789@localhost/nova >> [image_file_url] >> [baremetal] >> [rpc_notifier2] >> [matchmaker_redis] >> [ssl] >> [trusted_computing] >> [upgrade_levels] >> [matchmaker_ring] >> [vmware] >> [spice] >> [keystone_authtoken] >> auth_host = controller >> auth_protocol = http >> auth_port = 35357 >> admin_user = nova >> admin_tenant_name = service >> admin_password = 123456789 >> >> >> >> Regards. >> >> >> >> On 2014년 02월 27일 15:19, Jitendra Kumar Bhaskar wrote: >> >> Hi, >> >> Can you post nova.conf file ? >> >> Regards >> * Jitendra Bhaskar* >> >> >> >> >> >> >> On Thu, Feb 27, 2014 at 8:05 AM, grkim <gr...@kisti.re.kr> wrote: >> >>> Hi, >>> >>> I don't have neutron package that's why I don't have neutron log. >>> These ar my network.log and api.log when I execute "nova >>> network-create" command. >>> >>> >>> >>> /var/log/nova/network.log >>> 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 >>> 2014-02-27 11:33:10.689 2550 TRACE nova.openstack.common.rpc.amqp >>> Traceback (most recent call last): >>> 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 >>> 2014-02-27 11:33:10.689 2550 TRACE nova.openstack.common.rpc.amqp >>> **args) >>> 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 >>> 2014-02-27 11:33:10.689 2550 TRACE nova.openstack.common.rpc.amqp >>> result = getattr(proxyobj, method)(ctxt, **kwargs) >>> 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 >>> 2014-02-27 11:33:10.689 2550 TRACE nova.openstack.common.rpc.amqp >>> raise exception.NetworkNotCreated(req=fld) >>> 2014-02-27 11:33:10.689 2550 TRACE nova.openstack.common.rpc.amqp >>> NetworkNotCreated: bridge is required to create a network. >>> 2014-02-27 11:33:10.689 2550 TRACE nova.openstack.common.rpc.amqp >>> 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 >>> 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'] >>> >>> >>> >>> /var/log/nova/api.log >>> >>> 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. >>> Traceback (most recent call last): >>> >>> File >>> "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/amqp.py", line >>> 461, in _process_data >>> **args) >>> >>> File >>> "/usr/lib/python2.6/site-packages/nova/openstack/common/rpc/dispatcher.py", >>> line 172, in dispatch >>> result = getattr(proxyobj, method)(ctxt, **kwargs) >>> >>> File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line >>> 1042, in create_networks >>> raise exception.NetworkNotCreated(req=fld) >>> >>> NetworkNotCreated: bridge is required to create a network. >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack Traceback (most >>> recent call last): >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> req.get_response(self.application) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack application, >>> catch_exc_info=False) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack app_iter = >>> application(self.environ, start_response) >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> resp(environ, start_response) >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> self.app(env, start_response) >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> resp(environ, start_response) >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> resp(environ, start_response) >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack response = >>> self.app(environ, start_response) >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> resp(environ, start_response) >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack resp = >>> self.call_func(req, *args, **self.kwargs) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> self.func(req, *args, **kwargs) >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack content_type, >>> body, accept) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack action_result >>> = self.dispatch(meth, request, action_args) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> method(req=request, **action_args) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack network = >>> self.network_api.create(context, **params)[0] >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> func(self, context, *args, **kwargs) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> self.network_rpcapi.create_networks(context, **kwargs) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> self.client.call(ctxt, 'create_networks', **kwargs) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> self._invoke(self.proxy.call, ctxt, method, **kwargs) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> cast_or_call(ctxt, msg, **self.kwargs) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack result = >>> rpc.call(context, real_topic, msg, timeout) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack return >>> _get_impl().call(CONF, context, topic, msg, timeout) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack >>> rpc_amqp.get_connection_pool(conf, Connection)) >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack rv = list(rv) >>> 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__ >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack raise result >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack >>> NetworkNotCreated_Remote: bridge is required to create a network. >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack Traceback (most >>> recent call last): >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack **args) >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack result = >>> getattr(proxyobj, method)(ctxt, **kwargs) >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack >>> 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 >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack raise >>> exception.NetworkNotCreated(req=fld) >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack NetworkNotCreated: >>> bridge is required to create a network. >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack >>> 2014-02-27 11:33:33.937 2642 TRACE nova.api.openstack >>> >>> >>> >>> Regards. >>> >>> >>> On 2014년 02월 26일 20:48, dheeru wrote: >>> >>> Run the command with --debug option or look at the >>> /var/log/neutron/server.log. It give more info about why this failing. >>> >>> -Dheeru >>> @Community Service >>> >>> >>> On Wed, Feb 26, 2014 at 6:17 AM, grkim <gr...@kisti.re.kr> wrote: >>> >>>> hi all, >>>> >>>> I'm install openstack using >>>> http://docs.openstack.org/havana/install-guide/install/yum/content/nova-network.htmlguide. >>>> When I execute "*nova network-create vmnet >>>> --fixed-range-v4=192.168.56.0/24 <http://192.168.56.0/24> >>>> --bridge-interface=br1 --multi-host=T*" comamnd in controller node, I >>>> had this error "*ERROR: The server has either erred or is incapable of >>>> performing the requested operation. (HTTP 500) (Request-ID: >>>> req-e7fa7707-9e77-4a69-b315-7e9035425350)*" >>>> I created br1 on controller node with 192.169.56.1 ip address. >>>> I cannot find the reason, Please help me. >>>> >>>> Thanks. >>>> >>>> _______________________________________________ >>>> Mailing list: >>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>>> Post to : openstack@lists.openstack.org >>>> Unsubscribe : >>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>>> >>>> >>> >>> >>> -- >>> -dheeru >>> @Community Service >>> >>> >>> >>> _______________________________________________ >>> Mailing list: >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>> Post to : openstack@lists.openstack.org >>> Unsubscribe : >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >>> >>> >> >> >> _______________________________________________ >> Mailing list: >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : openstack@lists.openstack.org >> Unsubscribe : >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> >> > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack