Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Oct 11, 2023

This was added here (among other places) in 365b996 (#39892), because 4.14 and later None-set clusters need the MachineAPI capability enabled to allow installer/bootstrap-provisioned compute machines. But I need to be able to install a 4.13 None-capability cluster to test openshift/cluster-version-operator#981, and currently:

launch 4.13,openshift/cluster-version-operator#981 aws,no-capabilities

fails with:

level=error msg=failed to fetch Master Machines: failed to load asset "Install Config": failed to create install config: invalid "install-config.yaml" file: capabilities.additionalEnabledCapabilities[0]: Unsupported value: "MachineAPI": supported values: "CSISnapshot", "Console", "Insights", "NodeTuning", "Storage", "baremetal", "marketplace", "openshift-samples"

In this commit, I'm dropping the MachineAPI injection from the AWS job. This should get my aws,no-capabilities invocation working on 4.13 while I test my pull, after which we can revert this change. In the meantime, folks who need to use no-capabilities Cluster Bot clusters to test 4.14 and later installs can use Azure or GCP or other non-AWS platforms.

… Temporarily drop MachineAPI from AWS Cluster Bot job

This was added here (among other places) in 365b996 (add MachineAPI
cap to no-caps job, 2023-07-18, openshift#39892), because 4.14 and later
None-set clusters need the MachineAPI capability enabled to allow
installer/bootstrap-provisioned compute machines.  But I need to be
able to install a 4.13 None-capability cluster to test [1], and currently:

  launch 4.13,openshift/cluster-version-operator#981 aws,no-capabilities

fails with [2]:

  level=error msg=failed to fetch Master Machines: failed to load asset "Install Config": failed to create install config: invalid "install-config.yaml" file: capabilities.additionalEnabledCapabilities[0]: Unsupported value: "MachineAPI": supported values: "CSISnapshot", "Console", "Insights", "NodeTuning", "Storage", "baremetal", "marketplace", "openshift-samples"

In this commit, I'm dropping the MachineAPI injection from the AWS
job.  This should get my aws,no-capabilities invocation working on
4.13 while I test my pull, after which we can revert this change.  In
the meantime, folks who need to use no-capabilities Cluster Bot
clusters to test 4.14 and later installs can use Azure or GCP or other
non-AWS platforms.

[1]: openshift/cluster-version-operator#981
[2]: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-origin-installer-launch-aws-modern/1712189151484317696#1:build-log.txt%3A108
@bparees
Copy link
Contributor

bparees commented Oct 11, 2023

/lgtm
/approve

@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Oct 11, 2023
@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@wking: no rehearsable tests are affected by this change

@openshift-ci openshift-ci bot requested review from jupierce and stbenjam October 11, 2023 20:15
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees, wking

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

openshift-ci bot commented Oct 11, 2023

@wking: all tests passed!

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 openshift-ci bot merged commit 69233e0 into openshift:master Oct 11, 2023
@wking wking deleted the cluster-bot-temporarily-drop-MachineAPI-enabled-capability branch October 11, 2023 20:52
@wking
Copy link
Member Author

wking commented Oct 12, 2023

openshift/cluster-version-operator#981 merged, so we can revert this now.

wking added a commit to wking/openshift-release that referenced this pull request Oct 12, 2023
…riodics: Temporarily drop MachineAPI from AWS Cluster Bot job (openshift#44248)"

This reverts commit 69233e0.
openshift-ci bot pushed a commit that referenced this pull request Oct 12, 2023
…riodics: Temporarily drop MachineAPI from AWS Cluster Bot job (#44248)" (#44296)

This reverts commit 69233e0.
wking added a commit to wking/openshift-release that referenced this pull request Oct 23, 2023
… Temporarily drop MachineAPI from Azure Cluster Bot job

Like 69233e0
(ci-operator/jobs/openshift/release/openshift-release-infra-periodics:
Temporarily drop MachineAPI from AWS Cluster Bot job, 2023-10-11, openshift#44248),
except for Azure, to try and reproduce [1].  The AWS change was
subsequently reverted after testing in 4487924 (Revert
"ci-operator/jobs/openshift/release/openshift-release-infra-periodics:
Temporarily drop MachineAPI from AWS Cluster Bot job", 2023-10-12, openshift#44296),
and we expect this one to be reverted soon too.

[1]: https://issues.redhat.com/browse/OCPBUGS-22266
openshift-ci bot pushed a commit that referenced this pull request Oct 23, 2023
… Temporarily drop MachineAPI from Azure Cluster Bot job (#44751)

Like 69233e0
(ci-operator/jobs/openshift/release/openshift-release-infra-periodics:
Temporarily drop MachineAPI from AWS Cluster Bot job, 2023-10-11, #44248),
except for Azure, to try and reproduce [1].  The AWS change was
subsequently reverted after testing in 4487924 (Revert
"ci-operator/jobs/openshift/release/openshift-release-infra-periodics:
Temporarily drop MachineAPI from AWS Cluster Bot job", 2023-10-12, #44296),
and we expect this one to be reverted soon too.

[1]: https://issues.redhat.com/browse/OCPBUGS-22266
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. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants