Distributed Cloud: modified user on subcloud failed sync with System Controller

Bug #1797970 reported by Peng Peng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Andy

Bug Description

Brief Description
-----------------
Create user (andy_456) on System Controller and new user will sync down to subcloud. Modify new user name on subcloud (andy_456 to andy_789), after audit period modifed user is deleted and original user is not sync down.

Severity
--------
Critical

Steps to Reproduce
------------------
1. Create new user on System Controller; andy_456, make sure new user show up on subcloud
2. On subcloud, modify new user name from andy_456 to andy_789

Expected Behavior
------------------
on Subcloud, and_789 will be deleted and andy_456 should be sync down

Actual Behavior
----------------
on Subcloud, andy_789 will be deleted, but andy_456 did not sync down

Reproducibility
---------------
Reproducible

System Configuration
--------------------
Multi-node system

Branch/Pull Time/Commit
-----------------------
StarlingX_18.10 release branch as of 2018-10-08_01-52-01

Timestamp/Logs
--------------
ON System Controller,
[wrsroot@controller-0 ~(keystone_admin)]$ openstack user create --password Li69nux* andy_123
+---------------------+----------------------------------+
| Field | Value |
+---------------------+----------------------------------+
| domain_id | default |
| enabled | True |
| id | dd976a264369426cbbd1e757f1986885 |
| name | andy_123 |
| options | {} |
| password_expires_at | None |
+---------------------+----------------------------------+

[wrsroot@controller-0 ~(keystone_admin)]$ openstack user set --name andy_456 dd976a264369426cbbd1e757f1986885

