Skip to content

CORS-3419,OCPBUGS-30941: Include baremetal IPI in openshift-installer#8161

Merged
openshift-merge-bot[bot] merged 4 commits intoopenshift:masterfrom
zaneb:baremetal-in-all-builds
Apr 16, 2024
Merged

CORS-3419,OCPBUGS-30941: Include baremetal IPI in openshift-installer#8161
openshift-merge-bot[bot] merged 4 commits intoopenshift:masterfrom
zaneb:baremetal-in-all-builds

Conversation

@zaneb
Copy link
Member

@zaneb zaneb commented Mar 14, 2024

Now that we do not dynamically link to libvirt, there is no need to restrict baremetal IPI to the openshift-baremetal-installer binary and it can be included in all builds of the installer.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 14, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 14, 2024

@zaneb: This pull request references CORS-3419 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.16.0" version, but no target version was set.

Details

In response to this:

Now that we do not dynamically link to libvirt, there is no need to restrict baremetal IPI to the openshift-baremetal-installer binary and it can be included in all builds of the installer.

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 openshift-eng/jira-lifecycle-plugin repository.

@zaneb
Copy link
Member Author

zaneb commented Mar 14, 2024

/jira refresh

@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 14, 2024

@zaneb: This pull request references CORS-3419 which is a valid jira issue.

Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from barbacbd and elfosardo March 14, 2024 03:47
@zaneb zaneb force-pushed the baremetal-in-all-builds branch 2 times, most recently from c68910d to ccc571d Compare March 15, 2024 02:31
@zaneb
Copy link
Member Author

zaneb commented Mar 15, 2024

/retitle CORS-3419,OCPBUGS-30941: Include baremetal IPI in openshift-installer

@openshift-ci openshift-ci bot changed the title CORS-3419: Include baremetal IPI in openshift-installer CORS-3419,OCPBUGS-30941: Include baremetal IPI in openshift-installer Mar 15, 2024
@openshift-ci-robot openshift-ci-robot added the jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. label Mar 15, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 15, 2024

@zaneb: This pull request references CORS-3419 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-30941, which is invalid:

  • expected the bug to target the "4.16.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Now that we do not dynamically link to libvirt, there is no need to restrict baremetal IPI to the openshift-baremetal-installer binary and it can be included in all builds of the installer.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Mar 15, 2024
@zaneb
Copy link
Member Author

zaneb commented Mar 15, 2024

/jira refresh

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Mar 15, 2024
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Mar 15, 2024

@zaneb: This pull request references CORS-3419 which is a valid jira issue.

