Ask Your Question
0

Sahara provisions HDP2.3 Fail, it seems to be the MySql Connection problem

asked 2015-12-15 03:09:31 -0500

sasakii gravatar image

updated 2015-12-15 20:01:55 -0500

Hi

I setup the OpenStack by Mirantus Fuel OpenStack. And Trying to provision HDP2.3 cluster. But the cluster status keeps waiting. Therefore, I check the "sahara-engine.log" and found some error messages of MySql connection failure. Here is the trace back messages

2015-12-15 08:22:05.048 2113 ERROR oslo_messaging.rpc.dispatcher [-] Exception during message handling: (OperationalError) (2003, "Can't connect to MySQL server on '10.10.106.2' (111)") None None
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_and_reply
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     executor_callback))
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     executor_callback)
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatch
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/sahara/service/ops.py", line 115, in wrapped
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     return func(self, *args, **kwargs)
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/sahara/service/ops.py", line 128, in provision_cluster
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     _provision_cluster(cluster_id)
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/sahara/service/ops.py", line 166, in wrapper
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     cluster = conductor.cluster_get(ctx, cluster_id)
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/sahara/conductor/resource.py", line 41, in handle
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     ret = func(*args, **kwargs)
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/sahara/conductor/api.py", line 68, in cluster_get
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     context, _get_id(cluster), show_progress)
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/sahara/conductor/manager.py", line 127, in cluster_get
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     return self.db.cluster_get(context, cluster, show_progress)
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/sahara/db/api.py", line 116, in cluster_get
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher     cluster = IMPL.cluster_get(context, cluster)
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/dist-packages/sahara/db/sqlalchemy/api.py", line 243, in cluster_get
2015-12-15 08:22:05.048 2113 TRACE oslo_messaging.rpc ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-15 21:53:10 -0500

Bipin gravatar image

Hello,

In the controller nodes, there is a file astute.yaml under /etc. Sahara MySQL password will be stored here, compare it with /etc/sahara/sahara.conf file. Also grep bind-address /etc/mysql/conf.d/wsrep.cnf , this value should be 10.10.106.2 (your MySQL Server).

Regards

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-15 03:09:31 -0500

Seen: 266 times

Last updated: Dec 15 '15