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

dblock #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

dblock #2

wants to merge 1 commit into from

Conversation

tsorya
Copy link
Owner

@tsorya tsorya commented Sep 16, 2020

No description provided.

tsorya pushed a commit that referenced this pull request Jan 14, 2024
…lude VIPS and UMA (openshift#5554)

This is a combination of 2 commits.

This is the 1st commit message:

MGMT-14416: VipDhcpAllocation from update params should take precedence (openshift#5209)

This change fixes a case where UserManagedNetworking and
VipDhcpAllocation are being changed at the same API update.

The ValidateClusterUpdateVIPAddresses func will now use VipDhcpAllocation
from update params, if relevant, before taking the DB cluster
VipDhcpAllocation into account.

Additionally, an additional error surfaced while fixing the aforementioned
issue, displaying a "User Managed Networking cannot be set with API VIP" to the user.

This change will also handle such a scenario by clearing up API and Ingress VIPs
that were set by DHCP, in case the user switched to 'User Managed Networking'.

This is the commit message #2:

MGMT-15306: Fix UpdateCluster for requests that include VIPS and UMA (openshift#5547)

This fix handles cluster updates that patch UMN and VIPs at the same request.
There was an issue in which the code overrode an empty VIPs array (which is
how VIPs should get deleted) with a nil, indicating no update to this field.

This change also includes tests that validate those exact scenarios.
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.

1 participant