[openstack-dev] [Sahara] Master-instance: Service hadoop-* not running

2014-07-14 Thread Dat Tran
 Hi everybody,

I install openstack icehouse, then install sahara. I create cluster, it
worked!
But when i login master-instance, test. Run hadoop jar
hadoop-examples-1.2.1.jar pi 10 100
== Message error: java.io.IOException: Cannot create input directory
PiEstimator_TMP_3_141592654/in...


 I check service hadoop-namenode, it's not working.

==Message: start-stop-daemon: unable to set gid to 201 (Operation not
permitted).

All service hadoop-* not working, too.


 Go back, i check log, have warning. Summarize:
WARNING sahara.service.engine [-] Can't start cluster '_unknown_' (reason:
'NoneType' object has no attribute 'node_groups')
WARNING sahara.service.engine [-] Presumably the operation failed because
the cluster wasdeleted by a user during the process.
ERROR root [-] Original exception being dropped: ['Traceback (most recent
call last):\n', ' File
/home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/service/direct_engine.py,
line 65, in create_cluster\n volumes.attach(cluster)\n', ' File
/home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/service/volumes.py,
line 31, in attach\n for node_group in cluster.node_groups:\n',
AttributeError: 'NoneType' object has no attribute 'node_groups'\n]
ERROR sahara.context [-] Thread
'cluster-creating-91420b4b-9e89-44ff-8ce4-6cd5740e7bdc' fails with
exception: 'Cluster id 'None' not found!'

Can you help me? Thanks!
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Sahara] Master-instance: Service hadoop-* not running

2014-07-14 Thread Dat Tran
Thanks Stef reminded. Sorry everybody!!!


2014-07-15 2:03 GMT+07:00 Stefano Maffulli stef...@openstack.org:

 On Mon 14 Jul 2014 09:14:38 AM PDT, Dat Tran wrote:
  I install openstack icehouse, then install sahara. I create cluster,
  it worked!
  But
 [...]

 This is the wrong list to report problems while using openstack.

 use openstack-dev only to discuss the future of OpenStack, even if you
 area a developer.

 Post this question on openst...@lists.openstack.org or
 https://ask.openstack.org (after you've searched to see if there are
 answers already).

 thanks,
 stef

 --
 Ask and answer questions on https://ask.openstack.org

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Sahara] Error config?

2014-07-10 Thread Dat Tran
Thank Matt and Trevor,

Sorry everybody! Because i begin to learning+alone. So, difficulty in check
log and fix error.

matt -- I receive error when create some node group templates for the
master and worker nodes. Then, i install sahara UI and already running
test. Thank you very much!

Best,

DCloud
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Sahara] Error config?

2014-07-09 Thread Dat Tran
Hi all,

I'm install sahara follow the instructions below:
http://docs.openstack.org/developer/sahara/devref/quickstart.html

With script install sahara as follows:
https://docs.google.com/document/d/18j4zR4ENibxA-WBVkryzkMFU9PRiuop3U2pEU6JQrOk/edit

But when to step: Register image in Image Registry
http POST $SAHARA_URL/images/$IMAGE_ID X-Auth-Token:$AUTH_TOKEN
username=ubuntu

have a message:

*HTTP/1.1 401 Unauthorized*
*Content-Length: 23*
*Content-Type: text/plain*
*Date: Wed, 09 Jul 2014 10:28:22 GMT*
*Www-Authenticate: Keystone uri='http://127.0.0.1:5000/v2.0/
http://127.0.0.1:5000/v2.0/'*
*Authentication required*

Do you know where I was wrong? Thank you very much :)
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Sahara] Error config?

2014-07-09 Thread Dat Tran
Thank matt!

But, I have a error: ERROR: Could not find Sahara endpoint in catalog
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Sahara] Error config?

2014-07-09 Thread Dat Tran
Thank matt,

It's worked. Can i ask you a question, please?

When i create file ng_master_template_create.json
and ng_worker_template_create.json. Then, I run:
http $SAHARA_URL/node-group-templates X-Auth-Token:$AUTH_TOKEN 
ng_master_template_create.json

Message:
HTTP/1.1 500 INTERNAL SERVER ERROR
Content-Length: 111
Content-Type: application/json
Date: Wed, 09 Jul 2014 16:14:09 GMT
{
error_code: 500,
error_message: Error occurred during validation,
error_name: INTERNAL_SERVER_ERROR
}

Thank you very very much!
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Mahout-as-a-service

2014-05-28 Thread Dat Tran
Hi everyone,

I have a idea for new project: Mahout-as-a-service.
Main idea of this project:
- Install OpenStack
- Deploying OpenStack Sahara source
- Deploying Mahout on Sahara OpenStack system.
- Construction of the API.

Through web or mobile interface, users can:
- Enable / Disable Mahout on Hadoop cluster
- Run Mahout job
- Get information on surveillance systems related to Mahout job.
- Statistics and service costs over time and total resource use.

Definitely!!! APIs will be public. Look forward to your comments. Hopefully
in this summer, we can do something together.

Thank you very much! :)
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev