Public bug reported:
Using python keystone-client to update user is working not properly.
Keystone client returns new updated object.
Old user was not updated.
Steps to reproduce:
1. authenticate
2. create test_user:
name='test_user_005'
password='test'
email='[email protected]'
3. update test_user
email='[email protected]'
Expected result:
Keystone client returns new object test_user was not updated
Actual result:
test_user was updated
Attachments:
Execute script in attachment to investigate the issue
Trace:
======= CREATE TEST USER =======
======= UPDATE TEST USER =======
======= TEST USER: <User domain_id=default, [email protected],
enabled=True, id=89d34a7ce6c842209823d674c5d0c3b2, links={u'self':
u'http://192.168.0.2:35357/v3/users/89d34a7ce6c842209823d674c5d0c3b2'},
name=test_user_005>
======= TEST USER GET: <bound method User.get of <User
domain_id=default, [email protected], enabled=True,
id=89d34a7ce6c842209823d674c5d0c3b2, links={u'self':
u'http://192.168.0.2:35357/v3/users/89d34a7ce6c842209823d674c5d0c3b2'},
name=test_user_005>>
======= UPDATED TEST USER: <User domain_id=default,
[email protected], enabled=True, extra={u'email':
u'[email protected]'}, id=89d34a7ce6c842209823d674c5d0c3b2,
links={u'self':
u'http://192.168.0.2:35357/v3/users/89d34a7ce6c842209823d674c5d0c3b2'},
name=test_user_005>
======= UPDATED TEST USER GET: <bound method User.get of <User
domain_id=default, [email protected], enabled=True,
extra={u'email': u'[email protected]'},
id=89d34a7ce6c842209823d674c5d0c3b2, links={u'self':
u'http://192.168.0.2:35357/v3/users/89d34a7ce6c842209823d674c5d0c3b2'},
name=test_user_005>>
** Affects: keystone
Importance: Undecided
Status: Confirmed
** Attachment added: "script to update user"
https://bugs.launchpad.net/bugs/1637484/+attachment/4768844/+files/user_update.py
--
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/1637484
Title:
Update user is working not properly
Status in OpenStack Identity (keystone):
Confirmed
Bug description:
Using python keystone-client to update user is working not properly.
Keystone client returns new updated object.
Old user was not updated.
Steps to reproduce:
1. authenticate
2. create test_user:
name='test_user_005'
password='test'
email='[email protected]'
3. update test_user
email='[email protected]'
Expected result:
Keystone client returns new object test_user was not updated
Actual result:
test_user was updated
Attachments:
Execute script in attachment to investigate the issue
Trace:
======= CREATE TEST USER =======
======= UPDATE TEST USER =======
======= TEST USER: <User domain_id=default, [email protected],
enabled=True, id=89d34a7ce6c842209823d674c5d0c3b2, links={u'self':
u'http://192.168.0.2:35357/v3/users/89d34a7ce6c842209823d674c5d0c3b2'},
name=test_user_005>
======= TEST USER GET: <bound method User.get of <User
domain_id=default, [email protected], enabled=True,
id=89d34a7ce6c842209823d674c5d0c3b2, links={u'self':
u'http://192.168.0.2:35357/v3/users/89d34a7ce6c842209823d674c5d0c3b2'},
name=test_user_005>>
======= UPDATED TEST USER: <User domain_id=default,
[email protected], enabled=True, extra={u'email':
u'[email protected]'}, id=89d34a7ce6c842209823d674c5d0c3b2,
links={u'self':
u'http://192.168.0.2:35357/v3/users/89d34a7ce6c842209823d674c5d0c3b2'},
name=test_user_005>
======= UPDATED TEST USER GET: <bound method User.get of <User
domain_id=default, [email protected], enabled=True,
extra={u'email': u'[email protected]'},
id=89d34a7ce6c842209823d674c5d0c3b2, links={u'self':
u'http://192.168.0.2:35357/v3/users/89d34a7ce6c842209823d674c5d0c3b2'},
name=test_user_005>>
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1637484/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp