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

Set username to unknown when resetting password #777

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

tobio
Copy link
Member

@tobio tobio commented Feb 6, 2024

Description

When resetting the password on an imported deployment we set the username along with the password, prior to this PR this caused the provider to blow up.

Related Issues

Fixes #766

How Has This Been Tested?

Manually, it's hard to add an acceptance test here since it requires importing the existing deployment.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improves code quality but has no user-facing effect)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation

Readiness Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@tobio tobio requested a review from dimuon February 6, 2024 02:24
@tobio tobio self-assigned this Feb 6, 2024
@tobio tobio requested a review from a team as a code owner February 6, 2024 02:24
Copy link
Contributor

@dimuon dimuon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@GeorgeGkinis
Copy link
Contributor

Would this also fix #779?

@tobio tobio merged commit b33f9ce into elastic:master Feb 6, 2024
3 checks passed
@tobio tobio deleted the unknown-username-on-reset branch February 6, 2024 22:01
@tobio
Copy link
Member Author

tobio commented Feb 6, 2024

@GeorgeGkinis I've commented on that issue, but no this won't solve #779

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.

reset_elasticsearch_password needs to be run 2 times to succeed. 1st attempt provides an error
3 participants