Call to api sahara? [closed]
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 :)