On managed subcloud:
[wrsroot@controller-0 ~(keystone_admin)]$ openstack user list
+----------------------------------+------------------+
| ID | Name |
+----------------------------------+------------------+
| 9c5538c6b38048e4a050d6c70660bbb4 | admin |
| 942fd735552240c8b34de666216fb6d3 | sysinv |
| e445e6c4f9174df0b6d2b3d8f27077f6 | panko |
| 21a0376533794dc7846eb395f06cd60a | neutron |
| ae64aaa646524407b03c99c71dcea900 | heat |
| e5ddd15b27a1461a80b65cc8175add14 | vim |
| f8278758eb394bf8a3dc5bccdfc43f23 | gnocchi |
| b171e525a0db4898895ba2d86f53935b | aodh |
| 2381cdb15ea24d7ead1890cb28feddfd | nova |
| 2397aff1bcd24023a1e7c5674954dec2 | mtce |
| 18ef8133991042a4aa0f6118d27a634a | fm |
| 1ed47abd20bd488bbd39a12584a62216 | glance |
| 8404ae4139d84e61bcecfce9f4f00852 | placement |
| 6337840d047a4872acafa856afba78ab | patching |
| 54fd021329ac4156aa812013fbe32bd0 | ceilometer |
| ad17034eef544107af4e99b70cd5ef2f | smapi |
| 67f557d3d6d0449292ec7688b44fc13c | cindersubcloud-4 |
| 0f519aacd7e248cfad361d9fd0ddf8fd | andy_456 |
+----------------------------------+------------------+
[wrsroot@controller-0 ~(keystone_admin)]$ openstack user show andy_456
+---------------------+----------------------------------+
| Field | Value |
+---------------------+----------------------------------+
| domain_id | default |
| enabled | True |
| id | 0f519aacd7e248cfad361d9fd0ddf8fd |
| name | andy_456 |
| options | {} |
| password_expires_at | None |
+---------------------+----------------------------------+
[wrsroot@controller-0 ~(keystone_admin)]$ openstack user set --name andy_789 0f519aacd7e248cfad361d9fd0ddf8fd
[wrsroot@controller-0 ~(keystone_admin)]$
[wrsroot@controller-0 ~(keystone_admin)]$
[wrsroot@controller-0 ~(keystone_admin)]$ openstack user list
+----------------------------------+------------------+
| ID | Name |
+----------------------------------+------------------+
| 9c5538c6b38048e4a050d6c70660bbb4 | admin |
| 942fd735552240c8b34de666216fb6d3 | sysinv |
| e445e6c4f9174df0b6d2b3d8f27077f6 | panko |
| 21a0376533794dc7846eb395f06cd60a | neutron |
| ae64aaa646524407b03c99c71dcea900 | heat |
| e5ddd15b27a1461a80b65cc8175add14 | vim |
| f8278758eb394bf8a3dc5bccdfc43f23 | gnocchi |
| b171e525a0db4898895ba2d86f53935b | aodh |
| 2381cdb15ea24d7ead1890cb28feddfd | nova |
| 2397aff1bcd24023a1e7c5674954dec2 | mtce |
| 18ef8133991042a4aa0f6118d27a634a | fm |
| 1ed47abd20bd488bbd39a12584a62216 | glance |
| 8404ae4139d84e61bcecfce9f4f00852 | placement |
| 6337840d047a4872acafa856afba78ab | patching |
| 54fd021329ac4156aa812013fbe32bd0 | ceilometer |
| ad17034eef544107af4e99b70cd5ef2f | smapi |
| 67f557d3d6d0449292ec7688b44fc13c | cindersubcloud-4 |
| 0f519aacd7e248cfad361d9fd0ddf8fd | andy_789 |
+----------------------------------+------------------+
[wrsroot@controller-0 ~(keystone_admin)]$ openstack user show andy_789
+---------------------+----------------------------------+
| Field | Value |
+---------------------+----------------------------------+
| domain_id | default |
| enabled | True |
| id | 0f519aacd7e248cfad361d9fd0ddf8fd |
| name | andy_789 |
| options | {} |
| password_expires_at | None |
+---------------------+----------------------------------+
[wrsroot@controller-0 ~(keystone_admin)]$
[wrsroot@controller-0 ~(keystone_admin)]$ openstack user list
+----------------------------------+------------------+
| ID | Name |
+----------------------------------+------------------+
| 9c5538c6b38048e4a050d6c70660bbb4 | admin |
| 942fd735552240c8b34de666216fb6d3 | sysinv |
| e445e6c4f9174df0b6d2b3d8f27077f6 | panko |
| 21a0376533794dc7846eb395f06cd60a | neutron |
| ae64aaa646524407b03c99c71dcea900 | heat |
| e5ddd15b27a1461a80b65cc8175add14 | vim |
| f8278758eb394bf8a3dc5bccdfc43f23 | gnocchi |
| b171e525a0db4898895ba2d86f53935b | aodh |
| 2381cdb15ea24d7ead1890cb28feddfd | nova |
| 2397aff1bcd24023a1e7c5674954dec2 | mtce |
| 18ef8133991042a4aa0f6118d27a634a | fm |
| 1ed47abd20bd488bbd39a12584a62216 | glance |
| 8404ae4139d84e61bcecfce9f4f00852 | placement |
| 6337840d047a4872acafa856afba78ab | patching |
| 54fd021329ac4156aa812013fbe32bd0 | ceilometer |
| ad17034eef544107af4e99b70cd5ef2f | smapi |
| 67f557d3d6d0449292ec7688b44fc13c | cindersubcloud-4 |
+----------------------------------+------------------+

Ghada Khalil (gkhalil)
Changed in starlingx:
assignee: nobody → Andy (andy.wrs)
summary: - STX Distributed Cloud: modified user on subcloud failed sync with System
+ Distributed Cloud: modified user on subcloud failed sync with System
Controller
tags: added: stx.distcloud
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → High
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Targeting stx.2018.10 as this impacts distributed cloud functionality

tags: added: stx.2018.10
Changed in starlingx:
status: New → In Progress
Revision history for this message
Andy (andy.wrs) wrote :
Revision history for this message
Andy (andy.wrs) wrote :

Another pull request has been created to merge the fix to r/2018.10 branch:

https://github.com/starlingx-staging/stx-keystone/pull/5

Andy (andy.wrs)
Changed in starlingx:
status: In Progress → Fix Committed
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Both pull requests have been merged; marking as Fix Released

Changed in starlingx:
status: Fix Committed → Fix Released
Ken Young (kenyis)
tags: added: stx.1.0
removed: stx.2018.10
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.