Tenant ID is a required parameter of user-role-add, but this command display is optional parameter.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-keystoneclient |
Invalid
|
High
|
Andre Naehring |
Bug Description
Tenant ID is a required parameter of user-role-add, but command display is optional parameter.
The following is the display of when the keystone user-role-add command is executed.
usage: keystone user-role-add --user-id <user-id> --role-id <role-id>
keystone user-role-add: error: argument --user-id/--user_id is required
In /opt/stack/
def add_role_
"""Add a role to a user and tenant pair.
Since we're trying to ignore the idea of user-only roles we're
not implementing them in hopes that the idea will die off.
"""
if tenant_id is None:
raise exception.
Because not yet implemented it return an error if you do not specify tenant ID.
This case tenant ID should fix to a required parameter display.
description: | updated |
description: | updated |
Changed in python-keystoneclient: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in python-keystoneclient: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → In Progress |
Fix proposed to branch: master /review. openstack. org/15953
Review: https:/