Skip to content

[mce-2.4] MachinePools/OpenStack: Fix nil pointer exception#2410

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

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

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #2274

/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
@2uasimojo
Copy link
Member

/lgtm

assuming CI is happy.

/cherry-pick mce-2.3

@openshift-cherrypick-robot
Copy link
Author

@2uasimojo: once the present PR merges, I will cherry-pick it on top of mce-2.3 in a new PR and assign it to you.

Details

In response to this:

/lgtm

assuming CI is happy.

/cherry-pick mce-2.3

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

openshift-ci bot commented Aug 8, 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 8, 2024
@codecov
Copy link

codecov bot commented Aug 8, 2024

Codecov Report

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

Project coverage is 57.59%. Comparing base (ca97367) to head (1825334).

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.4    #2410      +/-   ##
===========================================
- Coverage    57.59%   57.59%   -0.01%     
===========================================
  Files          187      187              
  Lines        25851    25853       +2     
===========================================
  Hits         14889    14889              
- Misses        9713     9715       +2     
  Partials      1249     1249              
Files Coverage Δ
pkg/controller/machinepool/openstackactuator.go 18.75% <0.00%> (-0.35%) ⬇️

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD ca97367 and 2 for PR HEAD 1825334 in total

@2uasimojo
Copy link
Member

/override ci/prow/security

azidentity, being addressed elsewhere.

@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, being addressed elsewhere.

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 1825334 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-cherrypick-robot
Copy link
Author

@2uasimojo: new pull request created: #2411

Details

In response to this:

/lgtm

assuming CI is happy.

/cherry-pick mce-2.3

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.

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.

3 participants