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

On 07/09/2014 07:24 AM, Dat Tran wrote:

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/'/
/Authentication required/

Do you know where I was wrong? Thank you very much :)


use the sahara cli instead.

sahara image-register --id $IMAGE_ID --username ubuntu

best,


matt


___
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 Matthew Farrellee

On 07/09/2014 11:26 AM, Dat Tran wrote:

Thank matt!

But, I have a error: ERROR: Could not find Sahara endpoint in catalog


you do have to setup sahara to be in the keystone service catalog, 
something like step 4 from,


docs.openstack.org/developer/sahara/horizon/installation.guide.html#sahara-dashboard-installation

keystone service-create --name sahara --type data_processing \
--description Sahara Data Processing

keystone endpoint-create --service sahara --region RegionOne \
--publicurl http://10.0.0.2:8386/v1.1/%(tenant_id)s \
--adminurl http://10.0.0.2:8386/v1.1/%(tenant_id)s \
--internalurl http://10.0.0.2:8386/v1.1/%(tenant_id)s

best,


matt

___
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


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

2014-07-09 Thread Trevor McKay
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