puppet-keystone not adding user roles in liberty

asked 2016-05-04 10:34:14 -0500

DanielK gravatar image


I hope I am asking this question at the right place.

I am trying to deploy a liberty openstack from scratch, and it appears that puppet-keystone does not add the user roles. I am using the 7.0.0 version of the puppet modules. When I do openstack role list --project admin --user admin or openstack role list --project service --user neutron I get an empty response and of course puppet fails.

Once I add the roles manually with for example openstack role add --project admin --user admin admin etc. it works fine. I have set my puppet manifests explicitly to configure_user_role=true (even though that is the default) but it appears to not help.

The only indication I have found is, that in the debug output of puppet I can see things like this: project list --quiet --format csv --user admin --long'

This fails because it assumes v3 keystone api (to make use of the --user parameter) but it appears that without any further information puppet falls back to the v2 api. I did set the version in the puppet manifest to v3.

Is there something I am missing?

edit retag flag offensive close merge delete