← Back to team overview

yahoo-eng-team team mailing list archive

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

 

** Changed in: python-keystoneclient
       Status: Fix Committed => Fix Released

-- 
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):
  Invalid
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