Revision history [back]

openstack client token and domain authentication

I installed Devstack master. My goal is to experiment with domain admins. I created a domain and a user in that domain as follows:

openstack domain create mydomain
openstack user create --domain mydomain --password pw mydomainadmin
openstack role add admin --user mydomainadmin --domain mydomain

Since I can't find out how to authenticate using the openstack client, I do that with curl, successfully. I now have a token. Then:

openstack --os-auth-url http://localhost:5000/v3 --os-token <my token> token issue
Password: <this doesn't look good, but I enter a password>
__init__() got an unexpected keyword argument 'token'

I have two questions.

  1. What combination of domain, user and other information do I have to give the openstack client so that it authenticates this domain-level user? Obviously I can authenticate using curl.
  2. How can I make the --os-token option work?

openstack client token and domain authentication

I installed Devstack master. My goal is to experiment with domain admins. I created a domain and a user in that domain as follows:

openstack domain create mydomain
openstack user create --domain mydomain --password pw mydomainadmin
openstack role add admin --user mydomainadmin --domain mydomain

Since I can't find out how to authenticate using the openstack client, I do that with curl, successfully. I now have a token. Then:

openstack --os-auth-url http://localhost:5000/v3 --os-token <my token> token issue
Password: <this <the fact I get a password prompt doesn't look good, but I enter a password>
__init__() got an unexpected keyword argument 'token'

I have two questions.

  1. What combination of domain, user and other information do I have to give the openstack client so that it authenticates this domain-level user? Obviously I can authenticate using curl.
  2. How can I make the --os-token option work?