Ask Your Question

Kaka's profile - activity

2015-06-23 01:45:52 -0600 received badge  Famous Question (source)
2015-03-20 11:42:14 -0600 commented answer Call to api sahara?

thank you,

2015-03-20 02:20:48 -0600 received badge  Notable Question (source)
2015-03-18 16:55:11 -0600 received badge  Popular Question (source)
2015-03-18 14:39:30 -0600 received badge  Editor (source)
2015-03-18 14:09:22 -0600 asked a question Call to api sahara?

Hi everyone,

I installed openstack juno+sahara, all ok. Now, i want call to api sahara, example:

http://ip_openstack:8386/v1.1/{tenant_id}/plugins

But response: Authentication required

Status: 401 Unauthorized

This is my config: sahara.conf

...
connection = mysql://sahara:openstack@controller/sahara
...
auth_uri = http://controller:5000/v2.0
...
identity_uri = http://controller:35357
...
admin_user = admin
admin_password = $pass
admin_tenant_name = admin

[DEFAULT]
...
use_neutron = true
...
verbose = true
...
debug = true

I created keystone:

keystone service-create --name sahara --type data_processing --description "Sahara Data Processing"
keystone endpoint-create --service sahara --region RegionOne --publicurl "http://ip_openstack:8386/v1.1/%(tenant_id)s" --adminurl "http://ip_openstack:8386/v1.1/%(tenant_id)s" --internalurl "http://ip_openstack:8386/v1.1/%(tenant_id)s"

Can you help me? Thanks :)

2014-08-13 23:16:53 -0600 received badge  Supporter (source)