← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1607751] [NEW] Schema for enabling users breaks keystoneclient and other projects

 

Public bug reported:

Patch https://review.openstack.org/#/c/344057/ introduced schema
validation for enabling a user. In the schema, it forbid passing any
parameters other than "enabled". It causes failures to at least rally:
http://logs.openstack.org/88/348788/1/check/gate-rally-dsvm-keystone-
v2api-rally/992e7ee/rally-
plot/results.html.gz#/KeystoneBasic.create_user_set_enabled_and_delete/failures

It happens because keystoneclient passes "id" and "enabled":
https://github.com/openstack/python-
keystoneclient/blob/master/keystoneclient/v2_0/users.py#L60-L62 , so the
change broke anybody who uses the method in keystoneclient.

** Affects: keystone
     Importance: Undecided
         Status: New

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

Title:
  Schema for enabling users breaks keystoneclient and other projects

Status in OpenStack Identity (keystone):
  New

Bug description:
  Patch https://review.openstack.org/#/c/344057/ introduced schema
  validation for enabling a user. In the schema, it forbid passing any
  parameters other than "enabled". It causes failures to at least rally:
  http://logs.openstack.org/88/348788/1/check/gate-rally-dsvm-keystone-
  v2api-rally/992e7ee/rally-
  plot/results.html.gz#/KeystoneBasic.create_user_set_enabled_and_delete/failures

  It happens because keystoneclient passes "id" and "enabled":
  https://github.com/openstack/python-
  keystoneclient/blob/master/keystoneclient/v2_0/users.py#L60-L62 , so
  the change broke anybody who uses the method in keystoneclient.

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


Follow ups