yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01755
[Bug 1158372] Re: create a domain failed
sorry, I post the wrong data
the right should be :
-d '{"domain": {"name": "test_domain_1"}}'
** Changed in: keystone
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1158372
Title:
create a domain failed
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
I tried v3 api, but failed to create a domain.
curl -vvv -H "X-Auth-Token:ADMIN" -H 'Content-Type:application/json'
-X POST -d '{"name": "test_domain_1"}'
http://localhost:5000/v3/domains
return:
{"error": {"message": "create_domain() got an unexpected keyword argument 'name'", "code": 400, "title": "Bad Request"}}
The same thing happened when creating project, group with v3 api.
I try to change protected decorator (in common/controller.py) from
"return f(self, context, **kwargs)" to "return f(self, context,
kwargs)", then everything is ok.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1158372/+subscriptions