← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1637530] Re: Python keystone client `users` method get() is not working

 

Reviewed:  https://review.openstack.org/396260
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=0bfd6251b674c998680ee0018fc95f47e1d26fe6
Submitter: Jenkins
Branch:    master

commit 0bfd6251b674c998680ee0018fc95f47e1d26fe6
Author: Boris Bobrov <bbobrov@xxxxxxxxxxxx>
Date:   Thu Nov 10 17:56:30 2016 +0300

    Do not add last_request_id
    
    It is untested and doesn't work for a while. It also causes a failure
    when the method is used by other client or by keystoneclient itself.
    
    Change-Id: Icdd53936a107933e275acd43b5ebe94b8d04bc4b
    Closes-Bug: 1637530


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

-- 
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/1637530

Title:
  Python keystone client `users` method get() is not working

Status in OpenStack Identity (keystone):
  Invalid
Status in python-keystoneclient:
  Fix Released

Bug description:
  Using python keystone-client to update user is working not properly.
  ipdb> test_user.manager.client
  <keystoneclient.httpclient._KeystoneAdapter object at 0x7f6098ed8210>
  ipdb> test_user.manager.client.last_request_id
  *** AttributeError: '_KeystoneAdapter' object has no attribute 'last_request_id'

  Steps to reproduce:
   1. authenticate

   2. create test_user:
      name='test_user_005'
      password='test'
      email='test@xxxxxxxx'

   3. update test_user
      email='updated@xxxxxxxxxxx'
   4. execute test_user.get()
  Expected result:
      Command is executed without any errors

  Actual result:
      *** AttributeError: '_KeystoneAdapter' object has no attribute 'last_request_id'

  Related bug:
      https://bugs.launchpad.net/keystone/+bug/1637484

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


References