This pull request references Jira Issue OCPBUGS-30941, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.16.0) matches configured target version for branch (4.16.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @mhanss

Details

In response to this:

/jira refresh

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Mar 15, 2024
@openshift-ci openshift-ci bot requested a review from mhanss March 15, 2024 02:33
zaneb added 4 commits March 15, 2024 16:58
For builds with baremetal support (until now only the
openshift-baremetal-installer), the agent installer was attempting to
validate the bootstrap provisioning network using libvirt. This is not
required because the agent installer does not make use of a bootstrap
VM.
Change the plugin point for the unit tests from the validation function
itself to the function that looks up the interfaces in libvirt. This
allows us to unit test the validation function.
Now that we do not dynamically link to libvirt, there is no need to
restrict baremetal IPI to the openshift-baremetal-installer binary and
it can be included in all builds of the installer.
@zaneb zaneb force-pushed the baremetal-in-all-builds branch from ccc571d to 78a8275 Compare March 15, 2024 03:59
@zaneb
Copy link
Member Author

zaneb commented Mar 27, 2024

/retest

@zaneb
Copy link
Member Author

zaneb commented Apr 4, 2024

/cc @patrickdillon @sadasu

@sadasu
Copy link
Contributor

sadasu commented Apr 8, 2024

/approve

@sadasu
Copy link
Contributor

sadasu commented Apr 8, 2024

@zaneb should https://github.com/openshift/installer/blob/master/images/baremetal/Dockerfile.ci be modified as part of these changes?

See #8240

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 8, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sadasu

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 Apr 8, 2024
@zaneb
Copy link
Member Author

zaneb commented Apr 9, 2024

@zaneb should https://github.com/openshift/installer/blob/master/images/baremetal/Dockerfile.ci be modified as part of these changes?

This change shouldn't affect openshift-baremetal-install at all, but there will be changes to that upcoming.

@r4f4
Copy link
Contributor

r4f4 commented Apr 9, 2024

It would be good if we could update one of the metal jobs to use the openshift-install binary instead of the baremetal-install one to validate the PR changes.

@r4f4
Copy link
Contributor

r4f4 commented Apr 12, 2024

It would be good if we could update one of the metal jobs to use the openshift-install binary instead of the baremetal-install one to validate the PR changes.

It seems openshift-install selection happens in the dev-scripts code [1] so we can't easily changed that in CI for a particular job.

/lgtm

[1] https://github.com/openshift-metal3/dev-scripts/blob/a19f80f69c7bce68fc5a68c743c1745ba18651ac/common.sh#L209

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

/retest-required

Remaining retests: 0 against base HEAD d8c7872 and 2 for PR HEAD 78a8275 in total

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 514c886 and 1 for PR HEAD 78a8275 in total

@zaneb
Copy link
Member Author

zaneb commented Apr 14, 2024

/retest-required

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD dd28309 and 0 for PR HEAD 78a8275 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Apr 15, 2024

@zaneb: The following tests 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/okd-e2e-aws-ovn-upgrade 78a8275 link false /test okd-e2e-aws-ovn-upgrade
ci/prow/e2e-metal-ipi-ovn-swapped-hosts 78a8275 link false /test e2e-metal-ipi-ovn-swapped-hosts
ci/prow/e2e-metal-ipi-ovn-dualstack 78a8275 link false /test e2e-metal-ipi-ovn-dualstack

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

@openshift-ci-robot
Copy link
Contributor

/hold

Revision 78a8275 was retested 3 times: holding

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 15, 2024
@zaneb
Copy link
Member Author

zaneb commented Apr 15, 2024

/retest-required
/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 15, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 60c1650 into openshift:master Apr 16, 2024
@openshift-ci-robot
Copy link
Contributor

@zaneb: Jira Issue OCPBUGS-30941: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-30941 has been moved to the MODIFIED state.

Details

In response to this:

Now that we do not dynamically link to libvirt, there is no need to restrict baremetal IPI to the openshift-baremetal-installer binary and it can be included in all builds of the installer.

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 openshift-eng/jira-lifecycle-plugin repository.

r4f4 added a commit to r4f4/dev-scripts that referenced this pull request Apr 16, 2024
With openshift/installer#8161, the baremetal
installer is now part of the regular installer which is now statically
linked.

Using the static binary has the advantage of working on both CS8 and CS9
VMs and is a necessary step for moving the Installer images to a RHEL9
base.
r4f4 added a commit to r4f4/dev-scripts that referenced this pull request Apr 16, 2024
With openshift/installer#8161, the baremetal
installer is now part of the regular installer which is now statically
linked.

Using the static binary has the advantage of working on both CS8 and CS9
VMs and is a necessary step for moving the Installer images to a RHEL9
base.
r4f4 added a commit to r4f4/dev-scripts that referenced this pull request Apr 16, 2024
With openshift/installer#8161, the baremetal
installer is now part of the regular installer which is now statically
linked.

Using the static binary has the advantage of working on both CS8 and CS9
VMs and is a necessary step for moving the Installer images to a RHEL9
base.
r4f4 added a commit to r4f4/dev-scripts that referenced this pull request Apr 16, 2024
With openshift/installer#8161, the baremetal
installer is now part of the regular installer which is now statically
linked.

Using the static binary has the advantage of working on both CS8 and CS9
VMs and is a necessary step for moving the Installer images to a RHEL9
base.
r4f4 added a commit to r4f4/dev-scripts that referenced this pull request Apr 16, 2024
With openshift/installer#8161, the baremetal
installer is now part of the regular installer which is now statically
linked.

Using the static binary has the advantage of working on both CS8 and CS9
VMs and is a necessary step for moving the Installer images to a RHEL9
base.
r4f4 added a commit to r4f4/dev-scripts that referenced this pull request Apr 16, 2024
With openshift/installer#8161, the baremetal
installer is now part of the regular installer which is now statically
linked.

Using the static binary has the advantage of working on both CS8 and CS9
VMs and is a necessary step for moving the Installer images to a RHEL9
base.
r4f4 added a commit to r4f4/dev-scripts that referenced this pull request Apr 16, 2024
With openshift/installer#8161, the baremetal
installer is now part of the regular installer which is now statically
linked.

Using the static binary has the advantage of working on both CS8 and CS9
VMs and is a necessary step for moving the Installer images to a RHEL9
base.
r4f4 added a commit to r4f4/dev-scripts that referenced this pull request Apr 16, 2024
With openshift/installer#8161, the baremetal
installer is now part of the regular installer which is now statically
linked.

Using the static binary has the advantage of working on both CS8 and CS9
VMs and is a necessary step for moving the Installer images to a RHEL9
base.
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. jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants