Skip to content

OCPBUGS-31733: Remove CPMS manifest for vSphere platform - #6239

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:masterfrom
rwsu:OCPBUGS-31733
May 2, 2024
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift:masterfrom
rwsu:OCPBUGS-31733

Conversation

@rwsu

@rwsu rwsu commented Apr 24, 2024

Copy link
Copy Markdown
Contributor

The control-plane-machine-set (CPMS) cluster operator fails to deploy on 4.16-ec.5 build for ABI deployments on vSphere. That build removed the CPMS feature gate.

Because ABI and assisted deployments do not create or include machines in the manifests, and the control plane machine operator expects machines to be present for each control plane node, the CO fails to deploy.

The CPMS manifest should be removed for ABI and other UPI-like deployments.

For UPI there is documentation indicating the CPMS manifest must be removed: https://docs.openshift.com/container-platform/4.15/installing/installing_vsphere/upi/installing-vsphere.html#installation-user-infra-generate-k8s-manifest-ignition_installing-vsphere

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) - Deployed a cluster on vSphere using ABI with this PR included in a custom assisted-service image and checked the control-plane-machine-set cluster operator does not fail.
  • [] 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?

The control-plane-machine-set (CPMS) cluster operator fails to deploy
on 4.16-ec.5 build for ABI deployments on vSphere.
That build removed the CPMS feature gate.

Because ABI and assisted deployments do not create or include
machines in the manifests, and the control plane machine operator
expects machines to be present for each control plane node, the
CO fails to deploy.

The CPMS manifest should be removed for ABI and other UPI-like
deployments.

For UPI there is documentation indicating the CPMS manifest must
be removed: https://docs.openshift.com/container-platform/4.15/installing/installing_vsphere/upi/installing-vsphere.html#installation-user-infra-generate-k8s-manifest-ignition_installing-vsphere
@openshift-ci-robot openshift-ci-robot added jira/severity-critical Referenced Jira bug's severity is critical for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels Apr 24, 2024
@openshift-ci-robot

Copy link
Copy Markdown

@rwsu: This pull request references Jira Issue OCPBUGS-31733, 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

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

Details

In response to this:

The control-plane-machine-set (CPMS) cluster operator fails to deploy on 4.16-ec.5 build for ABI deployments on vSphere. That build removed the CPMS feature gate.

Because ABI and assisted deployments do not create or include machines in the manifests, and the control plane machine operator expects machines to be present for each control plane node, the CO fails to deploy.

The CPMS manifest should be removed for ABI and other UPI-like deployments.

For UPI there is documentation indicating the CPMS manifest must be removed: https://docs.openshift.com/container-platform/4.15/installing/installing_vsphere/upi/installing-vsphere.html#installation-user-infra-generate-k8s-manifest-ignition_installing-vsphere

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) - Deployed a cluster on vSphere using ABI with this PR included in a custom assisted-service image and checked the control-plane-machine-set cluster operator does not fail.
  • [] 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?

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 a review from mhanss April 24, 2024 21:12
@openshift-ci openshift-ci Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 24, 2024
@openshift-ci
openshift-ci Bot requested review from eranco74 and ori-amizur April 24, 2024 21:13
@codecov

codecov Bot commented Apr 24, 2024 •

Copy link
Copy Markdown

Codecov Report

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

Project coverage is 68.57%. Comparing base (a03cd2c) to head (89540bf).
Report is 6 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6239      +/-   ##
==========================================
+ Coverage   68.28%   68.57%   +0.29%     
==========================================
  Files         240      241       +1     
  Lines       35799    36641     +842     
==========================================
+ Hits        24445    25127     +682     
- Misses       9198     9336     +138     
- Partials     2156     2178      +22     
Files Coverage Δ
internal/provider/vsphere/ignition.go 0.00% <0.00%> (ø)

... and 6 files with indirect coverage changes

@adriengentil

Copy link
Copy Markdown
Contributor

/test ?

@openshift-ci

openshift-ci Bot commented Apr 30, 2024

Copy link
Copy Markdown
Contributor

@adriengentil: The following commands are available to trigger required jobs:

  • /test e2e-agent-compact-ipv4
  • /test edge-assisted-operator-catalog-publish-verify
  • /test edge-ci-index
  • /test edge-e2e-ai-operator-ztp
  • /test edge-e2e-ai-operator-ztp-sno-day2-workers
  • /test edge-e2e-ai-operator-ztp-sno-day2-workers-late-binding
  • /test edge-e2e-metal-assisted
  • /test edge-e2e-metal-assisted-4-11
  • /test edge-e2e-metal-assisted-4-12
  • /test edge-e2e-metal-assisted-cnv
  • /test edge-e2e-metal-assisted-lvm
  • /test edge-e2e-metal-assisted-odf
  • /test edge-images
  • /test edge-lint
  • /test edge-subsystem-aws
  • /test edge-subsystem-kubeapi-aws
  • /test edge-unit-test
  • /test edge-verify-generated-code
  • /test images
  • /test mce-images

