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

Bug-fix for fetching region from AWS cluster obj in GetAWSRegion() #1483

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

achouhan09
Copy link
Member

@achouhan09 achouhan09 commented Dec 3, 2024

Explain the changes

  1. Root Cause: The problem arises when the AWS cluster region cannot be determined from node names, especially in cases where the node naming convention does not include the region or when the DHCP option modifies DNS settings, causing standard parsing methods to fail.

  2. Solution: To resolve this, the solution first attempts to fetch the region directly from the cluster configuration, which is the most reliable source. If this fails, it falls back to parsing the region from the node name.

Issues: Fixed #xxx / Gap #xxx

  1. Bug: https://issues.redhat.com/browse/DFBUGS-747

Testing Instructions:

  1. Install noobaa operator on AWS cluster and check for default backingstore creation with DHCP option set and not set.

@achouhan09 achouhan09 marked this pull request as draft December 3, 2024 09:07
@pull-request-size pull-request-size bot added size/M and removed size/S labels Dec 3, 2024
@achouhan09 achouhan09 marked this pull request as ready for review December 3, 2024 15:45
@achouhan09 achouhan09 requested a review from shirady December 3, 2024 16:21
pkg/util/util.go Outdated Show resolved Hide resolved
@achouhan09 achouhan09 merged commit 1fd00fb into noobaa:master Dec 11, 2024
14 checks passed
vh05 pushed a commit to vh05/noobaa-operator that referenced this pull request Dec 11, 2024
Bug-fix for fetching region from AWS cluster obj in GetAWSRegion()

Signed-off-by: Vinayak Hariharmath <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants