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

MGMT-12398: Regression fix: Move host stage to "Done" only when not in KubeAPI mode. #4587

Merged
merged 1 commit into from Nov 8, 2022

Conversation

paul-maidment
Copy link
Contributor

A recent regression caused the host stage to be prematurely moved to "Done" when the installation is in KubeAPI mode. This change aims to fix that by setting the correct status.

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • [] None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
    I used aicli to create a hub/spoke setup and proceeded to use KubeAPI to add a Day2 node to a spoke.
    Prior to this fix, the CSR's of the node would not be signed.
    After this fix, the CSRs are signed correctly and the node joined the cluster successfully.
  • [] No tests needed

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

…n KubeAPI mode.

A recent regression caused the host stage to be prematurely moved to "Done" when the installation is in KubeAPI mode.
This change aims to fix that by setting the correct status.
@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 7, 2022
@openshift-ci
Copy link

openshift-ci bot commented Nov 7, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: paul-maidment

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

cc: @tsorya
cc: @eranco74

Copy link
Contributor

@eranco74 eranco74 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 7, 2022
@codecov
Copy link

codecov bot commented Nov 7, 2022

Codecov Report

Merging #4587 (59b21e5) into master (2f4ff0c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4587   +/-   ##
=======================================
  Coverage   67.07%   67.08%           
=======================================
  Files         198      198           
  Lines       27997    27997           
=======================================
+ Hits        18780    18782    +2     
+ Misses       7539     7538    -1     
+ Partials     1678     1677    -1     
Impacted Files Coverage Δ
internal/host/host.go 74.19% <100.00%> (ø)
internal/oc/release.go 78.36% <0.00%> (+1.16%) ⬆️

@paul-maidment
Copy link
Contributor Author

/retest

1 similar comment
@paul-maidment
Copy link
Contributor Author

/retest

@openshift-ci
Copy link

openshift-ci bot commented Nov 8, 2022

@paul-maidment: all tests passed!

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-merge-robot openshift-merge-robot merged commit b44ef8a into openshift:master Nov 8, 2022
danielerez pushed a commit to danielerez/assisted-service that referenced this pull request Oct 15, 2023
…n KubeAPI mode. (openshift#4587)

A recent regression caused the host stage to be prematurely moved to "Done" when the installation is in KubeAPI mode.
This change aims to fix that by setting the correct status.
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.

None yet

3 participants