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

Step addition: Pre-create CCM feature gate during cluster install #19366

Merged

Conversation

Danil-Grigorev
Copy link
Contributor

This step will allow to test functionality of CCM bootstrap, and install a cluster with pre-created feature gate. Such feature gate present in the cluster since the beginning of the cluster lifetime would allow TP cloud platforms to be installed, and prevent existing cloud providers (such as AWS, Azure, etc.) to ever use in-tree cloud-provider code.

Could be used after openshift/installer#4947 is merged.

@openshift-ci openshift-ci bot requested review from JoelSpeed and mandre June 17, 2021 10:19
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 17, 2021
@JoelSpeed
Copy link
Contributor

Could you quickly explain how this is used? How is this different to the bootstrap step we already added?

@Danil-Grigorev
Copy link
Contributor Author

@JoelSpeed The one we have now is not a bootstrap step, it is a migration of a fully ready cluster to CCM.

We will have a job which will reference this step before running openshift-install. (- chain: ipi-install)

Here is an example of similar step usage and a step definition

@Fedosin
Copy link
Contributor

Fedosin commented Jun 17, 2021

I think that if we deploy a new cluster, then we don't have to enable CSI migration, because there are no previously created volumes.

@Danil-Grigorev
Copy link
Contributor Author

@Fedosin We do need it, as we want to run e2e tests on this cluster, and they include a lot of storage ones. CSI is a hard requirement for a cluster with CCM.

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

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

this generally makes sense to me, i am curious how it fits into a ci run though. @Danil-Grigorev do you have another pr to followup and include this in a bootstrap job?

@Danil-Grigorev
Copy link
Contributor Author

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

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

thanks for the example @Danil-Grigorev , it helps me understand =)
/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 22, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Danil-Grigorev, elmiko

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-merge-robot openshift-merge-robot merged commit f054616 into openshift:master Jun 22, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 22, 2021

@Danil-Grigorev: Updated the step-registry configmap in namespace ci at cluster app.ci using the following files:

  • key OWNERS using file ci-operator/step-registry/ccm/conf/pre-create-feature-gate/OWNERS
  • key ccm-conf-pre-create-feature-gate-commands.sh using file ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-commands.sh
  • key ccm-conf-pre-create-feature-gate-ref.metadata.json using file ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.metadata.json
  • key ccm-conf-pre-create-feature-gate-ref.yaml using file ci-operator/step-registry/ccm/conf/pre-create-feature-gate/ccm-conf-pre-create-feature-gate-ref.yaml

In response to this:

This step will allow to test functionality of CCM bootstrap, and install a cluster with pre-created feature gate. Such feature gate present in the cluster since the beginning of the cluster lifetime would allow TP cloud platforms to be installed, and prevent existing cloud providers (such as AWS, Azure, etc.) to ever use in-tree cloud-provider code.

Could be used after openshift/installer#4947 is merged.

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.

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
5 participants