User information is not updated after editing the user

Bug #2054418 reported by Nikita Koltsov
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned
OpenStack Keystone Charm
Fix Committed
Undecided
Unassigned

Bug Description

After editing user information in horizon, information is updated in user listing but not in the user details. So if the same user is opened old information is displayed.

I got the scenario from the customer:
- Log in as admin
- Set up new domain
- Go to User tab
- Search for the user anzwaal (or any another, this is just for the sake of the example).
- Click edit user.
- Change the email address and/or the primary project.
- Click on Save.
- See the changes in the User tab.
- Clik on the Edit button again.

And was able to reproduce it, as admin:
Go to Setting -> Identity -> Users
- Edit any user description
- After that user info is updating in the user list
- But if I try to edit this user again the old information will be shown

We are using the following python3-django-horizon/now 4:22.1.0-0ubuntu2.1 installed on jammy

Revision history for this message
Nicolas Bock (nicolasbock) wrote :

I cannot reproduce this issue with version python3-django-horizon-4:22.1.0-0ubuntu2. I can edit the user's email address, observe the updated address after saving in the user list, and I get the updated address in the edit dialog.

Revision history for this message
Nicolas Bock (nicolasbock) wrote :

Please try to reproduce this problem with the latest version, 22.1.1-0ubuntu1.

Revision history for this message
Nikita Koltsov (nkoltsov) wrote :

After some additional testing the following things were discovered:
1. The issue is only happening with HA setup(3 instances with hacluster)
2. The issue is resolving after some time approximately 15 minutes after the change
3. Also when I clicked edit on the right menu part of the user list sometimes it is showing accurate info sometimes not

I'm providing sanitized bundle to help you reproduce the setup:
https://pastebin.ubuntu.com/p/nzdz4CJkyj/

Revision history for this message
Rodrigo Barbieri (rodrigo-barbieri2010) wrote :

this is a problem of the keystone charm, not upstream horizon

Changed in horizon:
status: New → Invalid
Changed in charm-keystone:
status: New → In Progress
Revision history for this message
Rodrigo Barbieri (rodrigo-barbieri2010) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-keystone (master)

Reviewed: https://review.opendev.org/c/openstack/charm-keystone/+/913705
Committed: https://opendev.org/openstack/charm-keystone/commit/0967f6ec4eacf69a5cee9b7582daed973e1dded4
Submitter: "Zuul (22348)"
Branch: master

commit 0967f6ec4eacf69a5cee9b7582daed973e1dded4
Author: Rodrigo Barbieri <email address hidden>
Date: Tue Mar 19 14:32:46 2024 -0300

    Add cache_time for identity

    This patch adds a config option to allow
    configuring the cache_time for identity elements.

    It is also including a complementary fix for
    change I49e46e010c543f831959581b2122f59068f2c07b
    that missed adjusting the correct template, and
    used the wrong comparison "is not None".

    Closes-bug: #2054418
    Related-bug: #1771114
    Change-Id: I57d376eb6c1f0f38cdd028aacf397aaf7f3a1cda

Changed in charm-keystone:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-keystone (stable/2023.2)

Fix proposed to branch: stable/2023.2
Review: https://review.opendev.org/c/openstack/charm-keystone/+/915142

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-keystone (stable/2023.2)

Reviewed: https://review.opendev.org/c/openstack/charm-keystone/+/915142
Committed: https://opendev.org/openstack/charm-keystone/commit/0eb972dbc0c256e9c20f5cc83fc6ada9f96fa93a
Submitter: "Zuul (22348)"
Branch: stable/2023.2

commit 0eb972dbc0c256e9c20f5cc83fc6ada9f96fa93a
Author: Rodrigo Barbieri <email address hidden>
Date: Tue Mar 19 14:32:46 2024 -0300

    Add cache_time for identity

    This patch adds a config option to allow
    configuring the cache_time for identity elements.

    It is also including a complementary fix for
    change I49e46e010c543f831959581b2122f59068f2c07b
    that missed adjusting the correct template, and
    used the wrong comparison "is not None".

    Closes-bug: #2054418
    Related-bug: #1771114
    Change-Id: I57d376eb6c1f0f38cdd028aacf397aaf7f3a1cda
    (cherry picked from commit 0967f6ec4eacf69a5cee9b7582daed973e1dded4)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-keystone (stable/2023.1)

