Skip to content

Conversation

@tomassedovic
Copy link

@tomassedovic tomassedovic commented Jul 26, 2019

What this PR does / why we need it:

The OpenStack provider is now switching away from the extra LB/DNS VM to using VIPs for the internal API, DNS and ingress access:

openshift/installer#1959
openshift/machine-config-operator#740

To make these VIPs accessible to the machines in the cluster, they need to be added to the OpenStack ports' allowed_address_pairs.

The piece here sets them for the machines managed by CAPO.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

  1. Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

Adds the OpenStack API/DNS/Ingress VIPs to the workers' ports' `allowed_address_pairs` if available.

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jul 26, 2019
@tomassedovic
Copy link
Author

/retest

@tomassedovic
Copy link
Author

/retest

Cloud timeouts, hopefully transient.

@tomassedovic
Copy link
Author

/retest

3 similar comments
@tomassedovic
Copy link
Author

/retest

@tomassedovic
Copy link
Author

/retest

@tomassedovic
Copy link
Author

/retest

@tomassedovic
Copy link
Author

I'm going to test this locally with installer#master (which is what the e2e-openstack job runs).

I've tested this with the "remove service VM" patches and it worked great. The changes here shouldn't break anything on the master, but the string of CI failures is not exactly reassuring.

@tomassedovic
Copy link
Author

/retest

@tomassedovic
Copy link
Author

Okay, no, nevermind, this is a real issue. The machine-api-controllers pod keeps crashlooping.

This reads the OpenStack's `cluster` Inflastructure object, gathers the
internal API, DNS and Ingress VIPs and adds them to the
`allowed_address_pair` property to the Machine's port.

This ensures any VIPs attached to the Machine are accessible to the rest
of the cluster.

Signed-off-by: Antoni Segura Puimedon <[email protected]>
@tomassedovic
Copy link
Author

Looks like the DNS our CI uses is broken or something. I'm not seeing these issues locally.

@tomassedovic
Copy link
Author

I got Install complete! when running this locally. Looks like the e2e-openstack job is indeed broken at the moment.

@tomassedovic
Copy link
Author

/retest

@mandre
Copy link
Member

mandre commented Jul 31, 2019

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mandre, tomassedovic

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-merge-robot openshift-merge-robot merged commit 99ead52 into openshift:master Jul 31, 2019
racheljpg pushed a commit to racheljpg/cluster-api-provider-openstack that referenced this pull request Dec 20, 2023
Change-Id: I498589845e36300b05dc4c155cce6660cfa297d2
pierreprinetti pushed a commit to shiftstack/cluster-api-provider-openstack that referenced this pull request Apr 22, 2024
Change-Id: I498589845e36300b05dc4c155cce6660cfa297d2
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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants