Ask Your Question
2

Sahara stuck in waiting then goes into Error: Devstack

asked 2015-01-23 01:28:31 -0500

exergy gravatar image

updated 2015-02-26 04:25:33 -0500

I tried launching Sahara it first goes to waiting then Error

Installation is like below:

Devstack All in One Node, RAM: 16 GB, Core: 4, OS:Ubuntu 14.04,
Nova-Networking used, Image used for Hadoop: sahara-juno-vanilla-1.2.1-ubuntu-14.04, Sahara is configured not to use floating IPs, Proxy is not used,

Infrastructure is up and running successfully. I created Node Template and Cluster Template. On launching Cluster Instances in the Cluster become Active, I can also ssh instances using putty keygen. While Cluster stuck in to waiting for long time and then goes in Error state.

Below is the log for sahara

2015-01-23 12:21:54.200 DEBUG sahara.openstack.common.loopingcall [-] Dynamic looping call <bound method SaharaPeriodicTasks.run_periodic_tasks of <sahara.service.periodic.SaharaPeriodicTasks object at 0x7fc9b31cdc90>> sleeping for 36.00 seconds from (pid=17411) _inner /opt/stack/sahara/sahara/openstack/common/loopingcall.py:132
2015-01-23 12:22:30.239 DEBUG sahara.openstack.common.periodic_task [-] Running periodic task SaharaPeriodicTasks.update_job_statuses from (pid=17411) run_periodic_tasks /opt/stack/sahara/sahara/openstack/common/periodic_task.py:199
2015-01-23 12:22:30.239 DEBUG sahara.service.periodic [-] Updating job statuses from (pid=17411) update_job_statuses /opt/stack/sahara/sahara/service/periodic.py:75
2015-01-23 12:22:30.243 DEBUG sahara.openstack.common.loopingcall [-] Dynamic looping call <bound method SaharaPeriodicTasks.run_periodic_tasks of <sahara.service.periodic.SaharaPeriodicTasks object at 0x7fc9b31cdc90>> sleeping for 45.00 seconds from (pid=17411) _inner /opt/stack/sahara/sahara/openstack/common/loopingcall.py:132
2015-01-23 12:23:15.287 DEBUG sahara.openstack.common.periodic_task [-] Running periodic task SaharaPeriodicTasks.update_job_statuses from (pid=17411) run_periodic_tasks /opt/stack/sahara/sahara/openstack/common/periodic_task.py:199
2015-01-23 12:23:15.287 DEBUG sahara.service.periodic [-] Updating job statuses from (pid=17411) update_job_statuses /opt/stack/sahara/sahara/service/periodic.py:75
2015-01-23 12:23:15.290 DEBUG sahara.openstack.common.loopingcall [-] Dynamic looping call <bound method SaharaPeriodicTasks.run_periodic_tasks of <sahara.service.periodic.SaharaPeriodicTasks object at 0x7fc9b31cdc90>> sleeping for 10.87 seconds from (pid=17411) _inner /opt/stack/sahara/sahara/openstack/common/loopingcall.py:132
2015-01-23 12:23:26.173 DEBUG sahara.openstack.common.periodic_task [-] Running periodic task SaharaPeriodicTasks.terminate_unneeded_clusters from (pid=17411) run_periodic_tasks /opt/stack/sahara/sahara/openstack/common/periodic_task.py:199
2015-01-23 12:23:26.174 DEBUG sahara.service.periodic [-] Terminating unneeded transient clusters from (pid=17411) terminate_unneeded_clusters /opt/stack/sahara/sahara/service/periodic.py:83

Please suggest.

Also found some below error logs regarding nova.

7a66d8e/flavors/7 HTTP/1.1" status: 200 len: 598 time: 0.0194490
2015-01-23 15:16:44.476 INFO nova.openstack.common.policy [-] Can not find policy directory: policy.d
2015-01-23 15:16:44.477 DEBUG nova.api.openstack.wsgi [req-6a18d3ca-3384-4384-9a25-eed8ab31a9dc ceilometer service] Calling method '<bound method Controller.show of <nova.api.openstack.compute.images.Controller object at 0x7fc9ab579510>>' from (pid=15644) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:776
2015-01-23 15:16:44.636 INFO nova.openstack.common.policy [req-6a18d3ca-3384-4384-9a25-eed8ab31a9dc ceilometer service] Can not find policy directory: policy.d
2015-01-23 15:16:44.637 INFO nova.openstack.common.policy ...
(more)
edit retag flag offensive close merge delete

Comments

are there any error in the nova related logs? if found,paste to paste.openstack.org please.

9lives gravatar image9lives ( 2015-01-23 02:35:05 -0500 )edit

Found an error in nova related logs, pasted the same. Also update it in the question.

exergy gravatar imageexergy ( 2015-01-23 03:59:55 -0500 )edit

any ERROR or WARN or TRACE level like logs in your log folder? you can try searching via the following command

grep -iE 'error|warn|trace' path/to/your/logfolder

then paste them to paste.openstack.org please.

9lives gravatar image9lives ( 2015-01-23 04:49:41 -0500 )edit

Pasted the log results.

exergy gravatar imageexergy ( 2015-01-23 05:34:49 -0500 )edit

sorry i cannot find the new logs you pasted, no result when you run the following command?

grep -iE 'error|warn|trace' path/to/your/logfolder
9lives gravatar image9lives ( 2015-01-23 06:04:36 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-26 16:34:20 -0500

Are you using Kilo? This may or may not be your issue but it does seem to be relevant to Sahara and the policy error you posted.

http://docs.openstack.org/developer/sahara/userdoc/upgrade.guide.html (http://docs.openstack.org/developer/s...)

Juno -> Kilo Sahara requires policy configuration

Sahara now requires a policy configuration file. The policy.json file should be placed in the same directory as the sahara configuration file or specified using the policy_file parameter. For more details about the policy file please see the policy section in the configuration guide.

edit flag offensive delete link more

Comments

Hey I was using Juno but Thanks for the information!

exergy gravatar imageexergy ( 2015-07-02 11:46:16 -0500 )edit

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

2 followers

Stats

Asked: 2015-01-23 01:28:31 -0500

Seen: 485 times

Last updated: Feb 26 '15