Skip to content

[mce-2.3] MachinePools/OpenStack: Fix nil pointer exception#2411

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:mce-2.3from
openshift-cherrypick-robot:cherry-pick-2410-to-mce-2.3
Aug 9, 2024
Merged

[mce-2.3] MachinePools/OpenStack: Fix nil pointer exception#2411
openshift-merge-bot[bot] merged 1 commit intoopenshift:mce-2.3from
openshift-cherrypick-robot:cherry-pick-2410-to-mce-2.3

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #2410

/assign 2uasimojo

This is *not* a cherry-pick of openshift#2253 / (c6b37ee & f59f327). That
solution revendored installer to pick up the fix from upstream. In older
branches, this would have dragged in too many dependencies, so we
instead fix it "locally" with an explicit nil check.

Note also that the original fix added unit tests. We can't do that here
either because the new tests rely on the OpenStack UT suite being
un-broken [1], which again relied on upstream changes [2][3] we can't pull into
older branches.

[1] openshift#2251
[2] openshift/installer#8187
[3] openshift/installer#8209

HIVE-2476
@codecov
Copy link

codecov bot commented Aug 9, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 57.80%. Comparing base (1009029) to head (a71f5c8).

Files Patch % Lines
pkg/controller/machinepool/openstackactuator.go 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           mce-2.3    #2411      +/-   ##
===========================================
- Coverage    57.80%   57.80%   -0.01%     
===========================================
  Files          186      186              
  Lines        25333    25335       +2     
===========================================
  Hits         14645    14645              
- Misses        9437     9439       +2     
  Partials      1251     1251              
Files Coverage Δ
pkg/controller/machinepool/openstackactuator.go 19.09% <0.00%> (-0.36%) ⬇️

@2uasimojo
Copy link
Member

/override ci/prow/security

azidentity addressed elsewhere.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 9, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 9, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 2uasimojo, openshift-cherrypick-robot

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 openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 9, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 9, 2024

@2uasimojo: Overrode contexts on behalf of 2uasimojo: ci/prow/security

Details

In response to this:

/override ci/prow/security

azidentity addressed elsewhere.

/lgtm

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-sigs/prow repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 9, 2024

@openshift-cherrypick-robot: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/security a71f5c8 link true /test security

Full PR test history. Your PR dashboard.

Details

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-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot openshift-merge-bot bot merged commit 8d7c444 into openshift:mce-2.3 Aug 9, 2024
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.

2 participants