← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1205520] Re: Cannot set the default project for the User V3

 

Fix proposed to branch: master
Review: https://review.openstack.org/69401

** Changed in: horizon
       Status: Invalid => In Progress

** Changed in: horizon
     Assignee: Lin Hua Cheng (lin-hua-cheng) => Dirk Mueller (dmllr)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1205520

Title:
  Cannot set the default project for the User V3

Status in OpenStack Dashboard (Horizon):
  In Progress
Status in Python client library for Keystone:
  Fix Released

Bug description:
  The code implementation is passing the attribute to Keystone as
  "project_id"..

  
  https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/v3/users.py#L46

      def create(self, name, domain=None, project=None, password=None,
                 email=None, description=None, enabled=True):
          return super(UserManager, self).create(
              name=name,
              domain_id=base.getid(domain),
              project_id=base.getid(project),
              password=password,
              email=email,
              description=description,
              enabled=enabled)

  According to identity-api spec (https://github.com/openstack/identity-
  api/blob/master/openstack-identity-api/v3/src/markdown/identity-
  api-v3.md). it should be passed as "default_project_id".

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1205520/+subscriptions