Fix proposed to branch: stable/2023.1
Review: https://review.opendev.org/c/openstack/charm-keystone/+/915343

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-keystone (stable/2023.1)

Reviewed: https://review.opendev.org/c/openstack/charm-keystone/+/915343
Committed: https://opendev.org/openstack/charm-keystone/commit/513f3eed30c5855965aaa2e98531cccb2c7e900c
Submitter: "Zuul (22348)"
Branch: stable/2023.1

commit 513f3eed30c5855965aaa2e98531cccb2c7e900c
Author: Rodrigo Barbieri <email address hidden>
Date: Tue Mar 19 14:32:46 2024 -0300

    Add cache_time for identity

    This patch adds a config option to allow
    configuring the cache_time for identity elements.

    It is also including a complementary fix for
    change I49e46e010c543f831959581b2122f59068f2c07b
    that missed adjusting the correct template, and
    used the wrong comparison "is not None".

    Closes-bug: #2054418
    Related-bug: #1771114
    Change-Id: I57d376eb6c1f0f38cdd028aacf397aaf7f3a1cda
    (cherry picked from commit 0967f6ec4eacf69a5cee9b7582daed973e1dded4)
    (cherry picked from commit 0eb972dbc0c256e9c20f5cc83fc6ada9f96fa93a)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-keystone (stable/zed)

Fix proposed to branch: stable/zed
Review: https://review.opendev.org/c/openstack/charm-keystone/+/916088

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-keystone (stable/zed)

Reviewed: https://review.opendev.org/c/openstack/charm-keystone/+/916088
Committed: https://opendev.org/openstack/charm-keystone/commit/6b748bdb7819b9f5f90af780b4b958af0dc12350
Submitter: "Zuul (22348)"
Branch: stable/zed

commit 6b748bdb7819b9f5f90af780b4b958af0dc12350
Author: Rodrigo Barbieri <email address hidden>
Date: Tue Mar 19 14:32:46 2024 -0300

    Add cache_time for identity

    This patch adds a config option to allow
    configuring the cache_time for identity elements.

    It is also including a complementary fix for
    change I49e46e010c543f831959581b2122f59068f2c07b
    that missed adjusting the correct template, and
    used the wrong comparison "is not None".

    Closes-bug: #2054418
    Related-bug: #1771114
    Change-Id: I57d376eb6c1f0f38cdd028aacf397aaf7f3a1cda
    (cherry picked from commit 0967f6ec4eacf69a5cee9b7582daed973e1dded4)
    (cherry picked from commit 0eb972dbc0c256e9c20f5cc83fc6ada9f96fa93a)
    (cherry picked from commit 513f3eed30c5855965aaa2e98531cccb2c7e900c)

tags: added: in-stable-zed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-keystone (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/charm-keystone/+/916448

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-keystone (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/charm-keystone/+/916448
Committed: https://opendev.org/openstack/charm-keystone/commit/014bbac1c78de928981315ddb408bd4d149b4e0e
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 014bbac1c78de928981315ddb408bd4d149b4e0e
Author: Rodrigo Barbieri <email address hidden>
Date: Tue Mar 19 14:32:46 2024 -0300

    Add cache_time for identity

    This patch adds a config option to allow
    configuring the cache_time for identity elements.

    It is also including a complementary fix for
    change I49e46e010c543f831959581b2122f59068f2c07b
    that missed adjusting the correct template, and
    used the wrong comparison "is not None".

    Closes-bug: #2054418
    Related-bug: #1771114
    Change-Id: I57d376eb6c1f0f38cdd028aacf397aaf7f3a1cda
    (cherry picked from commit 0967f6ec4eacf69a5cee9b7582daed973e1dded4)
    (cherry picked from commit 0eb972dbc0c256e9c20f5cc83fc6ada9f96fa93a)
    (cherry picked from commit 513f3eed30c5855965aaa2e98531cccb2c7e900c)
    (cherry picked from commit 6b748bdb7819b9f5f90af780b4b958af0dc12350)

tags: added: in-stable-yoga
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.