The following commands are available to trigger optional jobs:

  • /test e2e-agent-ha-dualstack
  • /test e2e-agent-sno-ipv6
  • /test edge-e2e-ai-operator-disconnected-capi
  • /test edge-e2e-ai-operator-ztp-3masters
  • /test edge-e2e-ai-operator-ztp-capi
  • /test edge-e2e-ai-operator-ztp-compact-day2-masters
  • /test edge-e2e-ai-operator-ztp-compact-day2-workers
  • /test edge-e2e-ai-operator-ztp-disconnected
  • /test edge-e2e-ai-operator-ztp-hypershift-zero-nodes
  • /test edge-e2e-ai-operator-ztp-multiarch-3masters-ocp
  • /test edge-e2e-ai-operator-ztp-multiarch-sno-ocp
  • /test edge-e2e-ai-operator-ztp-node-labels
  • /test edge-e2e-ai-operator-ztp-sno-day2-masters
  • /test edge-e2e-ai-operator-ztp-sno-day2-workers-ignitionoverride
  • /test edge-e2e-metal-assisted-4-13
  • /test edge-e2e-metal-assisted-4-14
  • /test edge-e2e-metal-assisted-4-15
  • /test edge-e2e-metal-assisted-bond
  • /test edge-e2e-metal-assisted-bond-4-14
  • /test edge-e2e-metal-assisted-day2
  • /test edge-e2e-metal-assisted-day2-arm-workers
  • /test edge-e2e-metal-assisted-day2-single-node
  • /test edge-e2e-metal-assisted-external
  • /test edge-e2e-metal-assisted-external-4-14
  • /test edge-e2e-metal-assisted-ipv4v6
  • /test edge-e2e-metal-assisted-ipv6
  • /test edge-e2e-metal-assisted-kube-api-late-binding-single-node
  • /test edge-e2e-metal-assisted-kube-api-late-unbinding-ipv4-single-node
  • /test edge-e2e-metal-assisted-kube-api-net-suite
  • /test edge-e2e-metal-assisted-mce-4-11
  • /test edge-e2e-metal-assisted-mce-4-12
  • /test edge-e2e-metal-assisted-mce-4-13
  • /test edge-e2e-metal-assisted-mce-4-14
  • /test edge-e2e-metal-assisted-mce-4-15
  • /test edge-e2e-metal-assisted-mce-sno
  • /test edge-e2e-metal-assisted-metallb
  • /test edge-e2e-metal-assisted-none
  • /test edge-e2e-metal-assisted-onprem
  • /test edge-e2e-metal-assisted-single-node
  • /test edge-e2e-metal-assisted-static-ip-suite
  • /test edge-e2e-metal-assisted-static-ip-suite-4-14
  • /test edge-e2e-metal-assisted-tang
  • /test edge-e2e-metal-assisted-tpmv2
  • /test edge-e2e-metal-assisted-upgrade-agent
  • /test edge-e2e-nutanix-assisted
  • /test edge-e2e-nutanix-assisted-2workers
  • /test edge-e2e-nutanix-assisted-4-14
  • /test edge-e2e-oci-assisted
  • /test edge-e2e-oci-assisted-4-14
  • /test edge-e2e-oci-assisted-iscsi
  • /test edge-e2e-vsphere-assisted
  • /test edge-e2e-vsphere-assisted-4-12
  • /test edge-e2e-vsphere-assisted-4-13
  • /test edge-e2e-vsphere-assisted-4-14
  • /test edge-e2e-vsphere-assisted-umn
  • /test okd-scos-images
  • /test push-pr-image

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-openshift-assisted-service-master-e2e-agent-compact-ipv4
  • pull-ci-openshift-assisted-service-master-edge-ci-index
  • pull-ci-openshift-assisted-service-master-edge-e2e-ai-operator-ztp
  • pull-ci-openshift-assisted-service-master-edge-e2e-metal-assisted
  • pull-ci-openshift-assisted-service-master-edge-e2e-metal-assisted-external
  • pull-ci-openshift-assisted-service-master-edge-e2e-nutanix-assisted
  • pull-ci-openshift-assisted-service-master-edge-e2e-nutanix-assisted-4-14
  • pull-ci-openshift-assisted-service-master-edge-e2e-oci-assisted
  • pull-ci-openshift-assisted-service-master-edge-e2e-oci-assisted-4-14
  • pull-ci-openshift-assisted-service-master-edge-e2e-vsphere-assisted
  • pull-ci-openshift-assisted-service-master-edge-images
  • pull-ci-openshift-assisted-service-master-edge-lint
  • pull-ci-openshift-assisted-service-master-edge-subsystem-aws
  • pull-ci-openshift-assisted-service-master-edge-subsystem-kubeapi-aws
  • pull-ci-openshift-assisted-service-master-edge-unit-test
  • pull-ci-openshift-assisted-service-master-edge-verify-generated-code
  • pull-ci-openshift-assisted-service-master-images
  • pull-ci-openshift-assisted-service-master-mce-images
