Hello Folks,

I'm trying to use shade as a client to my cloud. And first, I want to create a new service use 'auth_type: token_endpoint' (because I have admin_token and auth_url only, after initial installation)
I'm trying to do this:

import shade
shade.simple_logging(debug=True)
operator = shade.operator_cloud(cloud='local_bypass')
operator.create_service(name='keystone', enabled=True, type='identity')

and always get an error:
shade.exc.OpenStackCloudException: Failed to create service keystone (Inner Exception: Problem with auth parameters)

but, with the openstack cli (openstack --os-cloud local_bypass service bla-bla-bla), my cloud works well.

Can anybody help me? Where is the problem?

my clouds.yml:
clouds:
  local_bypass:
    auth_type: token_endpoint
    identity_api_version: 3
    auth:
      token: DIPubrD984shd0h
      url: http://domain.com:35357/v3

Thanks!

--
Best Regards,
Evgeniy Ivanov


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

Reply via email to