Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test to rotate mysql service user password [Yoga backport] #1134

Merged
merged 7 commits into from
Sep 26, 2023

Conversation

freyes
Copy link
Member

@freyes freyes commented Sep 21, 2023

No description provided.

This new test verifies that keystone can have its password rotated and
then still operate afterwards.  It verifies that the on-disk password is
changed in the keystone application and that the user list can be
performed.

(cherry picked from commit e164061)
This is to guarantee that the block check didn't happen prior to the
action being started.

(cherry picked from commit 32f2a05)
This patch ensures that the usernames are parsed correctly from the
action to ensure that the usernames are handled correctly.

(cherry picked from commit 140805d)
In the rotate password test, the results from the action return a list
of strings that are deliminted by single quotes.  This isn't compatible
with json.loads(), but yaml.safe_load() is able to load the string as an
array of strings.

(cherry picked from commit 0fe8e9d)
@freyes
Copy link
Member Author

freyes commented Sep 21, 2023

this backport is being exercised by this gerrit review https://review.opendev.org/c/openstack/charm-mysql-innodb-cluster/+/885021

@freyes freyes requested a review from ajkavanagh September 21, 2023 14:32
@ajkavanagh ajkavanagh merged commit e1562c4 into openstack-charmers:stable/yoga Sep 26, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants