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 2014-02-11 04:33:23 -0500

Hi Jonathan Maron ,

Thanks for the response.

When I tried to start ambari server on VM ,it shows error" :Unable to detect the system user for Ambari Server.Please run 'ambari-server setup ' command to create user"

As I mentioned , the VM instances do not have internet connection to the outside world ( I need to configure proxy and all ) . Is there a workaround for this ? Can I download manually and create repo or something ? will the configuration of the cluster proceed if I do this ?

How can I know what other packages has to be installed ?

edit flag offensive delete link more
0

answered 2014-02-11 04:33:22 -0500

Hi Jonathan Maron ,

Thanks for the response.

When I tried to start ambari server on VM ,it shows error" :Unable to detect the system user for Ambari Server.Please run 'ambari-server setup ' command to create user"

As I mentioned , the VM instances do not have internet connection to the outside world ( I need to configure proxy and all ) . Is there a workaround for this ? Can I download manually and create repo or something ? will the configuration of the cluster proceed if I do this ?

How can I know what other packages has to be installed ?

edit flag offensive delete link more
0

answered 2014-02-10 13:50:32 -0500

jmaron gravatar image

That could be causing the problem. There are still a number of packages that could not be pre-installed due to a bug in the ambari installation sequence. That bug is being tracked and should be addressed. We hope to have a "disconnected" image available soon.

You could log onto the ambari server VM and check the server status to confirm.

edit flag offensive delete link more
0

answered 2014-02-10 13:29:33 -0500

Hi Andrew Lazarev,

I found out that the image is supposed to have jdk installed but i could not find it in annaconda.program.log.

I was able to find all the required packages that are installed in the log (like hadoop-libhdfs , hadoop-native, hadoop-pipes, hadoop-sbin ,hadoop-lzo, hadoop-lzo-native ,mysql-server,httpd etc from the list provided in http://savanna.readthedocs.org/en/latest/userdoc/hdp_plugin.html (http://savanna.readthedocs.org/en/lat...) ) Can you please clarify is jdk pre-installed on the HDP vm image ?

Right now the VM instances dont have internet connection to the outside world ( I need to configure proxy and all ) ,can I continue with this image ? Could this be causing the problem ?

edit flag offensive delete link more
0

answered 2014-02-10 05:18:05 -0500

Hi Andrew Lazarev ,

Sorry for the confusion . I think I have posted this in another thread as well. I am quite new to this and so little confused .

Thanks for the support and helping me with the progress.

edit flag offensive delete link more
0

answered 2014-02-10 05:14:04 -0500

Hi Andrew Lazarev,

As per your suggestion, I used VM image centos-6_64-hdp-1.3.qcow2 from [link : http://savanna.readthedocs.org/en/latest/userdoc/hdp_plugin.html] (http://savanna.readthedocs.org/en/lat...) .

The VM instances are in ACTIVE state, I can ping and SSH into them .But the cluster is in 'configuring' state from one day.

I used centos-6_64-hdp-1.3.qcow2 image . The savanna logs is as follows:

savanna.plugins.hdp.versions.1_3_2.versionhandler [-] Waiting to connect to ambari server ... 2014-02-10 04:24:21.703 19754 INFO savanna.plugins.hdp.versions.1_3_2.versionhandler [-] Waiting to connect to ambari server ... 2014-02-10 04:24:26.707 19754 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 172.16.8.28 2014-02-10 04:24:26.708 19754 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): 172.16.8.28 2014-02-10 04:24:26.709 19754 INFO savanna.plugins.hdp.versions.1_3_2.versionhandler [-] Waiting to connect to ambari server ... 2014-02-10 04:24:26.709 19754 INFO savanna.plugins.hdp.versions.1_3_2.versionhandler [-] Waiting to connect to ambari server ...

I found this information from https://bugs.launchpad.net/savanna/+bug/1259836 (https://bugs.launchpad.net/savanna/+b...) that the latest HDP vm image should resolve this issue .But I am still facing this problem.

What could be the problem ? please help.

edit flag offensive delete link more
0

answered 2014-02-05 17:12:58 -0500

alazarev gravatar image

'RuntimeError : node newcluster_vanilla_worker-001 has error status ' means that OpenStack moved the instance to ERROR state. You should check OpenStack logs (start with nova) to see what happened. The most common reasons I faced are network misconfiguration and quota limit. But it could be anything else in your particular case.

Also I see 'vanilla' word in node naming while you are using image for HDP. Please make sure that you are using image for right plugin (and version of savanna).

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
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 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

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: 228 times

Last updated: Feb 11 '14