Skip to content

Fix Azure cloud provider subnet reference#2556

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
ironcladlou:azure-cloudprovider-subnet-fix
Oct 24, 2019
Merged

Fix Azure cloud provider subnet reference#2556
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
ironcladlou:azure-cloudprovider-subnet-fix

Conversation

@ironcladlou
Copy link
Contributor

On Azure, the installer is configuring the cloud provider with a subnet using a
-node-subnet suffix. This is incorrect, as the actual subnet created for Azure
has a -worker-subnet suffix. The cloud provider refers to this subnet when
creating internal load balancers. Because of the invalid subnet reference,
kube-controller-manager fails to find the subnet, and thus fails to provision
internal load balancers. This commit fixes the reference and thus fixes internal
ingresscontrollers on Azure for new installations.

This commit does not fix existing invalid cloudprovider configmaps.

This is a fix of https://bugzilla.redhat.com/show_bug.cgi?id=1763727 only for
new installations.

On Azure, the installer is configuring the cloud provider with a subnet using a
`-node-subnet` suffix. This is incorrect, as the actual subnet created for Azure
has a `-worker-subnet` suffix. The cloud provider refers to this subnet when
creating internal load balancers. Because of the invalid subnet reference,
kube-controller-manager fails to find the subnet, and thus fails to provision
internal load balancers. This commit fixes the reference and thus fixes internal
ingresscontrollers on Azure for new installations.

This commit does not fix existing invalid cloudprovider configmaps.

This is a fix of https://bugzilla.redhat.com/show_bug.cgi?id=1763727 only for
new installations.
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 23, 2019
@jhixson74
Copy link
Member

/lgtm

@abhinavdahiya
Copy link
Contributor

/test e2e-azure

@abhinavdahiya
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 23, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, ironcladlou, jhixson74

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 23, 2019
@abhinavdahiya
Copy link
Contributor

/retest

1 similar comment
@abhinavdahiya
Copy link
Contributor

/retest

@openshift-merge-robot openshift-merge-robot merged commit 37fbe86 into openshift:master Oct 24, 2019
wking added a commit to wking/openshift-installer that referenced this pull request Nov 6, 2019
…rker-subnet

Catch this example up with cfa5d59 (Fix Azure cloud provider subnet
reference, 2019-10-23, openshift#2556).  This is just a dummy value for the
unit tests, but it's nice to be internally consistent anyway ;).
jhixson74 pushed a commit to jhixson74/installer that referenced this pull request Dec 6, 2019
…rker-subnet

Catch this example up with cfa5d59 (Fix Azure cloud provider subnet
reference, 2019-10-23, openshift#2556).  This is just a dummy value for the
unit tests, but it's nice to be internally consistent anyway ;).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants