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

OpenStack: fix runtime error with machine pool validation #3915

Merged

Conversation

mandre
Copy link
Member

@mandre mandre commented Jul 17, 2020

The recent validations refactoring [1] caused the installer to panic with
nil pointer deference when running with an install-config.yaml where the
controlPlane.platform.openstack struct was unset.

This wasn't caught in CI since we do set the struct.

[1] #3864

The recent validations refactoring [1] caused the installer to panic with
nil pointer deference when running with an install-config.yaml where the
`controlPlane.platform.openstack` struct was unset.

This wasn't caught in CI since we do set the struct.

[1] openshift#3864
@mandre
Copy link
Member Author

mandre commented Jul 17, 2020

Unit tests would have helped catching this error, I'm going to write some.

@mandre
Copy link
Member Author

mandre commented Jul 20, 2020

/retest

@mandre
Copy link
Member Author

mandre commented Jul 20, 2020

Restoring the tests that were removed in #3864 would take too much time, let's merge this bugfix to unblock CI and add the unit tests later.

@pierreprinetti
Copy link
Member

/lgtm

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pierreprinetti

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

The pull request process is described here

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 Jul 20, 2020
@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-ci-robot
Copy link
Contributor

@mandre: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-libvirt 2cf713b link /test e2e-libvirt
ci/prow/e2e-ovirt 2cf713b link /test e2e-ovirt

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit bde9b2d into openshift:master Jul 20, 2020
@mandre mandre deleted the fix_openstack_validation branch September 17, 2020 08:50
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants