you should use the sahara cli for all functions.

the documentation needs to be updated.

in the meantime you can adapt from the "savanna cli" discussed in -

http://spinningmatt.wordpress.com/2014/01/29/hadoop-on-openstack-with-a-cli-creating-a-cluster/

best,


matt

On 07/09/2014 01:58 PM, Trevor McKay wrote:
Hi,

   I believe if you look in the sahara log output you may see more
messages about this.  There should be some indicator of what the
validation error was.

Trevor

On Wed, 2014-07-09 at 23:44 +0700, Dat Tran wrote:
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 mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



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

Reply via email to