← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1215482] Re: conusmer create in sql, description should be nullable

 

** Changed in: keystone
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1215482

Title:
  conusmer create in sql, description should be nullable

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  when playing around with openstack client:
  $ openstack consumer create
  ERROR: cliff.app An unexpected error prevented the server from fulfilling your request. (OperationalError) (1048, "Column 'description' cannot be null") 'INSERT INTO consumer (id, description, secret, extra) VALUES (%s, %s, %s, %s)' ('0ab66a011274424e9cfd4564809e645c', None, '89382f383c864257ab6620d27f792696', '{}') (HTTP 500)

  In keystone/contrib/oauth/backends/sql, I noticed that:
  description = sql.Column(sql.String(64), nullable=False)

  This should be nullable=True, we would also need a new migration file
  too.

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