Details

In response to this:

/test ?

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.

@adriengentil

Copy link
Copy Markdown
Contributor

/test edge-e2e-vsphere-assisted-4-12
/test edge-e2e-vsphere-assisted-4-13
/test edge-e2e-vsphere-assisted-4-14
/test edge-e2e-vsphere-assisted-umn

@adriengentil

Copy link
Copy Markdown
Contributor

/test edge-e2e-vsphere-assisted-4-14

@adriengentil

Copy link
Copy Markdown
Contributor

let's see if we can test with older ocp versions on vsphere
/hold

@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 30, 2024
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 30, 2024
@openshift-ci

openshift-ci Bot commented Apr 30, 2024

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adriengentil, rwsu

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 30, 2024
@adriengentil

Copy link
Copy Markdown
Contributor

/test edge-e2e-vsphere-assisted-4-14

2 similar comments
@adriengentil

Copy link
Copy Markdown
Contributor

/test edge-e2e-vsphere-assisted-4-14

@adriengentil

Copy link
Copy Markdown
Contributor

/test edge-e2e-vsphere-assisted-4-14

@danmanor

danmanor commented May 1, 2024

Copy link
Copy Markdown
Contributor

/retest

@adriengentil

Copy link
Copy Markdown
Contributor

/unhold

@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 May 2, 2024
@openshift-ci

openshift-ci Bot commented May 2, 2024 •

Copy link
Copy Markdown
Contributor

@rwsu: 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/edge-e2e-vsphere-assisted-umn 89540bf link false /test edge-e2e-vsphere-assisted-umn
ci/prow/edge-e2e-nutanix-assisted 89540bf link false /test edge-e2e-nutanix-assisted
ci/prow/edge-e2e-oci-assisted 89540bf link false /test edge-e2e-oci-assisted
ci/prow/edge-e2e-vsphere-assisted-4-14 89540bf link false /test edge-e2e-vsphere-assisted-4-14
ci/prow/edge-e2e-vsphere-assisted-4-13 89540bf link false /test edge-e2e-vsphere-assisted-4-13
ci/prow/edge-e2e-oci-assisted-4-14 89540bf link false /test edge-e2e-oci-assisted-4-14
ci/prow/edge-e2e-nutanix-assisted-4-14 89540bf link false /test edge-e2e-nutanix-assisted-4-14
ci/prow/edge-e2e-vsphere-assisted-4-12 89540bf link false /test edge-e2e-vsphere-assisted-4-12

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
Copy Markdown

/retest-required

Remaining retests: 0 against base HEAD d2294f7 and 2 for PR HEAD 89540bf in total

@openshift-merge-bot
openshift-merge-bot Bot merged commit 19e0de2 into openshift:master May 2, 2024
@openshift-ci-robot

Copy link
Copy Markdown

@rwsu: Jira Issue OCPBUGS-31733: All pull requests linked via external trackers have merged:

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

Details

In response to this:

The control-plane-machine-set (CPMS) cluster operator fails to deploy on 4.16-ec.5 build for ABI deployments on vSphere. That build removed the CPMS feature gate.

Because ABI and assisted deployments do not create or include machines in the manifests, and the control plane machine operator expects machines to be present for each control plane node, the CO fails to deploy.

The CPMS manifest should be removed for ABI and other UPI-like deployments.

For UPI there is documentation indicating the CPMS manifest must be removed: https://docs.openshift.com/container-platform/4.15/installing/installing_vsphere/upi/installing-vsphere.html#installation-user-infra-generate-k8s-manifest-ignition_installing-vsphere

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) - Deployed a cluster on vSphere using ABI with this PR included in a custom assisted-service image and checked the control-plane-machine-set cluster operator does not fail.
  • [] 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?

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-bot

Copy link
Copy Markdown
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-agent-installer-api-server-container-v4.17.0-202405022319.p0.g19e0de2.assembly.stream.el9 for distgit ose-agent-installer-api-server.
All builds following this will include this PR.

@openshift-merge-robot

Copy link
Copy Markdown

Fix included in accepted release 4.16.0-0.nightly-2024-05-03-091818

adriengentil added a commit to adriengentil/release that referenced this pull request May 3, 2024
adriengentil added a commit to adriengentil/release that referenced this pull request May 14, 2024
openshift-merge-bot Bot pushed a commit to openshift/release that referenced this pull request May 15, 2024
jbpratt pushed a commit to jbpratt/release that referenced this pull request May 30, 2024
@gamli75

gamli75 commented Jun 5, 2024

Copy link
Copy Markdown
Contributor

/cherry-pick cloud_hotfix_releases

@openshift-cherrypick-robot

Copy link
Copy Markdown

@gamli75: new pull request created: #6404

Details

In response to this:

/cherry-pick cloud_hotfix_releases

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. jira/severity-critical Referenced Jira bug's severity is critical 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. 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.

8 participants