Ask Your Question

[Havana][Keystone] API v3 User Create Issue [closed]

asked 2014-05-05 05:04:26 -0500

TypoPhil gravatar image

Hey there,

I've started a small commandline utility that I use against the api of different services in my OpenStack Havana PoC. Especially for service endpoints of a newer version. I recently enable Keystone APIv3, as I was writing an authentication plugin.

I'd like to create a role of domain_admin, having rights only on projects that belong to the same domain as the domain_admin user, but no others. Thanks to Haneef Ali, Custom Role is a good starting point.

However, adding calls to either create a user or update a user fail. Adding calls for role and domain handling are working just fine, but

Trying to create a User



         "description": "Da Description",
         "name": "DomainAdmin", 
         "domain_id": "DaDomainId", 
         "password": "DaPassword$",
         "enabled": true,
         "email": "", 
         "default_project_id": "DaDefProjectId"


Error 404 Not Found
The resource could not be found.

Trying to Update a user with a similar call adding a domain_id works though. Could this be a problem with the Havana release?

Regards, Phil

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by TypoPhil
close date 2014-05-05 09:15:11.683782


Ok, sorry for bothering. Found it myself, I was using PATCH instead of POST. My bad. The issue I still have with assigning this special role and the domains will be posted in another issue. I'll close this here.

TypoPhil gravatar imageTypoPhil ( 2014-05-05 09:13:45 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-05-05 09:14:39 -0500

TypoPhil gravatar image

As mentioned in the comments, I was just using the wrong method.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-05-05 05:04:26 -0500

Seen: 61 times

Last updated: May 05 '14