Ask Your Question
0

Cluster creation state in Starting only

asked 2013-07-11 09:20:57 -0500

abhimanyu-bhatter gravatar image

Hi All, I am able to create cluster with different nodes , instances are also launched , but the Cluster state does not change top Active , it remains in Starting state. Also the service URL's are not generated in the cluster.

edit retag flag offensive close merge delete

17 answers

Sort by ยป oldest newest most voted
0

answered 2013-07-11 12:24:02 -0500

Hi Abhimanyu,

Very often you could see that after starting cluster by Savanna all instances are provisioned in the OpenStack successfully. But when instances are up and have status Active, it doesn't mean that Hadoop cluster is ready right now. Because Savanna will take time to connect to all cluster nodes and push configs to it.

So, after the cluster starting you should wait some time to get Hadoop cluster ready. It is expected and can takes up to 2-5 minutes. And setvice Urls are generated at the final moment before the cluster ready.

But if you have another problem please describe it in details.

edit flag offensive delete link more
0

answered 2013-07-18 08:57:57 -0500

SergeyLukjanov gravatar image

Abhimanyu, does your question solved?

edit flag offensive delete link more
0

answered 2014-02-04 13:55:31 -0500

Hi,

I have a similar problem. I am able to launch the instances ,but the cluster is in ERROR State. I can SSH into instances,and I acn login into the instances through Open stack console.But the cluster is in ERROR state. What could be the problem ? I used http://savanna-files.mirantis.com/savanna-0.2-vanilla-1.1.2 (http://savanna-files.mirantis.com/sav...) image .

Please help me out.

edit flag offensive delete link more
0

answered 2014-02-04 14:04:21 -0500

dmitrymex gravatar image

Hello,

Did you search the Savanna logs for errors/exceptions? Something should be there.

edit flag offensive delete link more
0

answered 2014-02-04 14:08:16 -0500

Gowri, hi! Which version of Savanna do you use? If this version greater than savanna-0.2 so the name of the image your posted in your question is not correct.

edit flag offensive delete link more
0

answered 2014-02-05 03:38:53 -0500

Hi ,

Thanks for the response.

I am using Fuel 4.0 (latest) installer. I tried with the image centos-6_64-hdp-1.3.qcow2(link http://docs.openstack.org/developer/savanna/userdoc/hdp_plugin.html (http://docs.openstack.org/developer/s...) ) . For this image, the instances are active, I can SSh into them but the cluster remains in 'Waiting state'. Is there something wrong with the steps? ( I followed http://savanna.readthedocs.org/en/latest/horizon/dashboard.user.guide.html (http://savanna.readthedocs.org/en/lat...) , and while registering image , I gave username as 'root' as per the link)

Savanna/api-log has the following

error during command execution "sudo chown -R $USER:$USER /opt/oozie/conf" Return code 1 chown: cannot access ' /opt/oozie/conf': No such file or directory

and at the ending of the logs I can see the following error : cluster creating fails with exception :'NoneType'object has no attribute 'name'

What could be the problem ?

edit flag offensive delete link more
0

answered 2014-02-05 04:26:07 -0500

And the console of any instance says ' Booting from Hard Disk ..'

edit flag offensive delete link more
0

answered 2014-02-05 04:41:39 -0500

Hi , Sorry, I think I messed up the details.

  1. When I used the image http://savanna-files.mirantis.com/savanna-0.2-vanilla-1.1.2 (http://savanna-files.mirantis.com/sav...) image , the instances are active and I can SSh into them but the cluster turns into 'ERROR' state. Savanna/api-log has the following: >error during command execution "sudo chown -R $USER:$USER /opt/oozie/conf" >Return code 1 >chown: cannot access ' /opt/oozie/conf': No such file or directory and at the ending of the logs I can see the following error : >cluster creating fails with exception :'NoneType'object has no attribute 'name'

2.I tried with the image centos-6_64-hdp-1.3.qcow2(link http://docs.openstack.org/developer/savanna/userdoc/hdp_plugin.html (http://docs.openstack.org/developer/s...) ) . For this image, the instances are active but I can not ssh into them.The console of any instance says ' Booting from Hard Disk ..' and the cluster remains in ' WAITING State '. The log file ends with ' INFO urllib3.connectionpool [-] Starting new HTTP connection (1):172.16.8.13' ( The IP is public Ip of controller node)

What could be the problem ? Am I using wrong images or am I missing some steps ?? Please help me out. (I am using Fuel v 4.0.)

edit flag offensive delete link more
0

answered 2014-02-05 06:03:11 -0500

alazarev gravatar image

Gowri,

  1. Fuel 4.0 uses savanna 0.3. So, images from savanna 0.2 will not work. See http://docs.mirantis.com/fuel/fuel-4.0/user-guide.html (http://docs.mirantis.com/fuel/fuel-4....)

  2. "Booting from hard disk" message is a sing that image you are using is broken. Please make sure that it is downloaded correctly and uploaded to glance with "--disk-format qcow2 --container-format=bare". centos-6_64-hdp-1.3.qcow2 should work fine with savanna 0.3.

  3. It is better to use https://savanna.readthedocs.org/en/0.3/index.html (https://savanna.readthedocs.org/en/0....) for 0.3. But don't see much difference in your case.

edit flag offensive delete link more
0

answered 2014-02-05 08:41:58 -0500

Hi,

Thanks Andrew Lazarev,

I tried with centos-6-64-hdp-vanilla.qcow2 image as well , but I am not able to launch cluster yet. The instances are terminating after ERROR status. savanna log has error ' RuntimeError : node newcluster_vanilla_worker-001 has error status '. what does this mean ?Am I missing something ?

I will download centos-6_64-hdp-1.3.qcow2 image again and try it out. I will let you know the results.

Thanks for the support .

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: 2013-07-11 09:20:57 -0500

Seen: 237 times

Last updated: Feb 11 '14